Advertisement
STANAANDREY

Untitled

May 28th, 2023
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. close all
  2. clc
  3. clearvars
  4.  
  5. ec = [0 0.2 0.4 0.6 0.8 1 2 3 4 5 6 7 8 9 10];
  6. uce = [0 0.05 0.06 0.08 0.09 0.1 0.15 0.46 1.6 2.5 3.46 4.57 5.41 6.48 7.4];
  7. ic = [0 0.15 0.34 0.52 0.71 0.99 1.85 2.54 2.4 2.5 2.55 2.44 2.59 2.52 2.6] / 1000;
  8.  
  9. %ic = ic';
  10. [X, Y] = meshgrid(0:0.01:10);
  11. Z = griddata(ec, uce, ic, X, Y, 'cubic');
  12. figure;
  13. mesh(X, Y, Z);
  14. hold on;
  15. plot3(ec, uce, ic, 'r*');
  16. grid on;
  17. xlabel('Ec');
  18. ylabel('Uce');
  19. zlabel('Ic');
  20. %title('Lab8');
  21.  
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement