photo

Sebastiano Inturrisi


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

3 Questions
0 Answers

RANK
97,776
of 300,343

REPUTATION
0

CONTRIBUTIONS
3 Questions
0 Answers

ANSWER ACCEPTANCE
66.67%

VOTES RECEIVED
0

RANK
 of 20,926

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,172

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

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How do I create a string for values
I have written this code to produce values from 1 - 3 with set probabilities: B = randi(3,1); P = B; for i = 1:50 ...

7 years ago | 3 answers | 0

3

answers

Question


How do I create the follow array: [0 0 0 ... 0 1 2 ... 100 100 100], where there are 100 zeros on the left and 100 100's on the right? I must use the colon operator.
For previous questions I just used, for example, [0:0.01:1], to create the array from 0 to 1 using increments of 0.01. I just do...

8 years ago | 1 answer | 0

1

answer