代码搜索结果
找到约 12,326 项符合
M 的代码
liti16.m
x=linspace(-2.5,2.5,20);
y=exp(-x.*x);
bar (x,y)
title('bar plot of a bell crure');
liti28.m
fplot('tanh',[-2,2])
liti10.m
x=-3:0.1:3; y=1:0.1:5;
[X,Y]=meshgrid(x,y);
Z=(X+Y).^2;
subplot(2,2,1); mesh(X,Y,Z)
subplot(2,2,2);mesh(X,Y,Z);view(50,-34)
subplot(2,2,3);mesh(X,Y,Z);view(-60,70)
liti12.m
[x,y,z]=peaks(30);
surf(x,y,z)
%shading flat
liti40.m
ezplot('exp(x)+sin(x*y)',[-2,0.5,0,2])
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');