What is u(1:1+int,1)?

8 visualizaciones (últimos 30 días)
Yilmaz Sagdic
Yilmaz Sagdic el 12 de Nov. de 2019
Respondida: Nadir Altinbas el 12 de Nov. de 2019
Hello everybody,
I am looking for what is the meaning of u(1:1+int,1) ? I searched but i wasn't able to find what is this and purpose. I thought it is incrementing first row for each step. Am I wrong? Thank for your help..

Respuesta aceptada

Nadir Altinbas
Nadir Altinbas el 12 de Nov. de 2019
u(1:1+int,1) this type commands represents unit step where 1+int depends on and interval increment by one and its usage by (for ....)
see also

Más respuestas (1)

Fangjun Jiang
Fangjun Jiang el 12 de Nov. de 2019
Do the following line by line to unerstand it
u=magic(6)
int=4
1:1+int
u(1:1+int,1)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by