Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Discussion Groups

Discussion Groups | Matlab DSP | workspace coefficients in Simulink

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

workspace coefficients in Simulink - Nalin Pithwa - Feb 28 20:43:00 2003



Hello,

I am using MATLAB and Simulink based DSP/Communications Blockset in my
application. I need a small help. In the design of my system, one of the
blocks is a FIR filter. The filter coefficients are generated during
run-time and they change adaptively.

How can I use those filter coefficients, which are generated at run-time in
the FIR filter in Simulink ? Is it possible to store these coefficients in
workspace and access the coefficients from workspace for use in the FIR
filter ? If so, how do I store them in the workspace? If this is not
possible, what is the other alternative?

Thanks in advance,
Nalin





(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: workspace coefficients in Simulink - navaneetha krishnan - Mar 6 4:28:00 2003

Hi Nalin,
You have not mentioned how you are generating the
coefficients. If it is generated within simulink by
some other blocks then you can choose in the digital
filter block from DSP Blockset the option for
coefficients coming from input port and feed the
generated coefficients in that port.

If you have an m-file then it is better to write an
m-file S-function. You can also look at the existing
adaptive filters in DSP Blockset.

Navan

--- Nalin Pithwa <> wrote:
> Hello,
>
> I am using MATLAB and Simulink based
> DSP/Communications Blockset in my
> application. I need a small help. In the design of
> my system, one of the
> blocks is a FIR filter. The filter coefficients are
> generated during
> run-time and they change adaptively.
>
> How can I use those filter coefficients, which are
> generated at run-time in
> the FIR filter in Simulink ? Is it possible to store
> these coefficients in
> workspace and access the coefficients from workspace
> for use in the FIR
> filter ? If so, how do I store them in the
> workspace? If this is not
> possible, what is the other alternative?
>
> Thanks in advance,
> Nalin __________________________________________________




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )