I only need the output from the last iteration

1 次查看(过去 30 天)
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 中查找有关 Elementary Math 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by