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 个评论

Nathan - did you obtain the Bry-Boschan from the File Exchange, or elsewhere?

请先登录,再进行评论。

回答(1 个)

Sabin
Sabin 2023-2-11
phase is also a buitin function in MATLAB. I suspect this is causing the problem.

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

产品

提问:

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