Code an equation in MATLAB

4 vues (au cours des 30 derniers jours)
HN
HN le 7 Mai 2022
Commenté : HN le 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 commentaires
HN
HN le 18 Mai 2022
The unit is Meridian is rad. Yes, that is right. these lines are redudant and should be removed.
HN
HN le 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..

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Special Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by