equation with scale vector

1 回表示 (過去 30 日間)
Tino
Tino 2019 年 5 月 31 日
編集済み: Tino 2019 年 5 月 31 日
Hello I have a cell P have size = 12000 1
P = [h{:}]
I want to implement this equation
e = 0.5
F0 = 1
F1 = e * P ^ (e - 1) * F0
F2 = e * P ^ (e - 1) * F1
F3 = e * P ^ (e - 1) * F2
F4 = e * P ^ (e - 1) * F3
This is done for each h down to the Fnth number. I would be grateful if any one can give me a short code for this computation Thanks in advance
Tino
  2 件のコメント
Rik
Rik 2019 年 5 月 31 日
So you want the formula to be repeated as many times as there are elements in P?
Tino
Tino 2019 年 5 月 31 日
Yes Rik

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

回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by