converting table values to RPM

3 views (last 30 days)
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

Alan Stevens
Alan Stevens on 18 Jan 2023
B{:,7}./(2*pi)*60
  1 Comment
Davindra Usov
Davindra Usov on 19 Jan 2023
many thanks!
turns out I just misplaced brackets

Sign in to comment.

More Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!