I want to plot this data in matlab

5 visualizaciones (últimos 30 días)
Liaquat Ali
Liaquat Ali el 8 de Abr. de 2014
Respondida: Liaquat Ali el 8 de Abr. de 2014
Dear all,
I have search all the web vut could not find how to plot this data in matlab.
I have a force fx, fy and fz component in the form of x y and z cordinate now i want to plot the force vector in 3D ?
its a 11x6 matrix
X Y Z Fx Fy Fz 8.031551 5.611969 2 -1.17E-09 -1.00E-10 -1.47E-08 6.406665 8.941736 2 0 0 0 8.939047 6.410417 2 0 0 0 7.090552 8.40976 0.013134 0 0 0 8.090216 5.87779 0 -9.23E-11 9.11E-11 -1.19E-10 5.877942 8.090105 0 -3.74E-10 1.82E-10 3.51E-10 9.510578 3.090129 0 -6.72E-11 -1.02E-10 -1.55E-10 10.51775 3.22131 2 0 0 0 10.49509 3.294392 0.003428 0 0 0 11 -2.69E-15 2 0 0 0 8.939047 6.410417 -2 0 0 0

Respuesta aceptada

David Sanchez
David Sanchez el 8 de Abr. de 2014
First of all, you should present your data in a more clear way, it is not easy to know what you really want to plot against what, but anyway, take a look at quiver3:
quiver3(x,y,z,u,v,w) plots vectors with components (u,v,w) at the points (x,y,z). The matrices x,y,z,u,v,w must all be the same size and contain the corresponding position and vector components

Más respuestas (1)

Liaquat Ali
Liaquat Ali el 8 de Abr. de 2014
Thanks i think i want that quiver3 command

Categorías

Más información sobre Physics en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by