how to define index for a matrix as integer

4 visualizaciones (últimos 30 días)
sundus
sundus el 9 de Mayo de 2014
Comentada: dpb el 9 de Mayo de 2014
[i]=mod(D(1),N)+1; I got this error Attempted to access M(2,2); index must be a positive integer.
while the value of i was 2.0000
  1 comentario
dpb
dpb el 9 de Mayo de 2014
Need in context including size(M). The answer is in what isn't shown and likely not exactly here as 2,2 are both positive integers.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by