How do I use markers (i.e. in vector form) to tell the selector block when to select certain parts of a signal?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello everyone,
Lets say I have a vector r:
r = [110, 435 978 ... 100240].
r is my vector of markers - it marks certain sample indices/positions of a matrix x:
x = [ 0 0 1 2 -3 0 2 -1 0 ... 0 2 4 -4 -1 -2 4;
2 4 10 6 3 -1 0 2 ... -23 -17 -5 3 0 -1;
-15 -32 -45 -31 -11 ... 43 52 37 13 4;]
Matrix x has 3 rows representing different signals.
My question: How can I use the selector block in Simulink (or any other block or scheme), to extract the 200 samples (columns) of matrix x immediately AFTER every marker of r?
So, the 200 columns of x after column number 110, 435, 978, etc.
Thank you!
Rafael
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!