How do I calculate the kynetic energy in deceleration
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marco
am 11 Okt. 2013
Kommentiert: sixwwwwww
am 11 Okt. 2013
I have the an array of velocity and the Mass and I want to do a script which plot the energy only in deceleration.....Thank you.
0 Kommentare
Akzeptierte Antwort
sixwwwwww
am 11 Okt. 2013
Bearbeitet: sixwwwwww
am 11 Okt. 2013
Dear Marco, here is code for kinetic energy in deceleration:
mass = 20;
velocity = 10:-0.1:1;
KE = 0.5 * mass * velocity .^ 2;
plot(velocity, KE),
title('Kinetic Energy vs Velocity'),
xlabel('Velocity')
ylabel('Kinetic Energy')
set(gca,'xdir','rev')
Good luck!
5 Kommentare
sixwwwwww
am 11 Okt. 2013
Here you have velocity values. When you see velocity decreasing then you can plot the KE for that region. You can do it using for loop and the code i posted above
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!