How to plot a graph to the values in .txt file
显示 更早的评论
Hi,
I need to plot a graph for the values of x,y
The values are in .txt file
Each one having 52 values
I imported the file into work space
I need to plot a graph between them
Can u suggest anything about this
Thanks in advance
回答(1 个)
Doug Hull
2012-3-13
If they have been brought into the workspace as two variables, x,y then you will use the command:
plot(x,y)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!