[numData,~,rawData] = xlsread('C3.csv'); lowscale = zeros(size(numData)); lowscale = numData(any(numData < 1.5),:);
This code is giving me all values which are also > 1.5
extract each element that meet a condition and store in a new matrix
[numData,~,rawData] = xlsread('C3.csv'); lowscale = zeros(size(numData)); lowscale = numData(any(numData < 1.5),:);
Best Answer