Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

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

0 Comments

Daniele Bilancione

Products

0 Answers

Contact us