필터 지우기
필터 지우기

I only need the output from the last iteration

조회 수: 2 (최근 30일)
LightFury Yeji
LightFury Yeji 2021년 1월 29일
댓글: LightFury Yeji 2021년 1월 29일
This code repeats 0.1 to 0.9 x-values (first column) with its corresponding wij values (second column) 50 times, but I only need the output from the last 0.1-0.9 iteration (as highlighted). These values are correct, I need the other values to not show up.

채택된 답변

Stephen23
Stephen23 2021년 1월 29일
편집: Stephen23 2021년 1월 29일
Wrap disp in a suitable if statement, e.g.:
if j==N
disp(..)
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by