![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13508797_1536589541452_DEF.jpg)
Brandon Morgan
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
232 040
of 297 046
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 20 422
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 157 776
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
I have a random number generator when the input selects the interval length and only runs it if it is between 50 and 200. I was wondering how do I round the output of random numbers so that they are only integers?(ex. 0,1,2,3,4,5,6,7,8,9 )
n= input('Enter Vector Size'); if n>=50 && n<=200 R= [0,1,2,3,4,5,6,7,8,9]; z = rand(n,1)*range(R)+min(R) ...
mer än 6 år ago | 0 answers | 0
0
answersQuestion
Can anyone explain or show how to do this?
Prompt the user to enter a second INTEGER number (num2) from the keyboard where 2≤num2 ≤15 and then determine how many terms in...
mer än 6 år ago | 1 answer | 0