Error Using fplot for plotting a function
Mostrar comentarios más antiguos
Without setting a xlim how would i be able to plot the function y according to its domain (-∞, 1]. I get an error whilst plotting the graph and the plot function prints the invalid params D: (-∞,∞) hencewhy I want to use the fplot function.
x = [-1.5:0.01:1.5];
y= -sqrt((1-x))+nthroot(x.^2,5);
fplot(x, y);
Error:
Error using fplot (line 149)
Invalid parameter '-0.4050...'.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Calculus en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
