how to represent the mathematical parameter in matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Here,
how to write the summation and its limits in matlab.
0 Kommentare
Akzeptierte Antwort
Wayne King
am 28 Sep. 2012
Bearbeitet: Wayne King
am 28 Sep. 2012
Is this a question about a symbolic computation, or a numerical one?
x = randn(100,1);
% sum of x for elements 10 to 30
sum(x(20:30))
Symbolic
syms k
% sum of k from k =1 to k= 10
symsum(k,1,10)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!