- #1
TFM
- 1,026
- 0
Homework Statement
I have got a table of data, and want to use Matlab to sort this data and filter out some variables. The data was orginally in a FITS format.
Homework Equations
N/A
The Attempt at a Solution
Sorry if this is the wrong thread.
I have tried two different versions of code:
hd = (data{12} < rsd);
data_filtered = filter(hd,data,:);
and
idx = (rs < rsd);
data_filtered = data(:,idx);
I need it to filter out all data with a Redshift less then a specified number
Any ideas or thoughts would be really appreciated
Thanks,
TFM