find is not matching a value of 1 in an array
You are running into an issue of floating point arithmetic. You might use ismembertol : mathworks.com/help/matlab/ref/ismembert...
2 years ago | 0
Turn data points into NaNs
Look at sub2ind to help you organize the subscripts into linear indices. Then use the linear index to select the values to chan...
4 years ago | 0
Matlab jokes or puns
eye(newt) and ceil(approval)
5 years ago | 3
Problem when assigning vectors
First, Mike, there is no reason to preallocate the vector b with zeros since you overwrite the variable in the next statement. ...
9 years ago | 1