using one fprintf statement to display multiple numbers?

In the attached document, how do i write one fprintf statement to show the percentage of rolling each number, and we have to include it in a loop. I'll attach my code, am i on the right track?

 采纳的回答

Study the example at
doc fprintf % "Write Table to Text File" link _carefully_.
The answer to your problem is hidden there...

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by