I have a data capture by camera (PIV).
The data sizes are presented below;
(a) X ---> 386*133
(b) Y -> 386*133
(c) U---> 386*133*3580
(d) V ---> 386*133*3580
From these data sets, i need to plot the the vector field using quiver, and visualize the data both in 2D and 3D. I am confused about how to capture these data set in Matlab to perform thes plots. Please Help!

1 commentaire

I assume that the third size of U and V is the time component, thus in 2D you can do:
for i = 1:size(U,3)
quiver(X, Y, U(:,:,i), V(:,:,i))
pause(0.05)
end
Which kind of plot you wanna generate in 3D?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Centre d'aide et File Exchange

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by