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!