Community Profile

photo

Omer Badreldin


Last seen: ongeveer een jaar ago Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to extract the first character in a string when the string is eg. PReschooler?
Hey! I have a function that takes as input a string representing one of four age groups as well as a point score. My code does:...

bijna 5 jaar ago | 2 answers | 0

2

answers

Answered
How can I check in an arbitrary vector that the first index is greater than the next index and so on?
Thanks guys! I worked it out :-) I did this: function inv = inversions(board) % Input vector (test case) % board = [15 2 1 ...

bijna 5 jaar ago | 0

Question


How can I check in an arbitrary vector that the first index is greater than the next index and so on?
I'm thinking that I can make a for lp that runs through the length of the input vector and checks if the max is greater than the...

bijna 5 jaar ago | 2 answers | 0

2

answers