converting table values to RPM

조회 수: 2 (최근 30일)
Davindra Usov
Davindra Usov 2023년 1월 18일
댓글: Davindra Usov 2023년 1월 19일
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

채택된 답변

Alan Stevens
Alan Stevens 2023년 1월 18일
B{:,7}./(2*pi)*60
  댓글 수: 1
Davindra Usov
Davindra Usov 2023년 1월 19일
many thanks!
turns out I just misplaced brackets

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by