Error in Find peaks giving a error message saying parse_inputs

When I try running my matlab code, two errors pop up. I am new to matlab and still trying to understand it as it is needed for my classes. Here are the two errors I am recieving:
Error in findpeaks (line 136)
= parse_inputs(isInMATLAB,Yin,varargin{:});
Error in Lab2 (line 106)
avgMA1 = mean(abs(findpeaks(x1)));
Please let me know if you know any ways I can fix this! Thanks!

1 Comment

What code you have tried which lead to this error?
What version you are using?

Sign in to comment.

Answers (0)

Asked:

on 24 Feb 2021

Commented:

on 24 Feb 2021

Community Treasure Hunt

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

Start Hunting!