Code an equation in MATLAB

1 Ansicht (letzte 30 Tage)
HN
HN am 7 Mai 2022
Kommentiert: HN am 18 Mai 2022
In matlab, I write the following code to the above equation as follows
ri = sqrt(psi_coordinates.^2+theta_coordinates.^2);
A = sum((ri*delta_epsilon)/2);
V = delta_z*sum(A);
But the result I obtained is not correct. Can anyone comment if I made some mistake please ?
Thank you .
  27 Kommentare
HN
HN am 18 Mai 2022
The unit is Meridian is rad. Yes, that is right. these lines are redudant and should be removed.
HN
HN am 18 Mai 2022
@Jeffrey Clark, Right. It woudl be easy to help if the entire working code is uploaded. But I am afraid I cannot do that..

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by