フィルターのクリア

please help in typing these sigma equations in matlab script.

3 ビュー (過去 30 日間)
nayan gupta
nayan gupta 2022 年 10 月 13 日
回答済み: Sai 2022 年 10 月 18 日
please help me how to solve these equations(13-27; 13-25; 13-23; 13-22; 13-28; 13-30;) given in pdf in matlab.I'm unable to type and solve these equation in matlab.
  4 件のコメント
nayan gupta
nayan gupta 2022 年 10 月 13 日
Thank you for your concern sir.
I would love to give it a try but i am unable to type these sigma equations.
Torsten
Torsten 2022 年 10 月 13 日
sigma is sum() in MATLAB.
v = 1:10;
sum(v)
ans = 55
1 + 2 + 3 + 4 +5 + 6 + 7 + 8 + 9 + 10
ans = 55

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

回答 (1 件)

Sai
Sai 2022 年 10 月 18 日
I understand that you are facing the issue with the usage of summation in your MATLAB code.
You can use available MATLAB function “sum” which replicates the same as that of summation in math.
You can also refer to the following documentation for future reference:
Following code snippet may help you to resolve the issue:
%Assume Xi
Xi = [1, 2, 3, 6, 2, 8, 9, 1, 7]
sum(Xi)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by