11-06-2025 - System Analysis - Matlab & Simulink [EN]-[IT]

image.png


~~~ La versione in italiano inizia subito dopo la versione in inglese ~~~


ENGLISH

11-06-2025 - System Analysis - Matlab & Simulink [EN]-[IT]
With this post I would like to give a brief instruction about the topic mentioned in the subject
(code notes: X_89)

image.png

image created with artificial intelligence, the software used is Microsoft Copilot

What are Matlab & Simulink
To analyze and study system models there are some very useful tools today.
Matlab and Simulink are tools with which you can perform various simulations.
Matlab is the acronym for MATrix LABoratory, it is a numerical calculation environment and a high-level programming language.
In addition to performing numerical calculations, processing data, creating graphics, it can also develop algorithms.
Other features of Matlab are:
-It works with dynamic systems and automatic control
-It also supports machine learning, deep learning, and AI

Matlab has a main page that is essentially its entire workspace. The screen is in fact defined in jargon, just like Workspace. The wrokspace is the work environment where the variables declared by the MATLAB program are loaded/saved.

What can you do with Matlab
In the Matlab environment you can define vectors, create matrices and do operations with them. For matrices Matlab offers many possibilities, such as calculating the determinant of a matrix or the rank.
It is important to remember that Matlab is case sensitive, that is, “A” (large letter A) and “a” (small letter a) define different variables.

What is Simulink?
Simulink is a graphical environment of the MATLAB program, useful for simulating systems. We can say that it is an extension of MATLAB for graphical modeling and simulation of dynamic systems.
It allows you to draw blocks to represent systems.
Example uses
With simulink you can simulate an electric motor controlled by PID
You can proceed with the modeling of an ABS braking system
You can do a virtual test of an automatic control algorithm

Is Matlab a programming language or a computing environment?
Here we are with one of the most classic questions.
Let's specify that with Matlab you can create a model for the braking system of a vehicle, you can compare tests resulting from simulations, simulate the performance of a machine.
But for those who do not know Matlab well, the first question that one asks is whether it is a programming language or a computing environment. Below is the answer.
Matlab is both a programming language and a numerical computing environment.
The MATLAB language is highly appreciated for its ease of use and for the wide range of integrated functions, which allow you to work quickly on matrices, dynamic systems and machine learning algorithms.
With the Simulink extension, Matlab is completed and also becomes a visual tool with which to create models of dynamic systems and visually see the results they produce.

Link to the official Matlab website
https://www.mathworks.com/products/matlab.html

below a screenshot taken from the official website, link above.

image.png

Conclusions
With Matlab you can simulate electrical networks and do advanced statistics, while with Simulink you can simulate continuous and discrete time systems. In conclusion we can say that MATLAB is ideal for analyzing, calculating, and writing code, while Simulink is excellent for visually simulating and testing systems in an intuitive way.

Question
Did you know that Tesla uses MATLAB and Simulink for the design and development of its electric vehicles?



ITALIAN

11-06-2025 - Analisi dei sistemi - Matlab & Simulink [EN]-[IT]
Con questo post vorrei dare una breve istruzione a riguardo dell’argomento citato in oggetto
(code notes: X_89)

image.png

immagine creata con l’intelligenza artificiale, il software usato è Microsoft Copilot

Cosa sono Matlab & Simulink
Per analizzare e studiare modelli di sistemi ci sono oggi degli strumenti molto utili.
Matlab e Simulink sono strumenti con cui si possono effettuare varie simulazioni.
Matlab è l'acronimo di MATrix LABoratory, esso è è un ambiente di calcolo numerico e un linguaggio di programmazione ad alto livello.
Esso, oltre a eseguire calcoli numerici, elaborare dati, creare grafici, riesce anche a sviluppare algoritmi.
Altre caratteristiche di Matlab sono:
-Lavora con sistemi dinamici e controllo automatico
-Supporta anche machine learning, deep learning, e AI

Matlab ha una pagina principale che sostanzialmente è tutto il suo spazio di lavoro. La schermata infatti viene definita in gergo, proprio come Workspace. Il wrokspace è l'ambiente di lavoro dove vengono caricate/salvate le variabili dichiarate dal programma MATLAB.

