How can i fix this code with ploting a function
1 view (last 30 days)
Show older comments
Wenchen Liu on 13 Dec 2022
I want to plot this function, that is,
with interval [0,10]
and i tried:
fplot(@(x) 16*exp.^0.25*x,[0 10],)
in the command section, it says, "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."
Edited: VBBV on 13 Dec 2022
fplot(@(x) 16*exp(0.25*x),[0 10]) % exp is exponential function,
Find more on Get Started with MATLAB 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!