how to do summation using syms matlab inbuilt function for below equation
2 ビュー (過去 30 日間)
古いコメントを表示
Dr. P. PRAVEEN KUMAR
2019 年 3 月 27 日
コメント済み: Walter Roberson
2019 年 3 月 28 日
how to use syms matlab summation function for following equation
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/210777/image.png)
0 件のコメント
採用された回答
その他の回答 (1 件)
Dr. P. PRAVEEN KUMAR
2019 年 3 月 28 日
1 件のコメント
Walter Roberson
2019 年 3 月 28 日
I would not use either.
Your image uses k (lower-case) with k being multiples of 5. If you were to use k (lower-case) in your symsum then a reader would have a right to expect that your k (lower-case) had the same purpose as the k from the image, namely that it should be restricted to being multiples of 5. Therefore I use a different symbol, K (upper-case) that gets consecutive values, and which the formula transforms to get the needed k.
I would not syms j because in the image, since no information has been given that j might be something else, we can assume that j is the imaginary unit being used in its engineering notation. If j is intended to be something else, then the result of the summation would be quite different.
There are other ways of writing the expression that would use syms k, such as
syms k
sum( subs(1/(1+j)^k, k, [0 5 10 15]) )
or
sum( 1./(1+j).^[0 5 10 15] )
参考
カテゴリ
Help Center および File Exchange で Numbers and Precision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!