photo

Ahoora Saadat


Last seen: oltre 4 anni fa Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta