unitconv do not work

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 日

0 投票

It's unitConvert not unitconv
Ixx= unitConvert(Ixx,u.m)

4 件のコメント

madhan ravi
madhan ravi 2018 年 11 月 12 日
If it answers your question make sure to accept the answer else let know whats additionally required
madhan ravi
madhan ravi 2018 年 11 月 13 日
which version of matlab are you using?
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 日

0 投票

If I use unitconvert, matlab leave an error, function don't exist.

質問済み:

2018 年 11 月 12 日

編集済み:

2018 年 11 月 13 日

Community Treasure Hunt

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

Start Hunting!