Filter data for quiver
1 view (last 30 days)
Show older comments
I can't find an elegant way to plot every fourth value from my 201x301 matrix by quiver function. I have tried to make the undesired points zero but it leaves the dots, plus the cycle was quite long.
So how can I refer to particular values from the matrix???
0 Comments
Answers (2)
the cyclist
on 20 Apr 2013
If M is your matrix, then you could try plotting
>> M2 = M(1:4:end,1:4:end);
to get every fourth point in each dimension.
2 Comments
the cyclist
on 20 Apr 2013
Can't you apply the same concept to each of lon,lan,U,V to get the dimensions to agree?
See Also
Categories
Find more on Vector Fields 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!