Using delay seq to shift data with different delay conditions
이전 댓글 표시
Hi! I have a matrix that has 10 columns and 50 rows. I want to introduce a delay in columns 2,3 and 4, and then again in columns 7,8,9 and 10. In column 2, I want a delay by one sample, in column 3 I want a delay by 2 samples, in column 4 I want a delay of 3 samples, and similarly in columns 7,8,9 and 10 I want delays of 4,5,6 and 7 samples. Is there a way I could use delayseq to automate this process? Thanks in advance!
댓글 수: 4
Sriram Tadavarty
2020년 3월 19일
May i know what does delay mean here? Any small example for the situation.
Zuha Yousuf
2020년 3월 19일
Sriram Tadavarty
2020년 3월 19일
So, to see if i understand correctly, you want the output to be [2 0 0;5 3 0;8 6 4;0 9 7;0 0 10], for the input matrix you placed. Am i right?
Zuha Yousuf
2020년 3월 19일
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
