How to use findpeaks command?

1 visualización (últimos 30 días)
kiruthika r
kiruthika r el 26 de Oct. de 2015
Comentada: Star Strider el 26 de Oct. de 2015
When I use the command "[pks,locs] = findpeaks(Avg,cx1)" I am getting error as
Error using uddpvparse (line 122) Invalid Parameter/Value pairs.
Error in findpeaks>parse_inputs (line 84) hopts = uddpvparse('dspopts.findpeaks',varargin{:});
Error in findpeaks (line 59) [X,Ph,Pd,Th,Np,Str,infIdx] = parse_inputs(X,varargin{:});
Error in paper6 (line 129) [pks,locs] = findpeaks(Avg,cx1)
What should I do? please help me.

Respuestas (1)

Star Strider
Star Strider el 26 de Oct. de 2015
What are the sizes of Avg and cx1? If cx1 is a vector, it must be the same size as Avg.
  6 comentarios
kiruthika r
kiruthika r el 26 de Oct. de 2015
I think I have to reinstall. Thank you so much.
Star Strider
Star Strider el 26 de Oct. de 2015
You definitely have my sympathies.
My pleasure.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by