필터 지우기
필터 지우기

pm_unit conversion issue

조회 수: 2 (최근 30일)
devraj dash
devraj dash 2017년 3월 13일
답변: Gillian Rosen 2017년 3월 15일
I am trying to convert rankine® to celcius(C) using pm_unit in matlab 2016b, but it throws error "Provided units 'R' and 'C' are not commensurate".
2013a matlab this conversion works properly.
Can you tell me the fix for this?

답변 (1개)

Gillian Rosen
Gillian Rosen 2017년 3월 15일
Hi Devraj, 
I understand that you would like to convert Rankine (degrees R) to Celsius (degrees C) using the 'pm_unit' command in MATLAB R2016b, but you are encountering an error when you try to do so. 
In MATLAB R2016a, the units for Rankine changed from 'R' to 'degR', and likewise, Celsius changed from 'C' to 'degC'. Therefore, you can perform your desired calculation with the following command:
>> pm_unit('degR','degC')
You can find out more about this change and the reasoning behind it at the following link: 

카테고리

Help CenterFile Exchange에서 Fixed Point에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by