大神看看这个matlab程序t=0:0.01:3;k=2;a=-1.5;b=10;f=k*exp((a+i*b)*t);subplot(2,2,1);plot(f,real(f));title('实部');axis([0,3,-2,2]);grid on;subplot(2,2,2);plot(f,imag(f));title('虚部');axis([0,3,-2,2]);grid on;subplot(2,2,3);plot(f,abs(f));

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 04:50:02
大神看看这个matlab程序t=0:0.01:3;k=2;a=-1.5;b=10;f=k*exp((a+i*b)*t);subplot(2,2,1);plot(f,real(f));title('实部');axis([0,3,-2,2]);grid on;subplot(2,2,2);plot(f,imag(f));title('虚部');axis([0,3,-2,2]);grid on;subplot(2,2,3);plot(f,abs(f));

大神看看这个matlab程序t=0:0.01:3;k=2;a=-1.5;b=10;f=k*exp((a+i*b)*t);subplot(2,2,1);plot(f,real(f));title('实部');axis([0,3,-2,2]);grid on;subplot(2,2,2);plot(f,imag(f));title('虚部');axis([0,3,-2,2]);grid on;subplot(2,2,3);plot(f,abs(f));
大神看看这个matlab程序
t=0:0.01:3;
k=2;a=-1.5;b=10;
f=k*exp((a+i*b)*t);
subplot(2,2,1);plot(f,real(f));title('实部');axis([0,3,-2,2]);grid on;
subplot(2,2,2);plot(f,imag(f));title('虚部');axis([0,3,-2,2]);grid on;
subplot(2,2,3);plot(f,abs(f));title('模');axis([0,3,-2,2]);grid on;
subplot(2,2,4);plot(f,angle(f));title('相位角');axis([0,3,-4,4]);grid on;
错误提示Warning: Imaginary parts of complex X and/or Y arguments ignored

大神看看这个matlab程序t=0:0.01:3;k=2;a=-1.5;b=10;f=k*exp((a+i*b)*t);subplot(2,2,1);plot(f,real(f));title('实部');axis([0,3,-2,2]);grid on;subplot(2,2,2);plot(f,imag(f));title('虚部');axis([0,3,-2,2]);grid on;subplot(2,2,3);plot(f,abs(f));
plot的自变量改成t就好了,plot(t,real(f))这样.

新手谢了一个matlab程序,求大神花几秒看看t=0;x=10000;while (x-10000 怎么用matlab画微分方程图象RT.大神求这个函数dsolve('D2y+9*y+3*y*exp(t)=0','t')怎么直接用matlab画图象,程序是什么, 大神看看这个matlab程序t=0:0.01:3;k=2;a=-1.5;b=10;f=k*exp((a+i*b)*t);subplot(2,2,1);plot(f,real(f));title('实部');axis([0,3,-2,2]);grid on;subplot(2,2,2);plot(f,imag(f));title('虚部');axis([0,3,-2,2]);grid on;subplot(2,2,3);plot(f,abs(f)); 麻烦看看这个matlab程序那里错了,调用总是说子函数出错,是想把一个分段函数加到一个函数上的Ts=0.0005;t=0:Ts:2; % 采样率2000HZ y=f(t); x=cos(5*pi*t)+f(t);function y=f(t)if abs(t-0.4) matlab程序有一个exp(-t).*sin(t) 这个. 怎么用matlab画tan(x) 大约值画前六位 n=0,1,2,3,4,5 但是我画出来怎么是一条直线?大神帮我看看程序a问 我的方程是:function T=tan_taylor(x,n)T=(-1)^n*x.^(2*n+1)/factorial(2*n+1)/((-1)^n*x.^(2*n)/factorial(2*n));b问我 请大神看看这个程序的作用是什么? y=cos(10*t*pi)+cos(40*t*pi);t属于[0,1],求这个函数的EMD分解matlab程序,画出图来 matlab求曲线长度如何编程这个曲线如何使用matlab求长度.t为(0,π/2)曲线长度 matlab如何编程,最好写出matlab程序. 请大侠看看我的这个matlab程序,中 set(h(1),'markersize',10)中h(1)代表的什么意思,尤其是h后面的1d=pi/8;>> t=0:d:pi/2;>> y=0.2+sin(t);>> s=sum(y);>> s_sa=d*s;>> s_ta=d*trapz(y); >> disp(['sum求的积分',blanks(3),'trapz求的 遗传算法MATLAB程序问题begininitialize p(0);t=0;while (t matlab程序 大神帮忙看看哪里错了 怎么改 能改出来的还加分! 谢谢!cleart = 0:0.001:0.6;x = sin(2*pi*50*t)+sin(2*pi*120*t);y =[-4.40E-01 -4.20E-01 -4.20E-01 …]fs=5000n=13;Y = fft(y,2^n);Y=abs(Y);Y=log10(Y);f=fs*(0:length 大神帮我看看这个matlab程序实现的拉格朗日插值程序计算运行为什么有问题?%Lagrange interpolationfunction y=lagrange(x0,y0,x)n=length(x0); m=length(x);for i=1:m z=x(i); s=0.0; for k=1:n p=1.0; for j=1: 求大神帮我看看matlab我编的程序错在哪里,怎么修改?要编的是这个方程,nT=88,C0,G0,Ck,Gk都是88*88矩阵,u(s)经傅里叶变换为88*2049矩阵,B为单位阵,s为2049*1的矩阵.求X(s).我编的程序如下,有错误, matlab画图x = 0:0.01:10; y =sin(2*x)*cos(100*x)/(2*x); plot(x, y)这个程序为什么matlab总是报错?哪里错了?求大神赐教 大家帮忙看看我这个matlab仿真图形!模拟三相电流信号,将三相电流相加得到s;程序如下:t = [0:1/1024/50:1/50];s1 = sin(2*pi*50*t);s2 = sin(2*pi*50*t+120*pi/180);s3 = sin(2*pi*50*t+240*pi/180);s = s1+s2+s3;subplot(2,1,1);ho 求大神看看这段matlab程序哪错了,菜鸟一只,刚用这软件>> syms i j t m n q s o p ;s=0;q=0;o=0;count=zeros;a=[0.5 1.41 0 0.37 0.4 0.72 0.72 0.43 0.57 0.38 0.98 0.50];b=[0 0.5 0.5 0.51 0.5 0.24 0.24 0.1 0.01 0.5 0.41 0.8];for i=-0.5:0.0 请matlab大神帮助我看看这个三维参数方程图像怎么画不出来.>>a=0.003;>>d=0.5;>>c=0.25*pi;>>l=0.4;>>w=5;>>k=0.1;>>t0=0.01;>>t=0:0.01:2;>>[t]=meshgrid(t);>>x1=-d*k*l*sin(c*sin(w*(t-t0)))/(d-k*(a+l*sin(c*sin(w*(t-t0)))));>>y1=d*l*sin