unitconv do not work

조회 수: 2 (최근 30일)
Luca
Luca 2018년 11월 12일
편집: madhan ravi 2018년 11월 13일
syms x y
u = symunit;
b=70*u.millim;
h=60*u.millim;
t=1*u.millim;
%trave ad C
Ixx=simplify(mom_inerzia_x(b,h,t),4);
Ixx= unitconv(Ixx,u.mm,u.m)
Ixx =
(2102447/4)*[mm]^4
>> Esercizio_Ordinata_centro_di_taglio
Ixx =
(2102447/4)*[mm]^4
Why function don't convert from millimeter to meter?
  댓글 수: 1
madhan ravi
madhan ravi 2018년 11월 12일
see my answer below

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

답변 (2개)

madhan ravi
madhan ravi 2018년 11월 12일
편집: madhan ravi 2018년 11월 12일
It's unitConvert not unitconv
Ixx= unitConvert(Ixx,u.m)
  댓글 수: 4
Luca
Luca 2018년 11월 13일
2018a
madhan ravi
madhan ravi 2018년 11월 13일
편집: madhan ravi 2018년 11월 13일
I am using 2018b and it work fine for me , note : it requires symbolic toolbox

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


Luca
Luca 2018년 11월 12일
If I use unitconvert, matlab leave an error, function don't exist.

Community Treasure Hunt

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

Start Hunting!