Check for a constant number

I need to check for a function that whether its derivative gives constant value or not. Kindly tell me what should i write in my if statement to check if the derivative is a constant number.

1 Comment

That'll mostly depend on how you've got the function defined...???

Sign in to comment.

Answers (0)

Categories

Find more on Debugging and Improving Code in Help Center and File Exchange

Asked:

on 16 Apr 2017

Commented:

dpb
on 16 Apr 2017

Community Treasure Hunt

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

Start Hunting!