How to construct matrix for values have index?
Mostrar comentarios más antiguos
I'm trying to construct a matrix H as the following pic. How can we write alpha _(-k,k) to get for example alpha _(0,0) or alpha _(-1,3) in Matlab?

Respuestas (1)
Sulaymon Eshkabilov
el 7 de Oct. de 2019
0 votos
Hi,
In this case, one of the possible easy solutions is to introduce new index series for alpha w.r.t its given values. As you know the index values can't be 0 or negative. Then insert them into H, e.g. H(1,1) = alpha(1);...
1 comentario
Omar B.
el 7 de Oct. de 2019
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!