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

1 次查看(过去 30 天)
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

回答(1 个)

William Rose
William Rose 2021-12-15
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.

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by