photo

Tony Phan


Active since 2018

Followers: 0   Following: 0

Statistics

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...

mer än 6 år ago | 1 answer | 0

1

answer