필터 지우기
필터 지우기

How to solve a nonliner equation ?

조회 수: 2 (최근 30일)
andrea
andrea 2020년 10월 20일
답변: KSSV 2020년 10월 20일
Hello, so I have a nonlinear equation which is actually in the form of an array of values called y, and i would like to finde the zeros of this array so I am usigin fsolve but i got the error :
Error using lsqfcnchk (line 108)
FUN must be a function, a valid character vector expression, or an inline function object.
So I understand the problem is that y is a simple array of values but there is a way I can find the solution of this array i.e I can plot the array with plot(x,y) and I want to find the intersection with the y = 0 axis , is this possible ?

답변 (1개)

KSSV
KSSV 2020년 10월 20일
If you want o find the intersection, you can use this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections
You can pick the minimum using min.

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by