Radian calculation from either differential or gradient

Hello, I have gradiant values (and their differentials). However, my motion is in a circle and mathematically the 2πrad may be used to calculate the angular angular momentum. Is it possible to do this in one step with Matlab? GS.

 Réponse acceptée

Star Strider
Star Strider le 18 Déc 2017

0 votes

That depends on what you want to do. It will probably involve array calculations, one of MATLAB’s strengths. Without knowing more details, it is not possible to give a specific solution.

4 commentaires

Hello Star Strider, we calculated the differentials and gradient results from changing molecule positions. this data is for changing motion within a circle. I want to divide the gradient by 2πrad giving the angular momentum or velocity (in the phase relationship). Thank you again. GS.
My pleasure.
If gradient is a vector or matrix, this works:
MoleculeGradient = [ ... ];
CorrectedMoleculeGradient = MoleculeGradient/(2*pi);
Does this do what you want?
Yes, perfectly. I assumed it would be more complicated. Thank you.
My pleasure.
If my Answer helped you solve your problem, please Accept it!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by