can someone help me writing the matlab code for this arduino program ? Please

I need the code please help me