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

23 views (last 30 days)
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.

Accepted Answer

Andy Bartlett
Andy Bartlett on 7 Jul 2022
Look at the Discrete Derivative block.

More Answers (0)

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!