Info

この質問は閉じられています。 編集または回答するには再度開いてください。

symsum indexing with matrix

1 回表示 (過去 30 日間)
Penglin Cai
Penglin Cai 2020 年 6 月 9 日
閉鎖済み: Ameer Hamza 2020 年 6 月 10 日
i want to sum this:
The code i used:
syms j
S=[0,1,0,0,0;1/2,0,1/2,0,0;0,1/2,0,1/2,0;0,0,1/2,0,1/2;0,0,0,1,0];
C1=symsum(S(1,j),j,1,5);
The code reterned me error. I want to do the polynomial summation as shwon above. l also would like to extract the element in matrix S for different j. Could you tell me what is the correct code i need to use? Thank you.

回答 (0 件)

この質問は閉じられています。

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by