mathematical equation into matlab

1 次查看(过去 30 天)
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
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

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by