Asked by ocean motion
on 20 Apr 2013

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???

*No products are associated with this question.*

Answer by the cyclist
on 20 Apr 2013

Try making the undesired points NaN rather than zero.

Answer by 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.

ocean motion
on 20 Apr 2013

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?

Opportunities for recent engineering grads.

## 0 Comments