how to create diagonal matrix while there is condition for each diagonal element

Greeting, I wanted to create a diagonal matrix that its elements are conditional as shown in the picture:

댓글 수: 2

Can you provide more insight about the problem, such as the meaning of k,j,y...
y(k+j) and yhat(k+j) are integers and lambda is a symbol

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 11월 10일

편집:

2019년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by