Converting mathcad formula to matlab

Hey guys,
I'm trying to convert this formula to matlab but I keep getting it wrong.
Is there any automatic way of doing this?
Thanks in advance.

1 Comment

THere is no automatic way. Please attach your code
SUggestion: divide your expression in a few parts:
n21 = 2*n-1;
C1 = 48*Q/pi^3/h2/w2;
...
U_teo = 1 - 192/pi^5...
U_teo = U_teo*C1;

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 25 Mar 2021

Commented:

on 26 Mar 2021

Community Treasure Hunt

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

Start Hunting!