Hello there i am expert in Matlab/Simulink, i have downloaded your doc file and looked into it and i can do it, i have done many assignments, homework and projects of coding in image processing for other people.I have good experience in Matlab Coding,. i can help you in better way, i will send you explanation of coding with step by step, please message me in chat, i am waiting for your message, Thanks