perpendicular and parallel component
11 次查看(过去 30 天)
显示 更早的评论
Hello all,
I have a mms data set from MMS1_FPI_BRST_L2_DES_MOMS. It is given in cartesian coordinate system (x, y, z).
It is basically electron velocity (Vx,Vy,Vz).
I want to convert it into v_perp1, v_perp2, v_parallel components.
Will you please tell me how to convert it ?
Thank you.
0 个评论
回答(1 个)
Bjorn Gustavsson
2021-9-29
You have to look at the documentation of the mission and the data access etc: MMS_Data_Access_f3. We cannot tell you how to handle the data from a satellite mission (that's brilliantly interesting!) that we're not involved with. The only thing I can say is that you simply have to extract the velocity-components paralell (In swedish we have the good sense to spell it parallell, as it for visual reasons should be.) and perpendicular to the (back-ground) magnetic field:
B = read_B_field(); % you make this happen. B should be [1 x 3] for the following to work
v = read_v_cartesian(); % you make this happen. Same for v
v_par = dot(v,B)/norm(B);
v_perp = v - v_par*B/norm(B);
If you have B and v for a whole time-series the most efficient calculation might be to write out the explicit formulas for dot and norm in the above equations.
HTH
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!