Matlab 3D probabilty histogram by 2D array

1 visualización (últimos 30 días)
Rafia Sidiq
Rafia Sidiq el 9 de En. de 2022
Editada: Cris LaPierre el 10 de En. de 2022
I have 2D data structed by 64X100000 size.
64(rows) represent "phase(-31:1:32)" and 100000(column) represent "voltage" about the range of (-0.4~0.4).
I want to watch probabilty based histogram(pdf) of this data in 64 time instances.
<----- like this pic.
how can i make 3D plot that shows the changes of voltage histogram through 64 phase?
Please help me.......

Respuestas (1)

Cris LaPierre
Cris LaPierre el 10 de En. de 2022
Editada: Cris LaPierre el 10 de En. de 2022
It looks like that figure might have been created using the spectrogram function.
fs = 10e3;
t = 0:1/fs:2;
x1 = vco(sawtooth(2*pi*t,0.5),[0.1 0.4]*fs,fs);
spectrogram(x1,kaiser(256,5),220,512,fs,'yaxis')
view(-45,65)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by