Community Profile

photo

Omer Badreldin


Last seen: 대략 1년 전 2019년부터 활동

Followers: 0   Following: 0

통계

Feeds

보기 기준

질문


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

거의 5년 전 | 답변 수: 2 | 0

2

답변

답변 있음
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 ...

거의 5년 전 | 0

질문


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

거의 5년 전 | 답변 수: 2 | 0

2

답변