Create a loop to read a matrix
3 views (last 30 days)
Hey guys, this is probably very easy, but im finding it difficult to do
I have a matrix surv_matrix, that assumes values of 0 and of a signal in frequency. this matrix only has values of a signal in frequency, along the column in specific columns. So imagine this matrix is 23979 by 400, and has values different from zero in column 200, 201 and 202. Along that 3 columns, this matrix assumes values to all the 23979 rows.
I want to identifie the columns that have values diferent from zero, and when it finds all the 3 columns do this code, for each column
xlim ([20e6 60e6]);
thanks a lot
dpb on 24 May 2022
will return your three column indices to use to index into the array.
You haven't defined where the variables referred to in the plot command come frome...some operation over those three columns of the array, one presumes.