Maybe this question is misplaced, but I wasn't sure where should I post it.

I need to solve one problem in Matlab for school until Monday and I don't now how, so I decided to ask here for help.
...