Code an equation in MATLAB

1 visualización (últimos 30 días)
HN
HN el 7 de Mayo de 2022
Comentada: HN el 18 de Mayo de 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 comentarios
HN
HN el 18 de Mayo de 2022
The unit is Meridian is rad. Yes, that is right. these lines are redudant and should be removed.
HN
HN el 18 de Mayo de 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..

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by