Error Using ==> phase: Too many input arguments.
Show older comments
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
Geoff Hayes
on 13 Nov 2014
Nathan - did you obtain the Bry-Boschan from the File Exchange, or elsewhere?
Answers (1)
Sabin
on 11 Feb 2023
0 votes
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!