필터 지우기
필터 지우기

How do i store data with a command in matlab?

조회 수: 2 (최근 30일)
Nick Haufler
Nick Haufler 2015년 9월 29일
답변: Walter Roberson 2015년 9월 29일
I need to store data like it shows in this document in part B. How would i do that, is there a specific store values command or not.

채택된 답변

Image Analyst
Image Analyst 2015년 9월 29일
Nick, I don't know what you mean by store data - like store in a variable, or store in a file on disk. Perhaps for part B you just want to compute your variables and then print them to the command window with fprintf(), then transfer then to your homework form. If you don't even know how to create and use variables, then see this: http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab
  댓글 수: 1
Nick Haufler
Nick Haufler 2015년 9월 29일
So would I create a variable for each number on the dice? or just one single variable to store every number?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 29일
counts(roll) = counts(roll) + 1

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by