Reducing four parllel program calls into one
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Jason Ross
le 9 Fév 2012
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 commentaire
Walter Roberson
le 10 Fév 2012
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.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!