Could any body check my work? (Plot the function)

1 visualización (últimos 30 días)
John wick
John wick el 24 de Ag. de 2019
Comentada: John wick el 24 de Ag. de 2019
x = [-56:64];
y = [3.*x^2-5.*x-6];
plot(x,y,'--r','LineWidth',0.5)
xlabel('e')
ylabel('n')
title('kg')
Is this the proper answer for the question? Is there anything I should change for it to become the correct answer?
Question assignment.jpg

Respuesta aceptada

madhan ravi
madhan ravi el 24 de Ag. de 2019
Your x and y doesn’t need square brackets. Check your title once again.
  9 comentarios
madhan ravi
madhan ravi el 24 de Ag. de 2019
https://in.mathworks.com/matlabcentral/answers/477409-could-any-body-check-my-work-plot-the-function#comment_738540 - probably reading that link in the comment should help you understand basically you’re still stuck in the fundamentals of MATLAB.
John wick
John wick el 24 de Ag. de 2019
I still need to improve more, I will read and try to understand it from the link you gave me. Thank you so much for helping me all this times!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by