Creating a matrix with for and input
14 ビュー (過去 30 日間)
古いコメントを表示
I have created a matrix n*2 that i want the user to input the data (cordinate X , Y)
geom=zeros(nnd,2);
for i=1:nnd
for j=1:2
????????
end
end
0 件のコメント
採用された回答
KALYAN ACHARJYA
2021 年 2 月 27 日
編集済み: KALYAN ACHARJYA
2021 年 2 月 27 日
nnd=input('Enter nnd ');
...
geom(i,j)=input('Enter the Value: ')'
..
geom
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!