필터 지우기
필터 지우기

array division

조회 수: 1 (최근 30일)
kush
kush 2012년 3월 24일
how to divide a 1D array in 4 equal parts

채택된 답변

Wayne King
Wayne King 2012년 3월 24일
If you have the Signal Processing Toolbox, you can use buffer()
x = randn(16,1);
y = buffer(x,4);
Otherwise, you can use reshape()
x = randn(16,1);
y = reshape(x,4,4);

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by