Borrar filtros
Borrar filtros

findpeaks fails to execure in Cody coursework

2 visualizaciones (últimos 30 días)
Simone Orcioni
Simone Orcioni el 16 de Oct. de 2017
Editada: Simone Orcioni el 16 de Oct. de 2017
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

Respuestas (0)

Categorías

Más información sobre Test Execution en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by