how solve 1 unknown varible function?
Mostrar comentarios más antiguos
hi, i am new at matlab and i am having troubles with fsolve.
>> fsolve('(2x+4)/(x+2)=5','x') ??? Error using ==> fsolve at 148 FSOLVE only accepts inputs of data type double.
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 6 de En. de 2012
If you have the symbolic toolbox, use solve() instead of fsolve()
solve('(2x+4)/(x+2)=5','x')
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!