Why do i need to use .^ notation ?

% This is my function.
function y = PBTask4P1_f(x)
y = 4.2*x.^4-5*x.^3-7*x;
plot(x,y);
xlabel('INPUT X')
ylabel('OUTPUT Y')
end

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 3 de Abr. de 2021

Cerrada:

el 3 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by