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

조회 수: 2 (최근 30일)
Rasheed Majeed
Rasheed Majeed 2021년 12월 15일
답변: William Rose 2021년 12월 15일
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에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by