I need help regarding the error coming and also why these commas are coming up by themselves whereas they didn't come for the instructor.
Video Lecture which I am following for writing my equation:
This is my code which I was writing down on the matlab:

