Feeds
已回答
Index 3D Array with 2D logical array
By bringing the first two dimensions with sizes to the end and the last dimension with size to the front, you can use the logi...
Index 3D Array with 2D logical array
By bringing the first two dimensions with sizes to the end and the last dimension with size to the front, you can use the logi...
4 months 前 | 0
已回答
Repeat matrix columns in pairs.
Here is a more generalized solution which duplicates pairs of columns and doesn't depend on the number of columns, however the n...
Repeat matrix columns in pairs.
Here is a more generalized solution which duplicates pairs of columns and doesn't depend on the number of columns, however the n...
2 years 前 | 0
已解决
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 ...
4 years 前
已解决
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...
4 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:...
4 years 前