Code an equation in MATLAB

1 view (last 30 days)
HN
HN on 7 May 2022
Commented: HN on 18 May 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 Comments
HN
HN on 18 May 2022
The unit is Meridian is rad. Yes, that is right. these lines are redudant and should be removed.
HN
HN on 18 May 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..

Sign in to comment.

Answers (0)

Categories

Find more on Characters and Strings 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!