Skip to content
Prev 302641 / 398503 Next

help to program my function

Hello,

Your problem is something else, before returning a vector of only the 
same values there are warning messages.
Inline.

Em 07-08-2012 18:14, hafida escreveu:
This means that 'i' is a vector of length 76, which, in this context, is 
illegal. The variable 'i' must be a vector of only ONE value. If you 
want to compute the function for several (76) values do it one at a 
time, the function aj.fun is not vectorized.

Hope this helps,

Rui Barradas