findpeaks fails to execure in Cody coursework

조회 수: 2 (최근 30일)
Simone Orcioni
Simone Orcioni 2017년 10월 16일
편집: Simone Orcioni 2017년 10월 16일
The problem concerns the course:
Introduction to Digital Signal Processing, by Richard Radke; Lesson 2: Spectrum Representation of Signals
In particular in Lesson 2.1 and 2.2 the reference solution fails against the Test Suite with the following error:
================
Undefined function 'findpeaks' for input arguments of type 'double'.
Error in Test1 (line 3)
[pks,locs] = findpeaks(y);
=================
Also in student environment a copied correct solution fails the test.
In Matlab-online or in an computer-installed Matlab (2017b) the test (copied from coursework) works.
There is a way to use these lesson without changing the Test Suite deleting the call to findpeaks ??
best regards
Simone Orcioni
P.S.
In the same Test Suite also the function
ymat = chirp(t,0,t0,f0);
gives the error:
Undefined function 'chirp' for input arguments of type 'double'.
Error in Hidden test1

답변 (0개)

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by