photo

Umesh Kharad


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


script for Unit delay block
i have one signal for an ex: sig1 and i have add one unit delay block between signal and scope. I have to write m-script for thi...

1 year ago | 1 answer | 0

1

answer

Answered
I want to find 4 consecutive number which is present in array.
idx = [1 2 4 5 7 9 11 12 13 14 16]; for k=1:end if idx(k:k+3)==(idx(k):idx(k)+3) fprintf('error in position %g:...

2 years ago | 0

Question


I want to find 4 consecutive number which is present in array.
idx=[1 2 4 5 7 9 11 12 13 14 16] result should be ans= 11 12 13 14

2 years ago | 4 answers | 0

4

answers