How to divided the signal to matrix where contain on rows and columns .

1 Ansicht (letzte 30 Tage)
good greeting
I have signal is length it 102400 and I want that to subdivid it on matrix form (1024 ,100) where (1024 ) is rows ,and (100) is colums .Next, the discrete wavelet transform is applied to each column (window)
I hope find from you help me solve this and I would be very grateful

Antworten (1)

William Rose
William Rose am 15 Dez. 2021
Create a signal of length 102400:
y=rand(102400,1);
Change the shape to 100 columns:
y=reshape(y,[1024,100]);
Check the results:
disp(size(y))
1024 100
Looks good.

Kategorien

Mehr zu Denoising and Compression finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by