Community Profile

photo

Sven


Abu Dhabi Investment Authority

Last seen: 3 years ago Active since 2013

Statistics

All
  • Solver

View badges

Content Feed

View by

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

9 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

9 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago

Question


How can I combine multiple cell arrays and double arrays into a specific format that I need?
Hi, this might be a very simple problem but I am stuck. I have two 5x1 cell arrays and one 5x1 double array. I need to combi...

9 years ago | 1 answer | 0

1

answer

Question


How to execute a function after the value of a property changed? Problems with callback function
Hi, I would like to execute a function every time a particular property of an object has changed. More specifically, I have tw...

10 years ago | 2 answers | 0

2

answers

Question


How to dynamically name variables based on a list and assign arrays from a cell array
Hi, I have two elements I would like to combine: A 1x5 Cell Array called Input with the variables names I want to use: ...

10 years ago | 2 answers | 0

2

answers

Question


How to convert the contents of a cell array into an array?
Hi, I have a cell array that looks a bit like this: N='AA' 'AA_BB' 'AA_BB_CC' 'AA_BB_DD' 'AA_BB_EE' it is easy enough to...

10 years ago | 1 answer | 0

1

answer

Question


How to resort a vector such that it shows a specified 1-st order autocorrelation
Hi, I have a nX1 vector which I need to resort such that it has a predefined 1st order autocorrelation. All the values in the v...

11 years ago | 1 answer | 0

1

answer

Answered
Perfect random numbers - How can I refine an initial dataset from randn to be perfrectly normal?
To all that commented: thanks for your comments. I guess I should have been a bit more precise in my question regarding being pe...

11 years ago | 0

Question


Perfect random numbers - How can I refine an initial dataset from randn to be perfrectly normal?
Hi, I would like to create "perfect" random numbers. By perfect I mean a set of random values that has a mean of 0.0000,...

11 years ago | 5 answers | 0

5

answers