Is there a MATLAB function that calculates the magnitude of a velocity vector?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jack
am 6 Mär. 2022
Kommentiert: Jack
am 7 Mär. 2022
v(t) = sqrt( x(t)^2 + y(t)^2 + z(t)^2 )
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 6 Mär. 2022
if x y z are scalar then
norm([x, y, z])
3 Kommentare
Steven Lord
am 6 Mär. 2022
If you have multiple vectors whose norm you want to calculate stored in a matrix and you're using release R2017b or later, use the vecnorm function.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements 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!