writing and plotting function with multiple conditions
Show older comments
Imagine I have a function like this:

How can I write this function in matlab and plot it between 0 and 1? How can I also compute
of this function?
I want to have something like f=@(x) my_func
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!