issue with signal processing onramp course code submission

5 vues (au cours des 30 derniers jours)
Prithwiraj
Prithwiraj le 15 Sep 2023
Commenté : Image Analyst le 15 Sep 2023
In signalprocessing #chapter=6&lesson=1&section=1 , when I run the task 4, I am having this issue, although I have verified with the given solution everytime I submit this task getting this error " is data on x-axis correct" ,I think its a technical issue kindly help me resolve this issue
  2 commentaires
Prithwiraj
Prithwiraj le 15 Sep 2023
yes I agree! Infact I have to submit the course completion certificate today at AICTE portal for completion of MVIP programme of mathwork,today is the deadline

Connectez-vous pour commenter.

Réponse acceptée

Renee Coetsee
Renee Coetsee le 15 Sep 2023
Thank you for reporting this issue. This is a known bug and we are actively working on fixing it in the course.
In the meantime, the workaround for Task 4 to
  1. Click See Solution (left of the Submit button)
  2. Copy the entire solution from the solution script into the working script
  3. Submit Task 4
If that doesn't work, copy and paste the following code for Task 4:
% Find local maxima
maxIndices = islocalmax(pwr,"SamplePoints",t);
% Display results
figure
plot(t,pwr,"Color",[77 190 238]/255,"DisplayName","Input data")
hold on
% Plot local maxima
plot(t(maxIndices),pwr(maxIndices),"^","Color",[217 83 25]/255,...
"MarkerFaceColor",[217 83 25]/255,"DisplayName","Local maxima")
title("Number of extrema: " + nnz(maxIndices))
hold off
legend
xlabel("t")
Then in Task 5, Reset the script (left of the Submit button) and complete Task 5 normally.
  3 commentaires
Prithwiraj
Prithwiraj le 15 Sep 2023
worked thank you very much
Image Analyst
Image Analyst le 15 Sep 2023
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Parallel Computing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by