How to call constant in MATLAB?

3 Ansichten (letzte 30 Tage)
Mahbubur Rahman
Mahbubur Rahman am 27 Jan. 2016
Kommentiert: Mahbubur Rahman am 27 Jan. 2016
Suppose I want to define a = X; b = Y, and then want the addition of a+b. How can I do that? I mean, how can I call a letter as a constant?
  2 Kommentare
jgg
jgg am 27 Jan. 2016
Please check over your question; there is no a or b in your problem statement. Additionally, are these numerical objects or symbolic objects? What is the context for your problem?
Mahbubur Rahman
Mahbubur Rahman am 27 Jan. 2016
Fixed it.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 27 Jan. 2016
‘How can I do that? I mean, how can I call a letter as a constant?’
If you want to do symbolic operations, you have to use the Symbolic Math Toolbox.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by