b m
Followers: 0 Following: 0
Feeds
已回答
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...
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 前 | 6
| 已接受
提问
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 前 | 2 个回答 | 0