필터 지우기
필터 지우기

How to create this matrix shown in the screenshot?

조회 수: 1 (최근 30일)
Ayush Kumar
Ayush Kumar 2022년 4월 27일
댓글: Ayush Kumar 2022년 4월 27일

채택된 답변

Prakash S R
Prakash S R 2022년 4월 27일
toeplitz() is your friend!
toeplitz([4 0 -2 0 0 0])
  댓글 수: 4
Torsten
Torsten 2022년 4월 27일
Logically, it should be
toeplitz([4, 0, -2, zeros(1,29)])
shouldn't it ?
Ayush Kumar
Ayush Kumar 2022년 4월 27일
Thanks!

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by