如何用matlab画出y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t))的图形?用程序 t=0:1:10;>> y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t));Error using ==> mtimesInner matrix dimensions must agree.这该怎么解决?

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/29 23:44:14
如何用matlab画出y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t))的图形?用程序 t=0:1:10;>> y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t));Error using ==> mtimesInner matrix dimensions must agree.这该怎么解决?
xݑN@_e$n hMliڒL # L%2-BW|9q]A6H}J֡$ #A6Y~η6|6|3{ t>`K 2,SEPLQH(C殦3,ڧf*iDjƴ2d{7sW}==8O±5Lyֳ_uԼ.{Xj׋b50/Inovszf5rC7AF6T :e: oP,zp%;2FG`B Oj,7uI k

如何用matlab画出y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t))的图形?用程序 t=0:1:10;>> y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t));Error using ==> mtimesInner matrix dimensions must agree.这该怎么解决?
如何用matlab画出y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t))的图形?
用程序 t=0:1:10;
>> y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t));
Error using ==> mtimes
Inner matrix dimensions must agree.
这该怎么解决?

如何用matlab画出y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t))的图形?用程序 t=0:1:10;>> y=exp(-5/2*t)*(cosh(3/2*t)-1/3*sinh(3/2*t));Error using ==> mtimesInner matrix dimensions must agree.这该怎么解决?
因为t是向量,所以在做乘除运算是要对单独元素进行,应该在乘除号前面加点, 即 ./ .*
y=exp(-5/2.*t).*(cosh(3/2.*t)-1/3*sinh(3/2.*t));