|
"Philosophaie" wrote in message <j4dt10$23t$1@newscl01ah.mathworks.com>...
> I am using syms in my program. I do not have a variable or function called "svd". Also I have a function called "null". It is:
>
> null=Affinity(j,k,i)*diff(c(j),c(4))*diff(c(k),c(4))+diff(diff(c(i),c(4)),c(4))
>
> I am not sure how to take a second derivative.
>
> Here is the error message:
>
> ??? Function 'svd' is not defined for values of class 'char'.
>
> Error in ==> svd at 29
> [varargout{1:nargout}] = builtin('svd', varargin{:});
>
> Error in ==> null at 63
> [U,S,V] = svd(A,0);
Do NOT name your function like Matlab stock function. In this case is NULL an important function in Linear algebra.
Not sure it explains entirely the error, but you obviously doing something very bad by redefine Matlab function.
Bruno
|