代码搜索结果
找到约 10,000 项符合
E 的代码
e0539.m
syms a t x;f=[a,t^3;t*cos(x), log(x)];
df=diff(f) %求矩阵f对x的导数
dfdt2=diff(f,t,2) %求矩阵f对t的二阶导数
dfdxdt=diff(diff(f,x),t) %求二阶混合导数
e0520.m
syms k;A=[1-k -2 4;2 3-k 1;1 1 1-k];D=det(A) ;factor(D)
e0602.m
x=1:pi/100:4;
y=2*exp(-0.5*x).*log(2*pi*x);%y的结果为数组乘运算
plot(x,y)
e0626.m
x = [1 2 3 4 5 6];y = [ 2 6 8 7 8 5];scatter(x,y,100,'r')
title('Example of a Scatter Plot');xlabel('x');ylabel('y');
e0661.m
helpString='The plot3 is one of the three dimention plot functions. ';
DlgName='help';
helpdlg(helpString,DlgName)
e0648.m
x=linspace(0,4*pi,100);[x,y]=meshgrid(x);z=sin(x).*cos(x);
axes('view',[-37.5,30]);
hs=surface(x,y,z,'FaceColor','w','EdgeColor','flat');
title('mesh-surf');
e0620.m
data = [ 10 37 5 6 6];explode = [ 0 1 0 0 0];pie(data,explode);
title('Example of a Pie Plot');legend('One','Two','Three','Four','Five');
e0606.m
x=linspace(0,2*pi,30); y=sin(x).*cos(2*x);plot(x,y,'r --') %红色虚线
title(' y=sin(x)*cos(2*x)');xlabel('x'); ylabel(' y=sinxcos2x'); grid
text(5.5,0,'y=sinxcos2x') %在点(5.5,0)处放置文本y=sinxcos2x
e0646.m
x=0:pi/12:2*pi;y=sin(x);
subplot(1,2,1);PN={'Color','LineWidth','Marker'};PV={[1 0 0],5,'d'};
line(x,y,PN,PV) % 应用构架数组设置颜色、线宽、标记属性
axis square ,grid on
subplot(1,2,2);PS.C
e0622.m
x = [ 1 2 3 4 5 6];y = [ 2 6 8 7 8 5];stairs(x,y);
title('Example of a Stair Plot');xlabel('x');ylabel('y');axis([0 7 0 10]);