How can I solve this easy equation with fsolve? (beginner)
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Übel
le 18 Oct 2014
Réponse apportée : Star Strider
le 18 Oct 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 commentaires
Réponse acceptée
Star Strider
le 18 Oct 2014
The only problem I see is that the function you are solving is not a function of ‘K’.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Partial Differential Equation Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!