photo

Ahoora Saadat


Last seen: ungefär 4 år ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

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

mer än 7 år ago | 1 answer | 0

1

answer

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

nästan 8 år ago | 1 answer | 0

1

answer