If x varies as 0:0.1:1.57
and if you have y = sin (x) and z = cos(x)
and if you want to store values of sin(x) lesser than 0.6 into a (m,1) matrix 'A', followed by a values of cos(x) greater than 0.8 in the same matrix 'A' finally giving you a (n,1) matrix like below,
A = 00.09980.19870.29550.38940.47940.56461.00000.99500.98010.95530.9211
I know this is possible, just can't figure out how? can you please help.
Thank you
Best Answer