Matlab中的“颤抖"功能如何工作? [英] How does 'quiver' function work in matlab?
问题描述
颤动功能如何工作?我知道它会创建矢量箭头,但是u,v,x和y变量实际上是什么意思?
How does the quiver function work? I know it creates vector arrows but what does u,v,x and y variables actually mean?
-
u-x和v-y之间有关系吗?
Is there a relation between u-x and v-y?
如何确定箭头的实际长度以及它如何影响上述4个变量?
How is the actual length of the arrow determined and how does it affect the 4 variables above?
u,v是否表示'from',x,y表示'to',这将在x,y处创建箭头热量,起始位置在u,v?
Does u,v mean 'from' and x,y mean 'to' which will create the arrow heat at x,y with start location at u,v?
推荐答案
x
,y
是每个向量的原点的水平和垂直坐标.
x
, y
are the horizontal and vertical coordinates of the origin of each vector.
u
,v
是每个矢量的水平和垂直分量.因此,向量的长度将为sqrt(u.^2 + v.^2)
.但是u
,v
中有一个归一化,因此最大长度是一个不错的值,可以避免一个向量与另一个向量重叠(或进入另一个向量的区域").
u
, v
are the horizontal and vertical components of each vector. Thus the length of the vectors would be sqrt(u.^2 + v.^2)
. But there's a normalization in u
, v
so that maximum length is a nice value that avoids one vector overlapping (or getting into the "area" of) another vector.
这篇关于Matlab中的“颤抖"功能如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!