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 Kommentar

Geoff Hayes
Geoff Hayes am 13 Nov. 2014
Nathan - did you obtain the Bry-Boschan from the File Exchange, or elsewhere?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sabin
Sabin am 11 Feb. 2023

0 Stimmen

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

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 13 Nov. 2014

Beantwortet:

am 11 Feb. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by