Borrar filtros
Borrar filtros

if i consider i=1:1000, what does ':' mean in x(i,:)

5 visualizaciones (últimos 30 días)
Nitesh
Nitesh el 17 de Ag. de 2015
Respondida: Torsten el 17 de Ag. de 2015
In a for loop what does : mean in x(i,:) if i consider i=1:1000??
my coding is:
t=20
for i=1:t
error(i,:)= errornew
end
Please help.
Thank you.

Respuesta aceptada

Torsten
Torsten el 17 de Ag. de 2015
It means that the first 20 rows of the matrix "error" are set to the vector "errornew".
Best wishes
Torsten.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by