Creating 3D graph
9 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Quite new to matlab. I am looking to plot a 3D surface.
I have three inputs;
Beta; 1x71
Lambda; 101x1
and Cp: 101x71
The values of Cp correspond to the values of beta and lambda. I am wondering if anyone has any tips on the best method to do this. I also have the created a table that I could import in excel if that is a useful step.
Thanks
0 件のコメント
採用された回答
KALYAN ACHARJYA
2021 年 3 月 4 日
編集済み: KALYAN ACHARJYA
2021 年 3 月 4 日
This way, see the surf plot
Beta=rand(1,71); % Change Data, here random sample data
Lambda=rand(101,1); % Change Data, here random sample data
[x,y]=meshgrid(Beta,Lambda);
Cp=rand(101,71); % Change Data, here random sample data
surf(x,y,Cp);
grid on;
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Bar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!