フィルターのクリア

For or If loop with system of equations with initial value of zero.

1 回表示 (過去 30 日間)
Luis
Luis 2015 年 3 月 19 日
コメント済み: Luis 2015 年 3 月 19 日
Hello can someone can help or guide me to creating this code. I have a system of equations that I want to insert into a for or if loop. The first equation has variables from the second equation but can be considered to be zero initially, this goes for the following equations as well e.g. y1=exp(y2*t)/exp(t), y2=exp(y3*t)/exp(y1*t) etc where t is time. After the first iteration I want to insert the already calculated value into their respective variable. Any help will be appreciative Thanks.
  4 件のコメント
James Tursa
James Tursa 2015 年 3 月 19 日
What are the equations?
Luis
Luis 2015 年 3 月 19 日
something like this
y1=exp(y2*t)/exp(t)
y2=exp(y3*t)/exp(-y1*t)
y3=exp(y4*t)/exp(-y2*t)
y4=exp(y5*t)/exp(-y3*t)
y5=exp(y6*t)/exp(-y4*t)
y6=exp(y5*t)/exp(t)

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by