hi, i have a dataset in the form [2000×730], where my variable of interest is 730. i want to use the loop and find the following equation.
aa=(data)-min(data)/max(data)+min(data);
which i already did with following code:
[m,n]=size(data);% aa=zeros(m,n);
for i=1:m; aa(i,:)=(data(i,:)-min(data(i,:)))/(max(data(i,:))-min(data(i,:)));end
in second part since i have output file aa[2000×730]. i want to find the number where my data meets the required threshold i-e 0.76,
any idea how to loop for it,
regards and thnx in advance
Best Answer