Hello friends. In this lecture, we are going to have a look at the different kinds of MATLAB data types.
As we have already seen in previous lectures, MATLAB stands for MATrix LABoratory and allows us to store numbers in the form of matrices.
Elements of a matrix are entered row-wise, and consecutive row elements can be separated by a space or a comma, while the rows themselves are separated by semicolons. The entire matrix is supposed to be inside square brackets.
Note: round brackets are used for input of an argument to a function.
A = [1,2,3; 4,5,6; 7,8,9];
An individual element of a matrix can also be called using ‘indexing’ or ‘subscripting’. For example, A(1,2) refers to the element in the first row and second column.
A larger matrix can al ...
Hello friends! I hope you all had a great start to the new year.
In our first lecture, we had looked at the MATLAB prompt and also learned how to enter a few basic commands that use math operations. This also allowed us to use the MATLAB prompt as an advanced calculator. Today we will look at the various MATLAB keywords, and a few more basic commands and MATLAB functions, that will help us keep the prompt window organized and help in mathematical calculations. We are also going to get familiar with MATLAB’s interface and the various windows. We will also write our first user-defined MATLAB functions.
MATLAB keywords and functions
Like any programming language, MATLAB has its own set of keywords that are the basic building blocks of MATLAB. These 20 building blocks can be called by simply ...
Hello Friends! I hope you all are doing great welcoming 2022. With the start of the New Year, we would like to bring to you a new tutorial series. This tutorial series is on a programming language, plotting software, a data processing tool, a simulation software, a very advanced calculator and much more, all wrapped into one package called MATLAB.
We would welcome all the scientists, engineers, hobbyists and students to this tutorial series. MATLAB is a great tool used by scientists and engineers for scientific computing and numerical simulations all over the world. It is also an academic software used by PhDs, Masters students and even advanced researchers.
MATLAB (or "MATrix LABoratory") is a programming language and numerical computing environm ...
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I am going to share my knowledge about Calculating Values of Trigonometric Functions in MATLAB. Trigonometric function have a great importance in latest mathematics. There are six types of trigonometric functions out of which first three are used more frequently in comparison to the other three. Trigonometric functions are important in the study of triangles.
Trigonometric functions show the relationship between the angles of the triangle and the lengths of its sides. The positive and negative signs with the trigonometric functions indicate the portion of the quadrants. Well known theorem of mathematics i.e. Pythagoras Theorem is used in case of the right angle triang ...
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I am going to share my knowledge about Generating Simple Signal in MATLAB. Signals are of great importance in our daily life. The signals are basically the graphical display of the analog values. We can estimate the severity level by the shape of the signals. The signals have a very wide range of applications in our daily lives. If we observe the shape of the AC voltages of 220V that is supplied in our homes, it is a sinusoidal signal. So, its an application of the signals.
Signals also play a vital role in the medical field. While performing ECG and EEG tests in hospitals, doctors visualize the signals displayed on the screen and they can estimate the severity of the ...
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I am going to share my knowledge about Affect of Noise on Signal in MATLAB. Noise is basically an unwanted signal that effects the normal signal. Noise the natural signal which can be removed but can be reduced to some extent. We can see a lot of examples of the signals effected by noise in our daily lives e.g. the distorted voice signal while calling, creates hearing problems, distorted TV signal makes the video invisible and the distorted AC signal can burn most of the home as well as other appliances.
In signal processing term, noise is also known as the unwanted signal which carries no useful information. To recover the original signal from the noise effected one, ...
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I am going to share my knowledge about how to convolve the signals using an amazing software tool, MATLAB. MATLAB is an efficient tool for signal processing. MATLAB basically works on matrices. First of all I would like to tell you a bit about the convolution. In engineering terms, convolution describes the output of the Linear Time Invariant (LTI) systems.
Convolution is basically an integral which tells us about the overlapping of one function as it is shifted over another function. Convolution and cross correlation are similar. It has a wide range of applications e.g. computer vision, probability, statistics, engineering, differential equations, signal processing etc. ...
Buy This Project
Hello friends, I hope you all are doing great. In today's tutorial, I am going to show you How to do ECG Digitization in MATLAB. If you are new to ECG signals then you should have a look at Introduction to ECG. I have also posted many different simulations on ECG in which I have extracted different features of ECG signals but in today's tutorial, we are gonna extract the ECG signal itself from its image. I have also saved this ECG signal in a txt file so that you can use it. This code is not open source and you can buy it from our shop by clicking the above button.
I have designed a GUI in MATLAB and it will take image of ECG signal as an input and then will give the digital form of that ECG signal as an output. There are few res ...
Buy This Project
Hello friends, I hope you are doing great. Today, I am going to share an expert level project which is ECG Averaging in MATLAB. If you are new to ECG then you should have a look at Introduction to ECG. I have already shared ECG Simulation using MATLAB in which we have seen how to simulate an ECG signal and then diagnose heart disease. We have also extracted ECG features in that project. So, if you guys haven't read that tutorial then I would suggest you to not read this one. First read ECG Simulation using MATLAB and then you should read this tutorial. Today's project is quite an extension of our previous project ECG Simulation using MATLAB. Our team has designed this project after quite a lot of effort that's why its not free to ...
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I am going combine all of my previously published tutorials based on MATLAB Image Processing. Image processing can be defined as to convert an image into digital form and to perform some actions on it to improve its quality. I have published a number of tutorials on MATLAB image processing but they are not well arranged. So, I am going to combine the links for all of them in order to access them easily. All of the projects that I am going to combine today, are designed and compiled by our team with a lot of hard work.
A number of MATLAB Image Processing based tutorials are compiled into this single tutorial. These are divided into two different categories i.e free and ...