フィルターのクリア

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
  1 件のコメント
LightFury Yeji
LightFury Yeji 2021 年 1 月 29 日
This worked! Thank you so much :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by