1 0 2 0 ..
0 2 0 3 ..
2 0 3 0 ..
0 3 0 4 ..
3 0 4 0 ..
: : : :

댓글 수: 1

Stephen23
Stephen23 2018년 12월 10일
@Azad Asadov: you tagged your question with "infinite matrix", which of course cannot be stored on any computer in the world.

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

 채택된 답변

Image Analyst
Image Analyst 2018년 12월 10일

2 개 추천

Another way:
c = [1 0 2 0 3];
r = [3 0 4 0];
h = hankel(c,r)
You'll see
h =
1 0 2 0
0 2 0 3
2 0 3 0
0 3 0 4
3 0 4 0

추가 답변 (1개)

Image Analyst
Image Analyst 2018년 12월 10일

0 개 추천

Try this:
m = [...
1 0 2 0; ...
0 2 0 3; ...
2 0 3 0; ...
0 3 0 4; ...
3 0 4 0]

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2018년 12월 10일

댓글:

2018년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by