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
Doug Hull 2012 年 3 月 13 日

0 投票

If they have been brought into the workspace as two variables, x,y then you will use the command:
plot(x,y)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

タグ

質問済み:

Jim
2012 年 3 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by