converting table values to RPM

Hi,
I am trying to convert the values in the 7th column of my table (B) to RPM. Here is the code I used but the conversion seems to be incorrect but I can't see why
rpm_vals = (B{:,7}./2*pi)*60; %radians per second to RPM
thank you

 Accepted Answer

B{:,7}./(2*pi)*60

1 Comment

many thanks!
turns out I just misplaced brackets

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!