代码搜索结果
找到约 10,000 项符合
E 的代码
e0651.m
x=-3*pi:pi/10:3*pi; y = 1-sin(x).*cos(x);
Hndl=plot(x,y);grid on
set(gcf,'Color',[0 1 0.5]); %设置窗口背景为绿色
set(Hndl,'Color',[1 0 0]); %设置曲线颜色为红色
set(Hndl,'L
e0664.m
[filename, pathname, filterindex] = uiputfile( ...
{'*.m;*.fig;*.mat;*.mdl', 'All MATLAB Files (*.m, *.fig, *.mat, *.mdl)';
'*.m', 'M-files (*.m)'; ...
'*.fig','Figures (*.f
e0640.m
Y=[3,5,2,4,1;3,4,5,2,1;5,4,3,2,5];
subplot(1,2,1),bar3(Y,1) ,xlabel('x'),ylabel('x'),zlabel('y')
subplot(1,2,2),bar3h(Y','grouped'), xlabel('x'),ylabel('y'),zlabel('x')
e0658.asv
prompt={'<mark>E</mark>nt<mark>e</mark>r th<mark>e</mark> row of matrix','<mark>E</mark>nt<mark>e</mark>r th<mark>e</mark> column of matrix'};
nam<mark>e</mark>='<mark>E</mark>nt<mark>e</mark>r matrix';
numlin<mark>e</mark>s=1;
d<mark>e</mark>faultansw<mark>e</mark>r={{'2'},{'2'};
options.R<mark>e</mark>siz<mark>e</mark>='on';
options.WindowStyl<mark>e</mark>='normal';
options.Int<mark>e</mark>rpr ...
e0615.m
subplot(2,2,1);ezplot('x^2-y+1');title('1')
subplot(2,2,2);ezplot('x^2-cos(y)+sin(x)') ;title('2')
subplot(2,2,3);ezplot('exp(t)*sin(t)','exp(t)*cos(t)');title('3')
subplot(2,2,4);ezplot('sin(t)','
e0616.m
subplot(2,2,1);fplot('sind(x)',[-360 360]);title('sin(x)')
subplot(2,2,2);fplot('cosd(x)', [-360 360]);title(' cos(x)')
subplot(2,2,3);fplot('sinh(x)',[-2*pi 2*pi]);title(' sinh(x)')
subplot(2,2,4)
e0644.m
x=linspace(0,2*pi,100);y=sin(x);
hf=figure('Name','This is the first figure.','Color','r','Position',[100,100,300,300],'Units','pixel',...
'WindowButtonDownFcn','plot(x,y); ');
e0641.m
a=[1,1.6,1.2,0.8,2.1];
subplot(1,2,1),pie(a,[1 0 1 0 0]),legend({'1','2','3','4','5'})
subplot(1,2,2),pie3(a, [1 0 1 0 0])
e0647.m
x=-2*pi:.1:2*pi;y=sin(x);
axes('GridLineStyle','-.','XLim',[ -2*pi,2*pi],'YLim',[-1,1]);
h=line(x,y,'LineStyle',':','Color','g');
xlabel('-\pi \leq \Theta \leq \pi')
ylabel('sin(\Theta)')
title('
e0605.m
x=-pi:pi/10:pi;xx=x+(x==0&x==pi&x==-pi)*eps;%补充真数为零的点
yy=log(abs(sin(xx)));plot(x,yy)
title('This is figure of the five example. '); %给图形加上标题
axis([-3.2 3.2 -45 0])
xlabel('x'),ylabel('yy');grid o