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에서 Matrices and Arrays에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by