function min

2 visualizaciones (últimos 30 días)
Aldin
Aldin el 28 de Feb. de 2012
How to see the code(algorithm) of function "min" in MATLAB???
Thanks

Respuestas (2)

Sean de Wolski
Sean de Wolski el 28 de Feb. de 2012
  5 comentarios
Aldin
Aldin el 28 de Feb. de 2012
What i have to know if i would like to work for you?
Walter Roberson
Walter Roberson el 28 de Feb. de 2012
The symbolic toolbox solve() routine has many many parts to it, a major programming effort, as it has to deal with a large number of different functions -- it is _not_ restricted to polynomials.
Generally speaking, roots of polynomials are usually found in symbolic packages by looking for Groebner Basis. (Unfortunately I never did figure out what a Groebner Basis _is_ or how to find one...)

Iniciar sesión para comentar.


Wayne King
Wayne King el 28 de Feb. de 2012
Hi, you cannot. That is a built-in (compiled) function. The source code for the function and others like is not shipped with MATLAB.
  5 comentarios
Aldin
Aldin el 28 de Feb. de 2012
??? Undefined function or variable 'XYZ'.
Walter Roberson
Walter Roberson el 28 de Feb. de 2012
type min
type solve
type diff
For the version I am using, the response is:
>> type min
'min' is a built-in function.
>> type solve
??? Error using ==> type
File 'solve' not found.
>> type diff
'diff' is a built-in function.
which is expected: min and diff are not implemented in the MATLAB language, and solve is part of a toolbox that I do not have.

Iniciar sesión para comentar.

Categorías

Más información sobre Error Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by