From: Ralf on 20 Apr 2010 14:07 Hello Matlab/Simulink users, I am currently working on a Simulink model that takes sampled audio input and processes it to produce some output. Now I would like to model a bandpass filter bank so the audio input is split into many frequency bands and each band should then be passed to one instance of the model I already have. I could just add a single bandpass, connect it to the model and then duplicate everything over and over again. However I need something more flexible where it is possible to specify the number of bandpasses in the filter bank each time before running the simulation (for example in a 'Constant' block). Filter coefficients will be computed by an 'Embedded Matlab' block and should be passed over to the filter bank subsystem. The filter bank should then filter the audio and produce a single output vector per sampling time containing one sample from the output of each bandpass. This would make it easier to connect to the model I already have because it was designed to process multichannel vector input. Pre-filtering the audio in Matlab and then running all of the Simulink instances from the Matlab command line is also not possible because the bandpass filter coefficients depend on the output of the Simulink model. Does anyone know how I could achieve this behavior (without converting the Simulink model to Matlab code and running everything in Matlab :-))? Thank you in advance for your answers. Kind regards, Ralf Huber
|
Pages: 1 Prev: How to get a motion vector from a pixel to another pixel Next: matlab 2010 plot issue |