Hi all, I am trying to make a function and the first step within my function is to find the magnitude of a vector that I have named on another script. How do I do this? I willo put my code below to explain more.
FROM FUNCTION PAGE
function[a, e, nu, i, O, m] = hw_COE_sharmaAshlianne(R, V)
Rvector = [15370 1400 21950];
Vvector = [-0.1 3.84 -0.2];
[a, e, nu, i, O, m] = hw_COE_sharmaAshlianne(Rvector, Vvector);
so to reiterate my question, how do I find the magnitude of Rvector that is defined in my script on my function page (STEP ONE IN FUNCTION)