Error using ==> mtimes Inner matrix dimensions must agree 用matlab求解时出现错误

日期:2011-11-26 22:12:03 人气:2

Error using ==> mtimes Inner matrix dimensions must agree 用matlab求解时出现错误

注意,向量的话,这个根据你的需要应该改成点乘 clear; clc; x=0:1:12; a=sqrt(10.08+0.5*sqrt(406.43+31.7*x.^2)); b=sqrt(-10.08+0.5*sqrt(406.43+31.7*x.^2)); c=1./(2*cos(0.115*sqrt(5.63i*x+20.16))); y=0; f=499800*(abs(c)).^2.*x.*(exp(-2*y*a)+exp(2*y*a)+2*cos(2*y*b)
    A+
热门评论