フィルターのクリア

incrementing

2 ビュー (過去 30 日間)
student
student 2012 年 2 月 14 日
回答済み: Jeremy Eastwood-Smith 2018 年 11 月 11 日
Is there an easy way to increment numbers in MatLab like in c++? For example:
while end_condition
u(i++) = input('...');
if u(i) <= 0
end_condition = false;
end
end

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 2 月 15 日
Sorry, no there is not.

Jeremy Eastwood-Smith
Jeremy Eastwood-Smith 2018 年 11 月 11 日
you can write i = i+1 that will increment

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by