![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25671564_1645507734064_DEF.jpg)
Umesh Kharad
Followers: 0 Following: 0
Feeds
提问
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...
2 years 前 | 1 个回答 | 0
1
个回答已回答
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:...
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 前 | 0
提问
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 前 | 4 个回答 | 0