how to make a row for an iteration?

1 visualización (últimos 30 días)
SITI AISHAH
SITI AISHAH el 14 de Jul. de 2019
Respondida: Le Vu Bao el 14 de Jul. de 2019
Hi guys ! Help me with this please. How to array the row without repeating 'Table for iteration' and 'Tf .....T_average'?
1.png

Respuestas (1)

Le Vu Bao
Le Vu Bao el 14 de Jul. de 2019
Just simply add an indexed variable to store all your result to variable
for i=1:n
% Store variable (i)= processed/function...
I(i,1)=i
I(i,2)=i*2
end

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by