Top 10% contributor
3 years ago
Just got the simple answer to this "problem" : limitLoop=(neighbour-1)/2; values=map(row-limitLoop:row+limitLoop,column-limitLo...
4 years ago
Hi , My actual code is really brutal with three loops : Code : function values=collectNeighbourValue3D(map,row,column,tube,ne...
4 years ago
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Hi, I am facing a problem when using facealpha properties when plotting histograms. When not using facealpha, the histograms an...
2 years ago
Join the conversation