I m a basic learner of matlab. Ihave to solve a eq like Tk=(Tk+1)+Td where Td=1.72 by for loop.

2 ビュー (過去 30 日間)
I m looking like Td=1.72; T7=52; for k=6:2 Tk = (Tk+1)+Td; end but Tk and Tk+1 are not defined then I think I can solve it by array Calculations Plz help me as early as possible Plz

採用された回答

Matt J
Matt J 2012 年 11 月 23 日
編集済み: Matt J 2012 年 11 月 23 日
Perhaps you meant this?
T(7)=52;
for k=6:-1:1
T(k)=T(k+1)+Td;
end

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by