mathematical equation into matlab

조회 수: 3 (최근 30일)
prinesh patel
prinesh patel 2020년 5월 6일
댓글: prinesh patel 2020년 5월 7일
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
  댓글 수: 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

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

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by