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.

 Akzeptierte Antwort

Star Strider
Star Strider am 18 Dez. 2017

0 Stimmen

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 Kommentare

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!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-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