how to construct the matrix of 10x1000

2 次查看(过去 30 天)
meshgrid(1:10) is giving 10x10 matrix and values are between 1 to 10. I want 10 rows and 1000 columns, values are between 1 to 10 same as meshgrid(1:10); please , is there any camand help me

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2014-3-26
编辑:Azzi Abdelmalek 2014-3-26
out=meshgrid(repmat(1:10,1,100),1:10)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by