The required steps for the solution are: 1. Avoid plagiarism. 2. Do not use arti
The required steps for the solution are: 1. Avoid plagiarism. 2. Do not use artificial intelligence such as ChatGPT, etc. 3. Utilize MATLAB software and attach a screenshot of the…