how to construct the 10x10 matrix
2 次查看(过去 30 天)
显示 更早的评论
if I am using the comand of 1:1:10 is giving [1 2 3 4 5 6 7 8 9 10] this is 1x10 matrix but I want 10 rows in the matrix and the values in each rows must be same given above.please help me is there any comand for constructing the 10x10 matrix
0 个评论
采纳的回答
Salaheddin Hosseinzadeh
2014-3-26
Hi
for this specific case is very easy, for other cases a little adjustment might be needed.
x=meshgrid(1:10);
Good Luck!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!