how can write sigma in matlab???????
74 次查看(过去 30 天)
显示 更早的评论
how can write sigma in a formool in matlab
回答(2 个)
Youssef Khmou
2014-1-10
You have specify your question, sum as letter, symbolic , numeric??
1.sum(X), % sums the elements of the vector
2.sum(sum(X)) % sums the elements of matrix
3.for n=1...S=S+quantity % summation in loop
...
2 个评论
Image Analyst
2014-1-10
Or maybe even the symbol sigma in a title or xlabel or ylabel or some other string on the GUI. Another way to sum all the elements is sum(X(:)) which works for X of any dimension.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!