how to represent equation in matlab???????

回答 (1 件)

Antony
Antony 2015 年 1 月 10 日

0 投票

First, you should specify tha values that k, p, n, i get. For example: k = 1:1:4 which means that k can take tha values 1, 2, 3, 4. Then, you can use 'if' statement to separate the two situations. For the sum, you can use the 'sum' function: http://uk.mathworks.com/help/matlab/ref/sum.html
Hope it helps a bit.
Antonios

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

質問済み:

2015 年 1 月 10 日

回答済み:

2015 年 1 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by