How to call constant in MATLAB?

조회 수: 3 (최근 30일)
Mahbubur Rahman
Mahbubur Rahman 2016년 1월 27일
댓글: Mahbubur Rahman 2016년 1월 27일
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
jgg
jgg 2016년 1월 27일
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 2016년 1월 27일
Fixed it.

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2016년 1월 27일
‘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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by