mathematical equation into matlab

how can i get the following equation in matlab with given values of variable.
t = (2L^2)/(5l^2 H^2 √2g){H^(5/2)}
i need to find value of (t)
i have values of (L,l,H)

回答 (1 件)

David Hill
David Hill 2020 年 5 月 6 日

0 投票

t = (2*L.^2)./(5*I.^2.*H.^2*sqrt(2*g)).*H^(5/2);%assuming I, L, H are same size arrays and g is scalar

2 件のコメント

prinesh patel
prinesh patel 2020 年 5 月 7 日
this didnt work it says unreconoized variable L
prinesh patel
prinesh patel 2020 年 5 月 7 日
it worked later all good..thanks

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

リリース

R2020a

質問済み:

2020 年 5 月 6 日

コメント済み:

2020 年 5 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by