Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- close all
- clc
- clearvars
- ec = [0 0.2 0.4 0.6 0.8 1 2 3 4 5 6 7 8 9 10];
- 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];
- 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;
- %ic = ic';
- [X, Y] = meshgrid(0:0.01:10);
- Z = griddata(ec, uce, ic, X, Y, 'cubic');
- figure;
- mesh(X, Y, Z);
- hold on;
- plot3(ec, uce, ic, 'r*');
- grid on;
- xlabel('Ec');
- ylabel('Uce');
- zlabel('Ic');
- %title('Lab8');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement