MATLAB Answers


Samplin rate or Sampling period variable

Asked by Daniele Bilancione on 18 Jun 2013

Dear all

I hope this finds you well. Is there a way to refer to the model sample rate in a block? What I am trying to do is to specify the length of a delay line which will depend on some parameters as well as the sample rate. Rather than having to change all the time the formula which derives the length of the delay every time the sample rate changes, I would like to use a variable, like fs or ts (the sampling period).

Thank you and Kind regards


Log in to comment.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Win prizes and improve your MATLAB skills

Play today