how to apply operations (like multiplication) to character array?

조회 수: 3 (최근 30일)
mohammad
mohammad 2016년 2월 14일
댓글: Walter Roberson 2016년 2월 16일
how to apply operations (like multiplication) to character array like A=[a b c d] such that if i want to multiply the first element (a) in that array (A) to be finally appeared like that [a^2,ab,ac,ad] and then if i want to substitute the characters with any number like as : if a=2 then a^2=4 ,and if c=-3 then ac=-6 . thank you in advance

답변 (1개)

Star Strider
Star Strider 2016년 2월 14일
What you describe, requires the Symbolic Math Toolbox.
  댓글 수: 3
mohammad
mohammad 2016년 2월 16일
my friend , i don't need to know what my description requires ,i need to know what i have to do by requirement . thanks
Walter Roberson
Walter Roberson 2016년 2월 16일
Are you asking how to re-implement the Symbolic Toolbox, or are you asking for us to point you to the Symbolic Toolbox User Guide, or are you asking us to do your homework for you?

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

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by