My code continuously giving this error( Error using ./ Matrix dimensions must agree. Error in Untitled14 (line 16) k = zeta*(w./wd); )
显示 更早的评论
zeta = g * q;
j= 1-power(zeta,2);
wd = w*power(j,1/2);
r=w./wd;
k = zeta*r;
l=k*sin(wd*t);
m=cos(wdt) + l;
n= - zeta*w*t;
p = 1 - exp(n)*(m);
plot (p)
4 个评论
Walter Roberson
2017-6-11
That line, k = zeta*(w./wd); does not appear in your posted code.
It is difficult for us to debug this without knowing the size() of each of the variables.
arif hussain
2017-6-12
编辑:Walter Roberson
2017-6-14
arif hussain
2017-6-12
arif hussain
2017-6-12
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!