The same length vectors with color-coded amplitude
2 views (last 30 days)
Show older comments
I have two components of a vector as two matrix and create a vector map for them by quivec function in Matlab. As vectors amplitude (ampl=sqrt(x^2+y^2)) was really small in some parts, I normalized vectors (every vector is normalized to its length) and now have new vector field. What I wanted to do is to use a color code to show the vectors amplitude. I checked another function quivercquiverc(varargin) which uses colors to show different amplitude and so normalization is not possible. My question is that how I can display my normalized vectors with color code based on their length?
0 Comments
Answers (0)
See Also
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!