photo

Nishant Ajnoti


Last seen: 5ヶ月 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


Index in position 1 exceeds array bound. Index must not exceeds 1.?
I'm finding this error in Line 124 : dN=[dN dist(v(i,:),A(r,:))]; of my code. Can anyone tell me how to solve this problem. c...

10ヶ月 前 | 1 件の回答 | 0

1

回答

質問


I have a string with 10 variables created using randi, between 0 and 1, in the last 5 variables (i.e 5-10 variables) i want maximum 2 places with 1 only (eg:- 1011101001).
I want in the last 5 variables, there to be maximum of two 1's only Acceptable :- 1110110100, 1011100010, 0010101100 etc. Not ...

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

1

回答