photo

Nicolò Castellani


Last seen: 5 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
104,766
of 300,674

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,041

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,032

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 can I count the number of 1 after every element of the vector?
I have this vector of 1 and 0: X= [1 1 1 1 0 0 1 1 0 1 0 1 0 0 1 1] I want to create a vector Y that counts for every element ...

6 years ago | 1 answer | 0

1

answer

Question


How to count the number of 1 between two 0 in a vector?
I have this vector: [0 1 1 1 0 0 1 0 1 1 0 1] I want to create a vector that every time that I have 1 or more consecutive 1 it...

6 years ago | 2 answers | 0

2

answers