I'm trying to execute this equation in scilab; however, I'm getting error: 59 of function %s_pow called ... even though I define x.
n=0:1:3; x=[0:0.1:2]; z = factorial(3); w = factorial(n);u = factorial(3-n); y = z /(w.*u); t = y.*x^n*(1-x)^(3-n)
(at this point I haven't added in the plot command, although I would assume it's plot(t)?)
Thanks for any input.