Community Profile

photo

Harshitha Eshwar


Last seen: 約2年 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

All
  • Solver
  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


count repeated sequence in an array
data=[0 0 0 1 1 0 0 0 0 0 0 1 1 1 1] L = length(data) result0 = sum (data == 0) result1 = sum (data == 1) ctr1 = 0; ...

2年以上 前 | 1 件の回答 | 0

1

回答

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2年以上 前

質問


find number of zeros in an array
data = [ 0 0 0 1 1 0 0 0 0 0 0 1 1 1] %need the outpout as : length of each zero= (3,6) length of each ones = (2,4)

2年以上 前 | 1 件の回答 | 0

1

回答

質問


define an array with 15 abbreviations of the same kind
n= park_assist; m=32; c = cell (1,n); for k = 1:n c{k} = zeros (1,m);

2年以上 前 | 0 件の回答 | 0

0

回答