Making a 3 Variable Function Into a 1 Variable Function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Rodolfo
el 5 de Nov. de 2013
Comentada: Rodolfo
el 7 de Nov. de 2013
Hello,
I have created the following simple function of the variable x,a, and b
f = 2*x - a - b.
What I want to do is set a and b equal to some constant values, for example a = b = 1. Now that I have set a and b equal to constants, my question is, how do I make this into a new function with just the variable x? For a = b = 1 , the new function should be 2*x - 2 . I want to do this so that I can use fzero to solve this new function numerically for x. Any help would be much appreciated.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!