filter out if fit the pattern.
1 次查看(过去 30 天)
显示 更早的评论
I have written script to display hit the stretcher/channel combination.like,
stretcher 1, channel 5 appears to be hit.
stretcher 1, channel 7 appears to be hit.
stretcher 3, channel 9 appears to be hit.
stretcher 3, channel 12 appears to be hit.
So I want to write matlab script to display stretcher/channel combination if and only if it satisfy my trigger condition. The trigger condition is, if even numbered channel in stretcher 1 and odd numbered channel in stretcher 1 and likewise in stretcher 3, appears to be hit, this is the signature to look for trigger in which four channel affected in two different stretcher. Can you please help me to write matlab script, which filter out the channel/stretcher and display only "yes" if fit the trigger condition and "No" if don't fit the trigger condition. Thanks in advance.
2 个评论
Geoff Hayes
2014-7-22
It is unclear exactly what data types the stretchers and channel variables are, and so trying to write code to determine if even or odd channel is hit is somewhat difficult. Please include some code with your attempt at solving the problem so that others can provide guidance on what to do next.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!