Error Using ==> phase: Too many input arguments.

i am running Bry-Boschan turning point analysis on Matlab,one of the code is:
[phase,eightPhases,eightPhasesNorm,gcal,indvPhases] = phase(peakobs,troughobs,ndfy,ndfm,ndly,ndlm,figure,bcoal);
running it returns:
Error Using ==> phase: Too many input arguments.
i look at the phase.m file in the Matlab folder, it only has on input, why did this happen? how to solve that?
Many thanks!

1 件のコメント

Geoff Hayes
Geoff Hayes 2014 年 11 月 13 日
Nathan - did you obtain the Bry-Boschan from the File Exchange, or elsewhere?

サインインしてコメントする。

回答 (1 件)

Sabin
Sabin 2023 年 2 月 11 日

0 投票

phase is also a buitin function in MATLAB. I suspect this is causing the problem.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

質問済み:

2014 年 11 月 13 日

回答済み:

2023 年 2 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by