Code debugging in MATLAB

You can debug your programs in the following ways: Divide the program into several shorter sections and try each section separately. Write the results of the calculations in the middle stages of the program flow. You can do this easily by removing the semicolon (;)...

Session 9: Familiarity with MATLAB environment 2

Introduction to MATLAB environment 2 Why Familiarity with Environment 2? In preparing this training course, we have studied, reviewed, and consulted a lot! As we said in the first meetings, we decided not to bombard the interested parties with MATLAB facilities and...

Session 08: Operations on Arrays in MATLAB

Introduction to Array Operations in MATLAB In the meeting with the MATLAB environment, we said that we can use MATLAB as a calculator. When you read the word calculator, what kind of calculator came to your mind? Simple calculators for shopkeepers or engineering...

Session 07: Indexing in MATLAB

An introduction to indexing in MATLAB All variables in MATLAB are arrays, so to work with MATLAB we need to know how to work with arrays. In solving various problems with MATLAB, it often happens that we need the following two features: To extract a specific element...

Session 06: Special matrices in MATLAB

In the previous session, we learned how to define arrays in MATLAB of different sizes. The problem, however, is that defining an array as a previous session (ie entering numbers manually) is appropriate for small arrays. Suppose we want to create a 100 × 100...

Session 05: Creating Arrays in MATLAB

MATLAB stands MATrix LABratory means Lab matrix well. The reason for this naming is that all MATLAB variables are arrays. That is, each variable can contain several elements. By array in MATLAB, we mean the same vector and matrix in MATLAB that you have definitely...

Session 04: MATLAB Tricks 1

Important constants in MATLAB tricks MATLAB has a set of special numbers and operators. In the following, we have introduced some frequently used cases.   Pi number in MATLAB The number π (pi or pi) is one of the most important constants in MATLAB. If you want to...

Session 03 : Define a variable in MATLAB

Command window in MATLAB In the command window, in front of the >> sign you can enter your commands. Then, press Enter to execute the commands in MATLAB. Without any explanation, let’s write the first command in MATLAB. We want to multiply two numbers....

Session 02: Familiarity with the MATLAB environment

Free MATLAB training is the name of one of the unique, complete and free collections of Artificial Intelligence Academy. You can see the list of free MATLAB training sessions in this link ( click ). In the first session of free training MATLAB, we want to provide you...

Session 01: What is MATLAB?

Introduction : In this session, we want to answer three questions: What is MATLAB? Why learn MATLAB? How to learn MATLAB? In short, in this session, our goal is to introduce you to MATLAB software and its capabilities.   What is MATLAB? Figure 1: MATLAB software...

Free MATLAB training

MATLAB software training can be divided into two levels: Basic level training Specialized level training   Basic level education is the same in all fields of study such as electricity, mathematics, computer, mechanics, civil engineering, etc. Because in the basic...

AMD processors now run the Matlab app without any problems

According to new announcements, AMD’s Ryzen and Theradripper series CPUs can now run the popular MATLAB application, which is intended for engineers and scientists, much better than before. MATLAB is a programming platform developed by MathWorks specifically for...

AUTOSAR

AUTOSAR – AUTomotive Open Systems ARchitecture OEMs have the same language for their works. OEMs have multiple suppliers in Tier1. OEMS usually use same Tier1 for implementation of their functionalities. using same language lead to that Tier1 can give services to...

MISRA C standard in Simulink by a simple example

In this post, I want to show that capability of Simulink in checking of MISRA-C standard. MISRA-C standard is an international standard that has been used by many industries in the world. It mostly used in Embedded system code generation. In these systems, the...