This repository contains a collection of MATLAB practice problems along with their solutions. The problems are sourced from the Coursera MATLAB Programming for Engineers and Scientists Specialization.
The repository is organized as follows:
MATLAB-Practice-Problems/
│
├── 1. MATLAB as a Calculator/
├── 2. Usain Bolt's Marathon/
├── 3. Colon Operator Practice/
├── 4. Matrix Indexing Practice/
├── 5. Matrix Arithmetic/
├── 6. A Simple Function/
├── 7. Corner Case/
├── 8. Taxi Fare/
├── 9. Minimum and Maximum/
├── 10. Matrix Construction/
├── 11. Practice if-statements/
├── 12. More If-Else Practice/
├── 13. Variable Number of Input Arguments/
├── 14. Date Validity Checker/
├── 15. Practice For-Loops/
├── 16. Practice while-loops/
├── 17. Logical Arrays Practice/
├── 18. Maximum Sum Subarray problem/
├── 19. Caesar cypher/
├── 20. Sparse Matrix/
├── 21. Excel File I/
├── 22. Character Counter/
├── 23. Saddle Points/
├── 24. Image Blur/
├── 25. Echo Generator/
├── .git/
└── README.md
Each folder contains a MATLAB script that solves the corresponding problem.
They are ordered according to difficulty, so anyone can start from 01 and move up while learning.
- Clone the repository:
git clone https://github.com/yourusername/MATLAB-Practice-Problems.git
- Navigate to the repository directory:
cd MATLAB-Practice-Problems
- Open MATLAB and run the scripts in the respective folders to solve the problems.
- Special thanks to Coursera for providing the problems from their MATLAB Programming for Engineers and Scientists Specialization.
Feel free to contribute to this repository by adding more problems or improving the solutions!