Plot graph of polynomials
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yash Raj Sitaram Prasad
am 9 Sep. 2021
Beantwortet: Yash Raj Sitaram Prasad
am 10 Sep. 2021
I want to plot graph of polynomial function such as
|x| and many more like this.
|x| and many more like this.0 Kommentare
Akzeptierte Antwort
John D'Errico
am 9 Sep. 2021
That is not a polynomial.
You have a sqrt root in there. And an absolute value. So learn how to use functions like abs, and sqrt. You will not learn unless you try.
help abs
help sqrt
First, you would you need to create such a function.
F = @(x) sqrt(abs(x));
Then to plot a function like that, you might read about fplot.
help fplot
So you might do this.
fplot(F)
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
