Sven
Abu Dhabi Investment Authority
Followers: 0 Following: 0
Feeds
已解决
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 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
9 years 前
已解决
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 前
已解决
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 前
已解决
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 前
提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 2 个回答 | 0
2
个回答提问
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: ...
11 years 前 | 2 个回答 | 0
2
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答已回答
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...
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 前 | 0
提问
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 前 | 5 个回答 | 0