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 commentaire

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

Connectez-vous pour commenter.

Réponses (1)

Sabin
Sabin le 11 Fév 2023

0 votes

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

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Produits

Question posée :

le 13 Nov 2014

Réponse apportée :

le 11 Fév 2023

Community Treasure Hunt

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

Start Hunting!

Translated by