Reducing four parllel program calls into one
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone,
I'm doing a mini-project on a reverberation unit, and part of the signal chain has the signal run through four parallel filters simultaneously and then combine their outputs.
This is easily done by having four separate program calls (one for each filter), then adding the outputs. But what I would like to do is design a program call which does all the relevant calculations at once.
At the minute my intuition is to try this with matricies, but I'm unsure on how to get about this. Anyone got any suggestions?
If I need to clarify more just let me know!
Thanks
Craig
댓글 수: 0
답변 (2개)
Jason Ross
2012년 2월 9일
If you have the Parallel Computing Toolbox, look into spmd. It would allow you to send calculations to four different labs. You can use the "labIndex" property to control what happens on each one.
Make sure to look at the "Limitations", as there are some things that may may this not work for you.
댓글 수: 1
Walter Roberson
2012년 2월 10일
I think the real question has nothing to do with PCT. I think the real question is whether and how multiple filters that are added together can be combined in to a single filter.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!