photo

Ahoora Saadat


Last seen: environ 4 ans il y a Actif depuis 2016

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


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...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 8 ans il y a | 1 réponse | 0

1

réponse