Spectral Analysis Techniques Course _ Issue plotting a window created with Window Designer in MATLAB
Afficher commentaires plus anciens
Hi everyone,
I'm working on the "Spectral Analysis Techniques" course on MathWorks, and I'm stuck on Task 1 of the "Create and Apply Windows" activity.
I followed the instructions to create a rectangular window using Window Designer, set the length to 2400, and saved it with the name w.
Now, the task says:
"Enter the command for plotting the window created in task 1. Plot w versus t."
I tried the following command:
plot(w, t)
But I got an error, and the course marks it as incorrect. I also tried:
plot(0:length(w)-1, w)
But that didn’t work either in the course platform.
It says:
❌ Is the x-axis data correct?
❌ Is the y-axis data correct?
Can anyone explain the correct way to plot the window in this case? I just want to display the rectangular window correctly in the time domain.
Thanks in advance for your help!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
