I'm writing a code to help people on mental computation. To do so, I want to display a sum with the symbol "+" between two numbers located in a vector.
I know it should be simple but I did not succeed so far. Here is an example:
I want to display on command window:
>> 10 + 11
The values 10 and 11 are located in a vector such as:
I tried to do the following code but it doesn't work:
sum_1= [calc(1)," + ", calc(2)];
Can you help me please. Thank you very much.