Separate a signal in two signals with Simulink
41 views (last 30 days)
Show older comments
Hello,
So I imported a table of 1024*1000 it is basically signals when plotted. I need to separate the signals into channel left and channel right. To do that on table receives all the pair-index-columns and the other all the impair-index-columns.
In MATLAB it is easy to do but I need to so the same thing in Simulink which is with what I am struggling right now.
Thank you
2 Comments
Fangjun Jiang
on 7 Feb 2023
?? "To do that on table receives all the pair-index-columns and the other all the impair-index-columns"
Accepted Answer
Fangjun Jiang
on 7 Feb 2023
Edited: Fangjun Jiang
on 7 Feb 2023
- Pre-process the data in MATLAB and then import the two splitted data sets into Simulink. Or
- Use the "Selector" block. In the dialog, select "Index vector (dialog)" and specify [1:2:end] or [2:2:end]
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!