how to write summation with limits?
28 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hi, How can I write the following functions in matlab?
2 Kommentare
Antworten (1)
Birdman
am 5 Apr. 2018
Try this:
syms mu variance x(i)
n=5;% you can change it
mu=symsum(x,i,1,n)/n
variance=symsum((x-mu).^2,i,1,n)/n
0 Kommentare
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!