I had developed an MATLAB program code. But i'm getting some errors while running the code (for loop). It shows a error "Index Exceeded". So i want you to change the code accordingly. I had attached the files for details.
## Deliverables
I need to plot the graph (Gain vs Time). Please see the attached files for more details. Please don't hesitate to ask if you have any doubts.