代码搜索结果

找到约 12,326 项符合 M 的代码

liti9.m

x=-3:0.1:3;y=1:0.1:5; [X,Y]=meshgrid(x,y); Z=(X+Y).^2; plot3(X,Y,Z)

myfun1.m

function y=myfun1(x) y=exp(2*x)+sin(3*x^2)

liti42.m

fplot('[tanh(x),sin(x),cos(x)]',2*pi*[-1 1 -1 1])

liti21.m

[x,y,z]=peaks(30); cs=contour(x,y,z,8); clabel(cs) xlabel('x-axis'), ylabel('y-axis') title('contour of peaks with labels')

liti17.m

x=linspace(-2.5,2.5,20); y=exp(-x.*x); stairs (x,y) title('Stairs plot of a bell crure');

liti15.m

theta=linspace(0,2*pi), rho=sin(2*theta).*cos(2*theta); polar(theta,rho,'g') title('Polar plot of sin(2*theta).*cos(2*theta)');

liti3.m

x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,x,z) gtext('sin(x)'); gtext('cos(x)');

liti34.m

[X,Y]=meshgrid(-2:.2:2,-2:.2:3); Z=X.*exp(-X.^2-Y.^2); [C,h]=contour(X,Y,Z); clabel(C,h) colormap cool

liti24.m

x=-3:0.1:3; y=1:0.1:5; [X,Y]=meshgrid(x,y); Z=(X+Y).^2; mesh(X,Y,Z)

liti13.m

x=linspace(0,2*pi,30); y=sin(x); plot(x,y) zoom on