curvefitting of complex number

조회 수: 1 (최근 30일)
Supreeth D K
Supreeth D K 2022년 11월 3일
답변: Harshit Gupta 2022년 11월 15일
I get following error when i use Lsqcurvefit
Warning: Imaginary parts of complex X and/or Y arguments ignored.
> In myfun (line 11).
I want both real and imaginary parts
  댓글 수: 1
KSSV
KSSV 2022년 11월 3일
Run the function seperately for real and imaginary parts.

댓글을 달려면 로그인하십시오.

채택된 답변

Harshit Gupta
Harshit Gupta 2022년 11월 15일
Hi Supreeth,
As per my understanding, you are getting the following warning:
Warning: Imaginary parts of complex X and/or Y arguments ignored.
And you want both real and imaginary parts to be included in your plot, while using "lsqcurvefit".
Please refer below to resolve your query:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by