Tag: matlab programming

3D Graph Plotting In MatLab(Illustrated Expression)
3D surfaces and graphs are very important in data analysis and expression of physical phenomenons. You can draw 3D graphs in Matlab® very easily. Here we will explain how to draw 3D graphs in Matlab® with the ‘mesh()’ command. How To Use ‘mesh()’ Command In Matlab® To Draw 3D Graphs? Creating 3D graphs in MatLab®…

Calculation Of Euclidean Norm Of Vectors In MatLab®(Illustrated Expression)
In some vector mechanics calculations or various kinds of mathematical calculations, the norms of vectors could be required. In Matlab®, you can calculate and index the Euclidean norms of vectors. In this article, we will show you how to index the Euclidean norms of vectors with the ‘norm()’ command in Matlab® with a very basic…

Sinusoidal Function In MatLab®(Illustrated Expression)
In mathematical calculations, sinusoidal values are frequently used. You can define the sinusoidal values in Matlab®. In this article we will show you; What kind of sinusoidal values can be calculated in mathematical relations in Matlab®? How to calculate arc values of sinusoidal values in Matlab®? How To Use Sinusoidal Functions In Matlab®? The sinusoidal…

Drawing Multiple Curves On One Graph In MatLab®(Illustrated Expression)
Sometimes, it can be very useful to show all graphs in one graph to analyze related data from this one graph. You can combine different curves in one graph in Matlab®. In this article drawing multiple curves on one graph figure in Matlab® is explained with a very basic example below. YOU CAN LEARN MatLab®…

Two Dimensional Graphs Drawing In MatLab®(Illustrated Expression)
Twodimensional graphs are frequently used in data analysis. Also, you could have to draw twodimensional graphs in Matlab® with various variables. In this article, we will explain how to draw twodimensional graphs in Matlab®. How To Draw Two Dimensional Graphs In Matlab®? To draw 2D graphs, you need to have 2 variables needed to be…

Use Of ‘diary’ And ‘type’ Commands In MatLab®(Illustrated Expression)
You can save the codes inside the Command Window on an instant basis with the ‘diary’ command in Matlab®. In this article, we will show you how to use the ‘diary’ command and how to call the commands with ‘type’ commands in Matlab®. How To Use ‘diary’ Command In MatLab®? You can take notes about…

Hyperbolic Sinusoidal Functions In MatLab®(Illustrated Expression)
In maths, hyperbolic values of sinusoidal functions are also used. Also, Matlab® has special functions to calculate these hyperbolic values of sinusoidal functions. In this article on Mechanicalland, we will explain how to calculate hyperbolic values of sinusoidal functions in Matlab® with very basic examples. How To Calculate Hyperbolic Sinusoidal Functions In Matlab®? The calculation of hyperbolic…

Displaying Variables In MatLab® With ‘disp()’ Code(Illustrated Expression)
The addition of displaying commands in codes could be very vital for the user of this code in Matlab®. Matlab® provides various kinds of displaying options to users and coders. One of them is the disp() command. It is a very basic and useful displaying command in Matlab®. In this article, we will show you…

Explanation And Use Of Numeric Formats In MatLab®(Illustrated Expression)
Numeric formats are a very important thing in Matlab®. You need to adjust your numeric format according to your calculation and calculation accuracy. It is not necessary actually in Matlab® but if you do this, you will define the standard numeric display and calculation in Matlab®. So in this article, we will explain; What are…

Calculation Of Absolute Values Of Numbers, Vectors And Matrices In MatLab®(Illustrated Expression)
There are lots of kinds of mathematical functions in Matlab®. These mathematical functions can be very useful when they are used properly in Matlab® codes. In this article, we will explain how to calculate the absolute values of variables such as integers, vectors, and matrices in Matlab®. How To Use ‘abs()’ Code To Calculate Absolute…

Assigning Characters To A Variable In MatLab®(Illutstrated Expression)
Assigning characters to variables is the very basic process in Matlab®. But it can be forgotten by Matlab® users and they can not remember how was it. Or you are a new learner of Matlab® and decided to learn Matlab® from Mechanicalland. In this article, we will show how to assign characters to variables in…

Basic Explanation of ‘IfElse’ In MatLab® Programming(Illustrated Expression)
Matlab® programming is a very useful tool for engineers or mathematicians to calculate or solve very complex mathematical problems. In this programming language, you can use general coding characteristics such as ‘ifelse’. In this article, we will explain how to use ‘ifelse’ in Matlab®. How To Use ‘IfElse’ In MatLab® Programming? We want to explain…