My code continuously giving this error( Error using ./ Matrix dimensions must agree. Error in Untitled14 (line 16) k = zeta*(w./wd); )
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 11 Jun. 2017
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
am 12 Jun. 2017
Bearbeitet: Walter Roberson
am 14 Jun. 2017
arif hussain
am 12 Jun. 2017
arif hussain
am 12 Jun. 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!