How to simplify a symbolic expression sum of terms involving the Heaviside function
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mohamed
il 28 Feb 2024
Commentato: Dyuman Joshi
il 28 Feb 2024
sympref('HeavisideAtOrigin', 1);
syms m n
assume(n, {'positive','integer'})
s(n) = simplify(symsum(heaviside(m), m, [0, n]), 50)
How to obtain the symbolic sum ?
0 Commenti
Risposta accettata
Dyuman Joshi
il 28 Feb 2024
For that you have to assume the same for 'm' as well -
sympref('HeavisideAtOrigin', 1);
syms m n positive integer
s(n) = symsum(heaviside(m), m, [0, n])
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!