how to represent the mathematical parameter in matlab?
1 次查看(过去 30 天)
显示 更早的评论
Here,
how to write the summation and its limits in matlab.
0 个评论
采纳的回答
Wayne King
2012-9-28
编辑:Wayne King
2012-9-28
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)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!