search for: matab

Displaying 1 result from an estimated 1 matches for "matab".

Did you mean: matlab
2004 Oct 07
8
Equivalents of Matlab's 'find' and 'end'
...lack the elegance and simplicity of the Matlab commands. Also, if you know that no such commands exist, that bit of knowledge would be helpful to know so that I don't continue fruitless searches. The first is Matlab's 'find' command. This is one of the most useful commands in Matab. Basically, if X is the vector X=[3, 2, 1, 1, 2, 3] the command 'find(X==1)' would return the vector [3, 4] which would indicate that the vector X had the value of 1 at the 3 and 4 positions. This was an extremely useful command for subsetting in Matlab. The closest thing I've f...