Simple polynomial evaluation | MATLAB Cody
Code:
function y = simplePoly(x,n)
y=0;
t=1;
for i=1:n+1
y=y+t;
t=t*x;
end
end
function y = simplePoly(x,n)
y=0;
t=1;
for i=1:n+1
y=y+t;
t=t*x;
end
end
Satellite Communications Toolbox provides standards-based tools for designing, simulating, and verifying satellite communications systems a...
MATLAB Programs/Code (matlabcoding.com)
No comments