Cosa si può fare con Matlab
Nell’ambiente di Matlab si possono definire dei vettori, creare matrici e fare operazioni con esse. Per le matrici Matlab offre molte possibilità, come calcolare il determinante di una matrice o il rango.
E' importante ricordare che Matlab è case sensitive, cioè “A” (lettera A grande) e “a” (lettera a piccola) definiscono variabili diverse.

Cos'è Simulink?
Simulink è un ambiente grafico del programma MATLAB, utile per la simulazione di sistemi. Possiamo dire che esso è un’estensione di MATLAB per la modellazione grafica e la simulazione di sistemi dinamici.
Permette di disegnare blocchi per rappresentare i sistemi.
Esempi d'uso
Con simulink si può simulare in motore elettrico controllato da PID
Si può procedere con la modellazione di un sistema frenante ABS
SI può fare un test virtuale di un algoritmo di controllo automatico

Matlab è un linguaggio di programmazione o un ambiente di calcolo?
Eccoci qui ad una delle domande più classiche.
Specifichiamo che con Matlab si può creare un modello per il sistema frenante di un veicolo, si possono confrontare idei test derivanti da simulazioni, simulare le prestazioni di un macchinario.
Ma per chi non conosce bene Matlab la prima domanda che uno fa è se esso è un linguaggio di programmazione o un ambiente di calcolo. Di seguito la risposta.
Matlab è sia un linguaggio di programmazione, sia un ambiente di calcolo numerico.
Il linguaggio MATLAB è molto apprezzato per la sua facilità d'uso e per la vasta gamma di funzioni integrate, che permettono di lavorare rapidamente su matrici, sistemi dinamici e algoritmi di machine learning.
Con l'estensione di Simulink, Matlab si completa e diventa anche uno strumento visivo con cui creare modelli di sistemi dinamici e vedere visivamente i risultati che producono.

Link al sito ufficiale di Matlab
https://www.mathworks.com/products/matlab.html

qui sotto uno screenshot preso dal sito ufficiale, link qui sopra.

image.png

Conclusioni
Con Matlab si possono simulare reti elettriche e fare statistica avanzata, mentre con Simulink si possono simulare sistemi a tempo continuo e discreto. In conclusione possiamo dire che MATLAB è ideale per analizzare, calcolare, e scrivere codice, mentre Simulink è ottimo per simulare visivamente e testare sistemi in modo intuitivo.

Domanda
Lo sapevate che Tesla utilizza MATLAB e Simulink per la progettazione e lo sviluppo dei suoi veicoli elettrici?

THE END



10 comments
avatar

Matlab! Usato alle superiori tipo 20 anni fa e passa! Versione craccata per gli studenti 😂 chissà come è cambiato dal allora

!PIZZA

0
0
0.000
avatar

Anch’io non ho visto le ultime versioni di Matlab, ma chi l’ha usato mi ha parlato bene della parte grafica implementata da Simulink !LADY

0
0
0.000
avatar

I so much love this system analysis and how you are able to do everything together

0
0
0.000
avatar

thanks for stopping by and leaving a comment. I would like to clarify the following MATLAB and Simulink are software tools developed by MathWorks and widely used in engineering, science, finance. unfortunately, I have very little time, but I admit that I would really like to try to use these software and apply them in the finance sector. !LOLZ

0
0
0.000
avatar

If Tesla can make use of Matlab, it means Matlab is really useful
Nice course

0
0
0.000
avatar

Thanks for leaving a comment. I thought what you wrote too. There are other well-known companies in the world that use Matlab. Matlab is also used by Toyota and BMW. In the aerospace sector it is used by both NASA and Boeing. While in the industrial sector it is used by Siemens and ABB. !LUV

0
0
0.000
avatar

Elon Musk è uno di quei geni venuti al mondo per lasciare il segno. Il problema sono i nomi che hanno alcuni dei suoi figli. Immaginate quando suo figlio X avrà una ragazza: lei probabilmente gli dirà: "Ehi X, che ne dici se andiamo a cena?" e X risponderà: "Okay ,Ma non trattarmi così, X, sembra un po' dispregiativo hahaha

0
0
0.000
avatar

La tua deduzione è interessante. A me la lettera X ha sempre dato l’idea di un incognita. Quindi chissà cosa farà un giorno il signor X MUSK?! !DIY

0
0
0.000