Converting mathcad formula to matlab

11 views (last 30 days)
Naiane Negri
Naiane Negri on 25 Mar 2021
Commented: darova on 26 Mar 2021
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
darova
darova on 26 Mar 2021
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 External Language Interfaces in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!