Filter löschen
Filter löschen

I want to plot this data in matlab

2 Ansichten (letzte 30 Tage)
Liaquat Ali
Liaquat Ali am 8 Apr. 2014
Beantwortet: Liaquat Ali am 8 Apr. 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

Akzeptierte Antwort

David Sanchez
David Sanchez am 8 Apr. 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

Weitere Antworten (1)

Liaquat Ali
Liaquat Ali am 8 Apr. 2014
Thanks i think i want that quiver3 command

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by