Using delay seq to shift data with different delay conditions
Ältere Kommentare anzeigen
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 Kommentare
Sriram Tadavarty
am 19 Mär. 2020
May i know what does delay mean here? Any small example for the situation.
Zuha Yousuf
am 19 Mär. 2020
Sriram Tadavarty
am 19 Mär. 2020
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
am 19 Mär. 2020
Akzeptierte Antwort
Weitere Antworten (1)
Zuha Yousuf
am 19 Mär. 2020
0 Stimmen
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
