Advertisement
irapilguy

Untitled

Nov 9th, 2020
1,026
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.61 KB | None | 0 0
  1. >> for i=1:1:4
  2. for j=1:1:4
  3. Maxmin(i,j)=max(min(R(i,:),R1(:,j)'));
  4. end
  5. end
  6. 0   0,2 0,6 1
  7. 0   0,2 0,5 0,6
  8. 0   0,2 0,2 0,6
  9. 0   0,1 0,2 0,3
  10. >> [x y] = meshgrid(30:-10:0)
  11. >> surf(x,y,Maxmin)
  12. >> shading interp
  13.  
  14. >> for i=1:1:4
  15. for j=1:1:4
  16. Minmax(i,j)=min(max(R(i,:),R1(:,j)'));
  17. end;
  18. end;
  19. 0,1 0,1 0,1 0,1
  20. 0,3 0,3 0,3 0,3
  21. 0,2 0,2 0,6 0,6
  22. 0,1 0,2 0,3 0,6
  23. >> surf(x,y,Minmax);
  24. >> shading interp;
  25.  
  26. >> for i=1:1:4
  27. for j=1:1:4
  28. Multmax(i,j)=prod(max(R(i,:),R1(:,j)'));
  29. end;
  30. end;
  31. 0,01    0,01    0,01    0,012
  32. 0,09    0,09    0,108   0,18
  33. 0,096   0,096   0,288   0,48
  34. 0,024   0,048   0,144   0,48
  35.  
  36. >> surf(x,y,Multmax);
  37. >> shading interp;
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement