필터 지우기
필터 지우기

how to construct the 10x10 matrix

조회 수: 2 (최근 30일)
asram eluru
asram eluru 2014년 3월 26일
댓글: asram eluru 2014년 3월 26일
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

채택된 답변

Salaheddin Hosseinzadeh
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!
  댓글 수: 1
asram eluru
asram eluru 2014년 3월 26일
thank you for your reply this is very helpful for my p.hd work in statistics.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by