photo

Tony Phan


Active since 2018

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
109.702
of 300.392

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 20.934

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168.373

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

View by

1

answer

Question


I have a script already done I just need to add to the code so that i can run the code and store the index of the first 1 that occurs in a vector g. Can anyone help me add to the code to implement it?
for m = 1:200 x = zeros(200,1); x(m) = 1; x(1) = input('Enter initial positive integer:'); k = 1; whi...

meer dan 7 jaar ago | 1 answer | 0

1

answer