Fzero function error in matlab

1 visualización (últimos 30 días)
현준 김
현준 김 el 13 de Abr. de 2021
Respondida: Walter Roberson el 13 de Abr. de 2021
x = fzero(@(x) (707.34/(x-x^2)*(1+0.1*(10.589*(1-x)/x).^0.75)-(x-x^2)*9778.608 , 0.2) % << this equation is my equation
The error sign is below :
x = fzero(@(x) (707.34/(x-x^2)*(1+0.1*(10.589*(1-x)/x).^0.75)-(x-x^2)*9778.608 , 0.2)
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
what is wrong over the equation? please help me genius people!..
somebody help..

Respuestas (1)

Walter Roberson
Walter Roberson el 13 de Abr. de 2021
x = fzero(@(x) (707.34/(x-x^2)*(1+0.1*(10.589*(1-x)/x).^0.75)-(x-x^2)*9778.608 , 0.2)
1 2 1 2 3 2 3 4 5 4 3 2 3 2 1
You are missing one ) character.

Categorías

Más información sobre MATLAB 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