Derivative of Ramp, and step signal.

3 views (last 30 days)
Zuha Aslam
Zuha Aslam on 3 Jan 2021
Answered: KALYAN ACHARJYA on 3 Jan 2021
How to code derivative of ramp and step function.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 3 Jan 2021
Use diff, more detail here
syms % Varibles declaration
ramp_fun=......% ramp function
step_fun=......% step function
d_ramp=diff(ramp_fun);
d_step=diff(step_fun)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!