Advertisement
KYRALEKOS

ARITHMETIC ANALYSIS lab1

Nov 5th, 2019
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.29 KB | None | 0 0
  1. arithmetic analisys laboratory 8/10/19
  2.  
  3. FUNCTIONS
  4.  
  5. function [m,r]=an(m,n)
  6. A=rand(m,n);
  7. B=rand(m,n);
  8. temp1=min(min(A));
  9. temp2=min(min(B));
  10. if(temp1>temp2)
  11.     m=temp2
  12.     r=1
  13.  
  14. elseif(temp1<temp2)
  15.     m=temp1
  16.     r=0
  17.  end  
  18.  
  19. TO SWZW STO DOCUMENTS->MATLAB ME .M KAI TO TREXW WS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement