Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function w=horner(A,c)
- n = length(A)
- w = A(1)
- for i=2:n,
- w = w*c+A(i)
- end
- endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement