代码搜索结果

找到约 10,000 项符合 E 的代码

e0619.m

x = [ 1 2 3 4 5 6];y = [ 2 6 8 7 8 5];bar(x,y,0.5); title('Example of a Bar Plot');xlabel('x');ylabel('y');axis([0 7 0 10]);

e0658.m

prompt={'Enter the row of matrix','Enter the column of matrix'}; name='Enter matrix';numlines=1;defaultanswer={'2','2'}; answer=inputdlg(prompt,name,numlines,defaultanswer)

e0607.m

x=0:0.01:pi/4;y1=sin(x);y2=tan(x); plot(x,x) ;hold on;plot(x,y1,'r --') ;hold on;plot(x,y2, 'g --')

e0608.m

x1=0:pi/100:2*pi; x2=0:pi/100:3*pi; y1=2*exp(-0.5*x1).*sin(2*pi*x1); y2=1.5*exp(-0.1*x2).*sin(x2); plotyy(x1,y1,x2,y2); title('This is figure of example 6-8.') xlabel('x'); ylabel('y1 y2'); l

e0663.m

[filename, pathname, filterindex] = uigetfile( ... {'*.m;*.fig;*.mat;*.mdl', 'All MATLAB Files (*.m, *.fig, *.mat, *.mdl)'; '*.m', 'M-files (*.m)'; ... '*.fig','Figures (*.f

e0612.m

x = 0:0.1:10;y = x.^2 - 10.*x + 26; figure(1) subplot(2,2,1) ; plot(x,y); %绘制直角坐标系图形 title ('Linear Plot');xlabel ('x');ylabel ('y');grid on; subplot(2,2,2); semilogx(x,y); %绘制x轴用以10为底的对数刻度标定的半对数

e0614.m

subplot(2,2,1);ezplot('sin(x)');title('sin(x)'); subplot(2,2,2);ezplot('cos(x)');title('cos(x)'); subplot(2,2,3);ezplot('sinh(x)');title(' sinh(x)'); subplot(2,2,4);ezplot('cosh(x)');title('cosh(x)

e0609.m

x=-2*pi:0.1:2*pi;r=3*(1+cos(x));polar(x,r)

e0655.m

x=-2*pi:pi/100:2*pi;y=sin(x).*cos(x);hl=plot(x,y); hc=uicontextmenu; %建立快捷菜单 hls=uimenu(hc,'Label','线型'); %建立菜单项 hlw=uimenu(hc,'Label','线宽'); uimenu(hls,'Label','虚线','Call','set(hl,

e0654.m

figur<mark>e</mark> h_m<mark>e</mark>nu=uim<mark>e</mark>nu(gcf,'lab<mark>e</mark>l','Color'); h_subm<mark>e</mark>nu1=uim<mark>e</mark>nu(h_m<mark>e</mark>nu,'lab<mark>e</mark>l','Gr<mark>e</mark><mark>e</mark>n',... 'callback','s<mark>e</mark>t(gcf,''Color'',''gr<mark>e</mark><mark>e</mark>n'')'); h_subm<mark>e</mark>nu2=uim<mark>e</mark>nu(h_m<mark>e</mark>nu,'lab<mark>e</mark>l','Blu<mark> ...