Effacer les filtres
Effacer les filtres

plot missing in matlab

3 vues (au cours des 30 derniers jours)
Ayman Shaban
Ayman Shaban le 26 Mai 2021
Commenté : Ayman Shaban le 26 Mai 2021
the problem is that when i asked to plot an audio file it gives an error on the line of the plot
  1 commentaire
Walter Roberson
Walter Roberson le 26 Mai 2021
Please show how you are asking to do the plotting, and show how you create the variables that you pass in to the plot call.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 26 Mai 2021
You cannot plot() a file by name. You need to read the data such as by using audioread(), and plot the data that results.
  8 commentaires
Ayman Shaban
Ayman Shaban le 26 Mai 2021
Attempt to execute SCRIPT plot as a function:
D:\apps\matlab extracted\bin\plot.m
Error in Untitled2 (line 6)
plot(t, g);
Ayman Shaban
Ayman Shaban le 26 Mai 2021
thank you, i solve the problem
it was because there is a file called plot.m in matlab files

Connectez-vous pour commenter.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by