How can I solve this easy equation with fsolve? (beginner)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Übel
el 18 de Oct. de 2014
Respondida: Star Strider
el 18 de Oct. de 2014
Error in ==> fsolve at 11
K= fsolve(@(K) ((a*gamma)/rk)^(1/-0.57),start)
Code:
clear all
close all
clc
rk=0.1641;
a=3.71;
gamma=0.43;
start=0.1;
K= fsolve(@(K) ((a*gamma)/rk)^(1/-0.57),start)
0 comentarios
Respuesta aceptada
Star Strider
el 18 de Oct. de 2014
The only problem I see is that the function you are solving is not a function of ‘K’.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Partial Differential Equation 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!