Computer science is the study and the science of the theoretical foundations of information and computation and their implementation and application in computer systems.
Why use a GUI in MATLAB? The main reason GUIs are used is because it makes things simple for the end-users of the program. If GUIs were not used, people would have to work from the command...
Matlab Tutorial 9 – Numerical Methods
In this tutorial we mention some useful commands that are used in approximating various quantities of interest.
We already saw that MATLAB can find the roots...
Matlab Tutorial 8 – Polynomials in MATLAB
Even though MATLAB is a numerical package, it has capabilities for handling polynomials. In MATLAB, a polynomial is represented by a vector containing its...
Matlab Tutorial 7 – If statement
There are times when you would like your algorithm/code to make a decision, and the “if” statement is the way to do it. The general syntax in MATLAB is as follows...
Matlab Tutorial 6 – Loops
We will now cover some commands for creating loops, which are not only used in writing m-files, but in regular MATLAB sessions as well. The examples that we will give will...