How i divide a Constant with a Matrix ?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
nikola oljaca
am 21 Mär. 2021
Kommentiert: nikola oljaca
am 21 Mär. 2021
x=[-20:0.5:20]
gzx = 2*G*deltaMzylinder*(zs/(zs^2+x.^2))
plot(x,gzx)
Error using /
Matrix dimensions must agree.
0 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 21 Mär. 2021
We would need to know what zs is to say for certain, but the most likely fix is to use elementwise division, "./".
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!