photo

Ahoora Saadat


Last seen: 4年以上 前 2016 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


How can I count the number of times the value of an array/vector/matrix changes value from x to y?
For example Let A = [1;2;1;1;1;3;5;5;5;1;1;1;6;3;4;2;8;6;6;6;6] How can I determine the number of times the value goes fr...

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

1

回答

質問


Hi, I've been given this question as part of my Programming for Mathematics module and have no idea how to do it.
Write a function EitherOr with the first line function z = EitherOr(x,y) that takes two truth values x and y, and returns true...

約8年 前 | 1 件の回答 | 0

1

回答