Undefined function 'rainbow' for input arguments of type 'double'.