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

2 vues (au cours des 30 derniers jours)
Rasheed Majeed
Rasheed Majeed le 15 Déc 2021
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

Réponses (1)

William Rose
William Rose le 15 Déc 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.

Catégories

En savoir plus sur Denoising and Compression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by