MATLAB MONDAYS💥- Crash Course part-1
Tags: matlab, beginners, matlabmondays
Published: 2021-06-28 05:05:56

  
Welcome one 🧭 Welcome all! ✌️ Today is the first MATLAB Monday, 👐 and we will learn about what is MATLAB ⚽ and how are variables declared in it. 🥏

**What is MATLAB?**- MATLAB stands for MATrix LABoratory. MATLAB is a scientific programming language.✨ It is mainly used for solving mathematical equations and data-visualization. Complicated systems can be better understood with this software. Speed and ease of writing are the salient features of MATLAB.
Professor Cleve Moler designed MATLAB. He did so with an intention to reduce heavy FORTRAN coding. The aim of the language was making an engineer friendly syntax.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ccd2tfo3drskbka1svmi.png)
MATLAB is used by students and engineers in many disciplines like Robotics, Astrology, Machine Learning, Image Processing and Biology. 

**MATLAB web browser** The MATLAB web browser let's us run MATLAB through the web. First, login (create a new account) using your university account. If you do not have a university account, you can use a free 30- day trial too!
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1cc7d7t2q2synxnwuutp.png)
 

**The command prompt**
MATLAB online contains the command prompt central to the page, where we can write our code. Similar to python, MATLAB let's us calculate numbers at the command prompt, and the answer is displayed in the command window. 
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/40fipam8fjgg66h1eiy4.png)
Adding a semicolon at the end of the statement prevents output from being displayed.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6tqukdai7gi74n6s1auz.png)

Similer to many languages, too small or too large values like the last one are displayed using scientific notation.

 MATLAB operators follow this order-
>1) Parenthesis
2) Exponentiation
3) Product and Division
4) Addition and Subtraction

So for complicated calculations, it is important to specify the brackets.

The command prompt can be quit using the command "exit"
 
**MATLAB VARIABLES**
We can declare variables using the '=' sign, that is the assignment operator.
The following are the rules for variable declaration in MATLAB are same as Python as below
> Variables must begin with a letter, are case sensitive, may contain only letters numbers or underscores

The variables declared are located at the left bottom side of the page. (WORKSPACE) The values of the variables are also displayed along with their class. Note that MATLAB treats 'ans' as a variable too. So whenever operations are performed, the variable 'ans' is overridden.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2jgrt0mzigicavtbg2il.png)
  



*to be continued....😏*
_____

😪Yes, I know learning MATLAB might be a bit of bore🙄...But never mind, no pain no gain💪🏻
For any suggestions or doubts, please comment below 👇, and I will be happy to help 🙂 🎗️ Follow me for updates...
Also, you can gmail me for any suggestion or help 🙌
[![LinkedIn][1.2]][1]
[![Gmail][2.2]][2]


[1.2]: https://img.shields.io/badge/linkedin-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white 
[2.2]: https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white

[1]: https://www.linkedin.com/in/aatmajmhatre/
[2]: https://aatmaj.mhatre@gmail.com

Bye for now 🖐
Meet you all soon👍

➕➖✖️➗