Thread Subject:
No variable or function called "svd".

Subject: No variable or function called "svd".

From: Philosophaie

Date: 9 Sep, 2011 20:30:24

Message: 1 of 2

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);

Subject: No variable or function called "svd".

From: Bruno Luong

Date: 10 Sep, 2011 06:53:11

Message: 2 of 2

"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

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us