Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

simulation help please!

Status
Not open for further replies.

subseb

Computer
Dec 5, 2004
1
I am trying to run a FIR filter using simulink I have my basic algebraic loop and weightings running fine. However the simulation is sample based and I need to increase one of the variables value in the gain amplification block during simulation. Basically it is a goertzel filter and I am trying to increase the fi (frequency of interest) value with respect to time, so as to achieve a frequency sweep when the simulation is run. Does anyone know of an easy way of doing this? I tried using the u +Ts block for weighted time, but this just gave me a constant value.
 
Replies continue below

Recommended for you

You should be able to use a ramp function block and send its output to the workspace with a given variable name (e.g., fi), then refer to that variable name in the gain amplification block configuration.

xnuke

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor