Filter löschen
Filter löschen

direction of quiver arrows

12 Ansichten (letzte 30 Tage)
F46
F46 am 22 Nov. 2020
Kommentiert: F46 am 23 Nov. 2020
I was using quiver to plot a vector field. The details of the code is not relevant here. As can be seen from the figure the vector [-21,-21] is pointing 45 from the positive horizonta when it should be in the reverse direction. Why?
  6 Kommentare
Rik
Rik am 23 Nov. 2020
I don't see your issue.
quiver(1.5, 1.5, -21, -21),axis([-20 20 -20 20])
F46
F46 am 23 Nov. 2020
Thanks Rik. I guess I was looking at the wrong vector

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Vector Fields finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by