Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- z =
- Columns 1 through 8
- 0.0500 0.1500 0.2500 0.3500 0.4500 0.5500 0.6500 0.7500
- Columns 9 through 11
- 0.8500 0.9500 1.0500
- for i=1:11,
- w(i) = erf(z(i))
- end
- w =
- Columns 1 through 8
- 0.0564 0.1680 0.2763 0.3794 0.4755 0.5633 0.6420 0.7112
- Columns 9 through 11
- 0.7707 0.8209 0.8624
- for i=1:11
- v(i) = c(1)*z(i)^10 + c(2)*z(i)^9 + c(3)*z(i)^8 + c(4)*z(i)^7 + c(5)*z(i)^6 + c(6)*z(i)^5 + c(7)*z(i)^4 + c(8)*z(i)^3 +c(9)*z(i)^2+c(10)*z(i)^1+c(11)*z(i)^0
- end
- v =
- Columns 1 through 8
- 0.0564 0.1680 0.2763 0.3794 0.4755 0.5633 0.6420 0.7112
- Columns 9 through 11
- 0.7707 0.8209 0.8624
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement