How to plot values from excel sheet

4 ビュー (過去 30 日間)
krishnasri
krishnasri 2015 年 3 月 30 日
コメント済み: krishnasri 2015 年 3 月 30 日
I've 60x3 values in excel sheet. I want to plot all those values. can u tell me how to do so. can i use plot3() function? or how can i do so?

採用された回答

Ortinomax
Ortinomax 2015 年 3 月 30 日
First of all, you must to import these values in your workspace in Matlab.
So you have to use the xlsread function (other methods exist but this one is simple):
values= xlsread('myExcel.xslx',1,'A1:C60');
After that, you can plot in 3d with something like :
plot3(values(:,1),values(:,2),values(:,3))
  1 件のコメント
krishnasri
krishnasri 2015 年 3 月 30 日
Thank you so much.. It is satisfying my problem..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by