plot missing in matlab

3 次查看(过去 30 天)
Ayman Shaban
Ayman Shaban 2021-5-26
the problem is that when i asked to plot an audio file it gives an error on the line of the plot
  1 个评论
Walter Roberson
Walter Roberson 2021-5-26
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.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2021-5-26
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 个评论
Ayman Shaban
Ayman Shaban 2021-5-26
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 2021-5-26
thank you, i solve the problem
it was because there is a file called plot.m in matlab files

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by