photo

b m


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Answered
Trying to display text and variable in a single output line. I was initially trying to use disp then a matrix then fprintf
name = 'Alice'; age = 12; X = [name,' will be ',num2str(age),' this year.']; disp(X) I FOUND A SAMPLE I WORKED OFF OF...

5 years ago | 6

| accepted

Question


Trying to display text and variable in a single output line. I was initially trying to use disp then a matrix then fprintf
desired output: The answer is: 800 % I am trying to display this sentence in a single line of output in the command wi...

5 years ago | 2 answers | 0

2

answers