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...
7年弱 前 | 7
| 採用済み
質問
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...
7年弱 前 | 2 件の回答 | 1