フィルターのクリア

Rectangular mesh using coordinates

12 ビュー (過去 30 日間)
Hrishikesh Das
Hrishikesh Das 2020 年 8 月 25 日
回答済み: KSSV 2020 年 8 月 25 日
I am trying to draw a mesh using the following co ordinates. Below is my code. Can someone tell me how to connect the point and create the mesh. Please help.
B =5;
x1 = linspace(0,5/10,10);
y1 = linspace((B-B/12),B,10);
[xxx yyy] = meshgrid(x1,y1);
coordinates = [xxx(:) yyy(:)];
plot(xxx,yyy,'b.')

採用された回答

KSSV
KSSV 2020 年 8 月 25 日
B =5;
x1 = linspace(0,5/10,10);
y1 = linspace((B-B/12),B,10);
[X,Y] = meshgrid(x1,y1);
plot(X,Y,'r',X',Y','r')
Also read about mesh.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by