how can write sigma in matlab???????

how can write sigma in a formool in matlab

1 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 1 月 10 日
What does that mean?

サインインしてコメントする。

回答 (2 件)

A Jenkins
A Jenkins 2014 年 1 月 10 日
編集済み: A Jenkins 2014 年 1 月 10 日

0 投票

If you are saying you want to put sigma, the greek letter σ, as a variable in a formula, you cannot. You must use english letters and numbers.
sig=3;
alp=5*sig;
(I wouldn't use the variable name sigma, because that is also a function.)

1 件のコメント

sama h
sama h 2014 年 1 月 10 日

no I want to sum many number with

サインインしてコメントする。

Youssef  Khmou
Youssef Khmou 2014 年 1 月 10 日

0 投票

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
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.
Youssef  Khmou
Youssef Khmou 2014 年 1 月 10 日
Correct .

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLabels and Annotations についてさらに検索

タグ

質問済み:

2014 年 1 月 10 日

コメント済み:

2014 年 1 月 10 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by