Guest User

Untitled

a guest
Jan 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. thetay1=alpha.*rand(a,b);
  2. thetay2=alpha.*rand(a,b);
  3. h_low=min(abs(thetay1),abs(thetay2));
  4. h_high=max(h_low);
  5. for ii=1:b
  6. for jj=1:a
  7. if h_high(jj)==h_low(ii,jj)
  8. y1(jj)=thetay1(ii,jj);
  9. y2(jj)=thetay2(ii,jj);
  10. end
  11. end
  12. end
Add Comment
Please, Sign In to add comment