how to make a row for an iteration?

1 次查看(过去 30 天)
SITI AISHAH
SITI AISHAH 2019-7-14
回答: Le Vu Bao 2019-7-14
Hi guys ! Help me with this please. How to array the row without repeating 'Table for iteration' and 'Tf .....T_average'?
1.png

回答(1 个)

Le Vu Bao
Le Vu Bao 2019-7-14
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

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by