Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

writing out equation in matlab with summation.

1 vue (au cours des 30 derniers jours)
John Smith
John Smith le 17 Oct 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am trying to solve a simultaneous equation in MATLAB and to write this function down I needed to use symsum.
So for example I have code similar to this:
syms k d(k)
symsum(d(k),1,10) = d(1)+d(2)+...+d(10)
Where the d(k)'s are supposed to be a vector of eigenvalues that I have computed before but once d(k) has been written as a symbolic function then I lose the eigenvalues stored in the vector d. Is there a way aroudn this problem as I cannot seem to find one in MATLAB.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by