Azzera filtri
Azzera filtri

Freezing a frame and extracting values

1 visualizzazione (ultimi 30 giorni)
Prince Igweze
Prince Igweze il 16 Mar 2020
Risposto: Raunak Gupta il 19 Mar 2020
I have a video of a wave propagating at incresing time with depth
How can i write a code to freeze the video at various frames and extract and plot the time values
Thanl you
See image

Risposte (1)

Raunak Gupta
Raunak Gupta il 19 Mar 2020
Hi,
I am assuming for playing video you are using vision.VideoPlayer. In that you can see the output frame-by-frame using step and readFrame. Here you can extract a plot after a particular number of steps. Also, if you are simulating a model and then getting the output you may use pause for stopping the program after a particular time instance and then can extract variable values or plotted graph.
Hope it helps.

Community Treasure Hunt

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

Start Hunting!

Translated by