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

Antworten (0)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 3 Apr. 2021

Geschlossen:

am 3 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by