How do i get the slope of a running simulink file?

I need to find the varying slope of the given graph at a time gap of 0.25 second. This slope is required for further calculation and hence needs to be obtained whilst the simulink is running. Kindly find the input file attached below.

 Risposta accettata

Look at the Discrete Derivative block.

1 Commento

Thank you. It seems to work with a little adjustment in the gain value.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Release

R2022a

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by