matlab code running problem
1 view (last 30 days)
I am trying to run following code on matlab 7.7.0 but it consumes too much time and No output !
it also can not be run on matlab 6 though the developer said that it works on matlab 6.
Javier on 24 Sep 2012
What is the purpose of this code ??? Does the variable j change size in each iteration ? If not, do not define it. I believe that you define "j" to establish the size of f. Something that could work better:
j=size(data,1) % for column vector
If want to find the elements in y1 that are greater than 1.2
[r,c,i]=find(y1>1.2); Now you have the row, column and index value that match the search
Now you have the data, What you want to do with them ???
Hope it helps