Plot graph of polynomials
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yash Raj Sitaram Prasad
el 9 de Sept. de 2021
Respondida: Yash Raj Sitaram Prasad
el 10 de Sept. de 2021
I want to plot graph of polynomial function such as
|x| and many more like this.
|x| and many more like this.0 comentarios
Respuesta aceptada
John D'Errico
el 9 de Sept. de 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 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Spline Postprocessing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
