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 Comment

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

Sign in to comment.

Answers (1)

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

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Asked:

on 13 Nov 2014

Answered:

on 11 Feb 2023

Community Treasure Hunt

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

Start Hunting!