## Conditional Plotting in Matlab

By now, you should have learned the basics of plotting in Matlab using previous post. In this session we want to look closer to how we can plot a conditional plot using Matlab Here is an easy example of a conditional plot plot f Conditional plotting in Matlab One of the way you can walk …

## Write a Function That Find the Volume of a 3D Rectangle in Matlab

There is a function behind every Matlab code that performs a computational task, and here is how you can create your own function that will help you go faster while working with Matlab. We will be creating a simple one-line code function in this post, just to help you have a glimpse into how creating …

## 3 Best Free Matlab Alternatives

In the world of tech devices, the Apple brand is the Holy Grail and wherever it is mentioned other tech brands usually bow their heads in shame. And same goes for Matlab the undisputed king of the numerical computations niche. This software is loved by both experienced engineers and students alike, saddled with the responsibility …

## Matlab Polynomial: Division and Multiplication

We have recently learned how to solve polynomial equations in Matlab, now we are going to visit a trick that will help you learn how to do Division and Multiplication of polynomial using Matlab. Polynomial Division example Polynomial Multiplication example Matlab Polynomial Multiplication of polynomial can be a very dreary task, so do the division …

## Left Division vs Right Matrix Division – Matlab

There are two operators allowing to divide in Matlab: The right division represented by the symbol / (slash) The left division represented by the symbol \ (Backslash) These two operators differ from each other Using numbers, the right division will be the conventional division we all day make use of, so Contrary to the right …

## Plotting Equations Using EZPLOT – Matlab

Plotting is a very important step in the study of a system since it helps understand the behavior and the restrictions of the system with less effort possible. Plotting an equation is not always an easy task especially if you have to work out all the parameters manually, luckily nowadays there are tons of tools …

## Scalar Functions in Matlab: E Matlab, Cosine Function and More

These are a few basic tools you will need to know if you are just starting learning Matlab. Scalar functions in Matlab Before fully diving into trigonometric functions, it is necessary to state that Matlab takes as input radians while working with trigonometric function meaning and uses the symbol pi for π Trigonometric sine Matlab …

## Matlab Solves System of Equations

Solving a system of equations with two unknowns is a very easy cake to bite but when the number of unknown exceed two, solving the system of equations becomes complicated and time-consuming. In this post, we are going to show you how you can use your computer and Matlab to solve a system of many …

## Matlab Matrix Operations – Exercise

Lately we have learned some basics about Matlab matrix operations. Here come the part 2 of that post, where we will test our abilities of manipulating matrices in Matlab Matlab matrix operation exercise Exercise 1 Create a 1 x 5 vector A with all elements equal to 0 Exercise 2 Create a 3 x 1 …

## Solve Equations With Unknown Coefficients With Matlab

We have so far been working with numbers, totally ignoring one of the most rewarding ability Matlab put to our use: the possibility to work with symbolic expressions. In many college algebraic courses, it is taught how to use and simplify equations with symbolic expressions, where one of the major task is to be learn …

## Matlab Exercises

It’s a great time to hit the road running. We have got enough Matlab lessons to start handing you some nice Matlab challenges to help you to assess yourself. Here are some Matlab exercises. Contents: Matlab Exercise 1 Matlab Exercise 2 Matlab Exercise 3 Matlab Exercise 4 Matlab Exercise 5 Matlab Exercise 6 Matlab Exercise …

## Sort a Matrix in Matlab

Sorting Matrices in Matlab is one of the easiest things to do when you happen to know the language to use to order the software to do so. In this example, we will deal with vectors, and we will write simple programs sorting a vector in the ascending and descending order all for the objective …

## Euler Method Matlab Code

The Euler method is a numerical method that allows solving differential equations (ordinary differential equations). It is an easy method to use when you have a hard time solving a differential equation and are interested in approximating the behavior of the equation in a certain range. Here we will see how you can use the …

## Write a Matlab Function That Rotate a Matrix by 90 Degrees

We have recently learned how to create functions in Matlab and make use of them. Feel free to have a look at it to know how you will fully make use of the following. In this session, we are going to see how we can write few lines of code to ask Matlab to help …

## Graph the Equation by Plotting Points

Linear equations are some of the simplest equations and the easiest to plot. These types of equations appear abundantly in most subareas of mathematics and mostly in applied mathematics. Graphing such an equation by plotting points comes down to finding points belonging to the graph using its equation. It is pretty simple to find the …