Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = polyfit(x, y, 4)
- c =
- 0.1653 -0.4743 0.0257 1.1260 0.0000
- for i=1:11
- v(i) = (c(5)*(1/(1+i))^3 + c(4)*(1/(1+i))^2 + c(3)*(1/(1+i)) + c(2))*exp(-(i)^2) + c(1);
- end
- v =
- Columns 1 through 8
- 0.0991 0.1590 0.1652 0.1653 0.1653 0.1653 0.1653 0.1653
- Columns 9 through 11
- 0.1653 0.1653 0.1653
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement