Simulink: Bandpass frequency selection crashes Matlab

4 views (last 30 days)
I have a simple Simulink system with one bandpass filter (FIR, minimum order).
In the frequency separation section I select Hz as the units, my 'fs' variable as the input fs and chose my frequencies (Fstop=4, Fpass1=5, Fpass2=6 Fstop2=7).
When I click apply however the Matlab basically freezes and I don't know why. Does any one have any idea what I am doing wrong?
  1 Comment
Shashank
Shashank on 24 Oct 2012
Hi Steven,
Some more information might help in diagnosing what might be happening.
1. Does this happen every time you try the above steps? Or is the freezing of MATLAB sporadic?
2. Does this seem to be happening with any other blocks as well?
Shashank

Sign in to comment.

Answers (1)

Steven
Steven on 23 Nov 2012
I found out what was wrong. The sample rate of some of the inputs was very high compared to the 5-6Hz I was looking to sample. I downsampled the data to 100Hz and it could create the filter with ease.

Categories

Find more on Statistics and Linear Algebra in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!