Need help on this Matlab problem

![Your Function Save C Reset MATLAB Documentation 1 function [ repPos, pinCodeFix ]pinCodeCheck( pinCode) % Your solution goes](https://media.cheggcdn.com/media%2F5a7%2F5a70126c-1898-40a6-8ca5-3a6c155c95e3%2Fphpr3hcYm.png)
![2 Code to call your function C Reset 1pinCode-[2,9,9,5,5,3]; repPos, pinCodeFix - pinCodeCheck( pinCode) Run Function Output](https://media.cheggcdn.com/media%2F4ed%2F4ede70c1-e79b-4af5-a493-23f786c29996%2FphpXZnFBW.png)
![Assessment: 1 of 4 Tests Passed Submit Check pinCodeCheck([2,9,9,9,8,2,4,9,8,9]) returns repPos- [3 4]. pinCodeCheck([2,9,9,9](https://media.cheggcdn.com/media%2F560%2F56049bd2-67a1-4f0c-aab8-d21403fa6e9a%2Fphp75IzJZ.png)
Pincode A pincode consists of N integers between 1 and 9. In
PayPal Gateway not configured
PayPal Gateway not configured
Need help on this Matlab problem

![Your Function Save C Reset MATLAB Documentation 1 function [ repPos, pinCodeFix ]pinCodeCheck( pinCode) % Your solution goes](https://media.cheggcdn.com/media%2F5a7%2F5a70126c-1898-40a6-8ca5-3a6c155c95e3%2Fphpr3hcYm.png)
![2 Code to call your function C Reset 1pinCode-[2,9,9,5,5,3]; repPos, pinCodeFix - pinCodeCheck( pinCode) Run Function Output](https://media.cheggcdn.com/media%2F4ed%2F4ede70c1-e79b-4af5-a493-23f786c29996%2FphpXZnFBW.png)
![Assessment: 1 of 4 Tests Passed Submit Check pinCodeCheck([2,9,9,9,8,2,4,9,8,9]) returns repPos- [3 4]. pinCodeCheck([2,9,9,9](https://media.cheggcdn.com/media%2F560%2F56049bd2-67a1-4f0c-aab8-d21403fa6e9a%2Fphp75IzJZ.png)
Pincode A pincode consists of N integers between 1 and 9. In
PayPal Gateway not configured
PayPal Gateway not configured