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 comentarios

Can you provide more insight about the problem, such as the meaning of k,j,y...
Ali Esmaeilpour
Ali Esmaeilpour el 10 de Nov. de 2019
Editada: Ali Esmaeilpour el 10 de Nov. de 2019
y(k+j) and yhat(k+j) are integers and lambda is a symbol

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Productos

Versión

R2018b

Preguntada:

el 10 de Nov. de 2019

Editada:

el 10 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by