Info

This question is closed. Reopen it to edit or answer.

Why do i need to use .^ notation ?

1 view (last 30 days)
Yash Shil Balgobin
Yash Shil Balgobin on 3 Apr 2021
Closed: KALYAN ACHARJYA on 3 Apr 2021
% 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

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!