Plotting function with multiple limits

I want to plot this function against r and its derivative against r. Can any one help me. Thanks in advance.

Answers (1)

doc diff
doc piecewise

1 Comment

Using
piecewise
I couldn't get values for (r/h) with double. how can I solve this?

Sign in to comment.

Products

Release

R2018b

Tags

Community Treasure Hunt

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

Start Hunting!