Affichage des articles dont le libellé est Matlab leveling. Afficher tous les articles
Affichage des articles dont le libellé est Matlab leveling. Afficher tous les articles

mercredi 4 novembre 2026

level 4 using mathmatics in Matlab niv.4. επίπεδο 4 χρησιμοποιώντας τα μαθηματικά στο Matlab; nov.4; Matlab Stufe 4

Matlab


Level 4 in Matlab – Niveau 4 en Matlab.

First part                    

Here i show you some communication toolboxes and general matlab simulink toolboxes  used in Matlab simulation and Engineeringgg.
simulink.

Matlab


Επίπεδο 4 στο Matlab - Niveau 4 el Matlab.
Πρώτο μέρος


Εδώ θα σας δείξω μερικά κουτιά επικοινωνίας και γενικά που 
χρησιμοποιούνται στο Matlab simulink.

 fig-1 Matlab tools, libiraries and toolboxes

In This part, I show you some common used tool boxes in the communication
 systems, and functions in the signal treatment circuits, and modifications applications used in automatic control systems, system control levels of developpement and conception.

#Σε αυτό το μέρος, σας παρουσιάζω ορισμένα κοινά χρησιμοποιημένα κουτιά στην επικοινωνία

# συστήματα επεξεργασίας σημάτων και εφαρμογές τροποποιήσεων που χρησιμοποιούνται στην


αυτόματο έλεγχο.
       fig-2 Example of a liberary with it's        tools boxes and models components inside component Lib.

here on the left you will find libraries and each library contains many components shown in the right.


             fig-3 Connectors, Busses,...


           Fig-4 Models definitions for users
           Developped by MA definitions.

                                                                           



             fig-5 definition of users blocks
             Examples used in projects by MA.

++++++++++++++++++++++++++++++++

2_nd part of our document:

Math operations sur matlab-command 
editeur

Here I show you my friends, engineers, users, 
A command line developing a matrix 
called x with 10 elements.

          Matrix definition with predifined 
          Values in matlab fig-6

2ο μέρος του εγγράφου μας:


Math operations sur matlab-εντολή editeur


Εδώ σας παρουσιάζω τη γραμμή εντολών των φίλων μου που 

αναπτύσσει μια μήτρα που ονομάζεται x με   fig-6 matrix mathmatical forms.

++++++++++++++++++++++++++++++++

Here How created a racine function (developing a square root 
function) in matlab and I used to calculate it in the commend  window in matlab. Racine (sqr) 9 donne (give) 3

Εδώ δημιουργώ μια λειτουργία racine (ανάπτυξη μιας 

τετραγωνικής ρίζα
λειτουργία) στο MATLAB και χρησιμοποίησα για να το 

υπολογίσω στην επίδειξη



παράθυρο σε matlab. Racine (sqr) 9 donne (δώστε) 3


fig-7 Square root function definition in M files.


               fig-8 calculation

After creation of this functions in m-file so 
you my friends can call it and using it in 
calculation as this in the command line 
window. 

Μετά τη δημιουργία αυτής της λειτουργίας σε 
m-αρχείο έτσι

μπορείτε να το καλέσετε και να 
το  χρησιμοποιήσετε

υπολογισμού όπως αυτή στη γραμμή εντολών παράθυρο.

        
   fig-9 testing square root functions after     definitions in M files.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thank you my freinds, engineers, users of being using these sites, please aporiciate this wirk done, hope using it in good applications of engineering.

bye.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

second part 

Electrical / electronics Signals :

I will show you my friends some examples using matlab in signal analysis and responses.
1-    a+ Firstly you know that:

Here using cosine signals in our application (Fig-10), but 

also if you want to calculate using sine signals you can write the fonctions for electronic signals:


I(t) = Im cos (w*t)
I(t) = Im cos ((2*pi*f )*t)
V(t) = Vm cos (w*t)
V(t) = Vm cos ((2*pi*f )*t)
………………………………………..
I(t) = Im sin (w*t)
I(t) = Im sin ((2*pi*f )*t)
V(t) = Vm sin (w*t)
V(t) = Vm sin ((2*pi*f )*t)

1-    b+ Secondly appling this equations in our example using matlab:

Now in this example i used and explaned the time domain 

inbetween –pi until +pi

so

I defined x between –pi until +pi.

Defined y1 using the addition or the superpossition of 2 

cosine signals.

Y2 is the fast forrier transform of y1 in the time domain.

Y3 sa,ple cosine signal.

Also in y1 first signal is 2*pi*f + another signal of cosine type 

using amplitude of 0.5 v,  doubling the same cosine with the same phase (theta ø).

X remember is varies between –pi until + pi.



δεύτερο μέρος

Ηλεκτρικά / ηλεκτρονικά σήματα:

Θα σας δείξω στους φίλους μου μερικά παραδείγματα που χρησιμοποιούν MATLAB σε ανάλυση σήματος και απαντήσεις.

1- a + Πρώτα γνωρίζετε ότι:


Εδώ χρησιμοποιούμε συνημιτονικά σήματα στην εφαρμογή μας (Εικ. 10), αλλά

Επίσης, αν θέλετε να υπολογίσετε τη χρήση ημιτονοειδών σημάτων, μπορείτε να γράψετε τα κείμενα για τα ηλεκτρονικά σήματα:

I (t) = Im cos (w * t)

I (t) = Im cos ((2 * pi * f) * t)

V (t) = Vm cos (w * t)

V (t) = Vm cos ((2 * pi * f) * t)

............................................. ..

I (t) = Im sin (w * t)

I (t) = Im sin ((2 * pi * f) * t)

V (t) = V m sin (w * t)

V (t) = Vm sin ((2 * pi * f) * t)

1- b + Δεύτερον, εφαρμόζοντας αυτές τις εξισώσεις στο παράδειγμα μας με τη χρήση MATLAB:

Τώρα σε αυτό το παράδειγμα χρησιμοποίησα και εξήγησα το πεδίο χρόνου

ενδιάμεσα -pi έως + pi
Έτσι
Ορίζω x μεταξύ -pi έως + pi.
Ορίστηκε y1 χρησιμοποιώντας την προσθήκη ή την υπέρθεση 2 συνημιτονικά σήματα.
Το Υ2 είναι ο γρήγορος μετασχηματισμός του y1 στο χρονικό πεδίο.
Y3 SA, σήμα cosine.
Επίσης στο y1 το πρώτο σήμα είναι 2 * pi * f + ένα άλλο σήμα τύπου συνημίτου χρησιμοποιώντας πλάτος 0,5 v, διπλασιάζοντας το ίδιο συνημίτονο με την ίδια φάση (theta ø).

Το X θυμάται ποικίλει μεταξύ -pi έως + pi.

       fig-10 graphical plots for cosine and             sin functions with Matlab interfaces.

Another thing figure(10) our figure will appear in this 

window output.



In the function subplot I used to define first part in the 

graph with colors to differentiate between function 

responses so y1 ---> red,  y2 ---> blue,  y3 ---> green.


                fig-11 3 plotted functions

I show you the electrical functions in graph fig10,fig11, which

 using adding or superposition of  2 cosine functions, also 

fast furrier transform (fft),  a simple cosine signal.

++++++++++++++++++++++++++++++++++

1-    In this example i will show you another 4 signals with :

  another responses with changing the frequencies and the  phase angel.
  
  So we will see 2 superposition signals and  1 fft and 1 cosine  signal.


I defined it as shown in the figure using matlab file.

And in this example I used the function plot to show you the output.



         fig-12 math window and users         
                interface in matlab.

These applications can be used in time analysis of continuous systems or for describing a superposition in physics ( quantum physics, quantum spectrums and quantum atomic pombs) and
electronics,
 or 
seeing the output of signal responses over 

the entire time domain interval.

fig-13

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++


                             Third part 



I will show you how you defined a fonction in Matlab with it’s arguments so 

When you use it in the command window of matlab you can calculate the function outputs.





                       fig-14

3 + a + 

Here i defined an m-matlab file called racine as my fonction 

name.

Using script function[output] = racine (input)

In the math library there is a function called sqrt, I use it here 

in the m-file.

Finished the function definition with the instruction end in the 

m-file.


After I call it in the command window by writing >> racine(49)

It will give the answer ans = 7 as fig-14 .


3 + b + 

Another example using the input + 2,

So I defined the m-file as the last time but I put input+2;

So I give in the command window >> 7

The function will calculate (7 + 2) = 9

The ans = 3 as in fig-15

fig-15

thank you for reading and developping new applications in engineering using this simple examples
be happy my freinds working honestly in light.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


                           Fourth part 

we will see this fonctions wrote and developped in the
command window of the matlab.

I defined here x = 2; so
i calculated exp(x); sqrt(x);...
as in fig-16,17 


θα δούμε αυτά τα fonctions έγραψε και αναπτύχθηκε στο
παράθυρο εντολών του matlab.

Ορίσαμε εδώ x = 2. Έτσι

i υπολογίζεται exp (x); sqrt (x), ...


όπως στο σχήμα 16,17

wir werden sehen, dass diese fonctions in der

Befehlsfenster des Matlab
.
Ich habe hier x = 2 definiert; damit

ich berechnete exp (x); sqrt (x); ...

wie in Abb. 16,17



                              fig-16




                      fig-17

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++
                          Fifth part 

now we see some definitions using arrays and how we can defdine arrays or use it in the matlab.

τώρα βλέπουμε ορισμένους ορισμούς 

χρησιμοποιώντας συστοιχίες και πως 

μπορούμε να καθορίσουμε συστοιχίες ή να τις 
χρησιμοποιήσουμε στο Matlab.

Jetzt sehen wir einige Definitionen mit Arrays und wie wir Arrays definieren oder im Matlab verwenden können.
                           fig-18
+++++++++++++++++++++++++++++++++++++++++++++++++++

                        Sixth part 

here i show you 2 cosine fonctions with it's label and name were difined in matlab.

εδώ σας παρουσιάζω 2 συναρτήσεις συνημιτότητας με την 

ετικέτα και το όνομά τους καθορίστηκαν στο MATLAB.


Hier zeige ich Ihnen 2 Kosinusfunktionen mit seinem Label 

und Namen wurden in Matlab definiert.



εδώ σας παρουσιάζω 2 συναρτήσεις συνημιτότητας με την ετικέτα και το όνομά τους καθορίστηκαν στο MATLAB.
                                                                 
                              fig-19

++++++++++++++++++++++++++++++++++++++++++++++++++++
                        Seventh Part


Here  i defined an m.file of matlab.

i used a sample frequency of Fs = 1000;

defining S in sine fonctions  and x; also length

 of signal L; 



Εδώ οριστεί ένα m.file του MATLAB.

χρησιμοποίησα μια συχνότητα 

δειγματοληψίας Fs = 1000;

ορίζοντας το S σε sine και x; επίσης το μήκος

του σήματος L.


Hier habe ich ein m.file von Matlab definiert.

Ich verwendete eine Abtastfrequenz von Fs = 1000;

Definieren von S in Sinusfunktionen und x; auch Länge

 von Signal L;



          fig-20 frequency and specturm in Fq


               fig-21 frequency domain

In fig-21 we see a side spectrum of the signale x(t) 

          fig-22 f1, f2 in frequency domain



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

                         Eighth Part




                          fig-23

In this figure of the command window in matlab,

i defined 2 arrays as logic input fonctionsd A and B.

so i will calculate  OR logical gate between this 2 fonctions.

also i will show you XOR logical fonction calculation between this 2 fonctions.

array A = [0 1 0 1]    and array B = [0 0 1 1] 

so u find in the figure firstly

A11 or B11

also XOR [A11,B11]

they gave the good answer you can try it with many arrays, also you can try it with the other logical gates and nand nor,......

Σε αυτό το σχήμα του παραθύρου εντολών στο MATLAB,

Έχω ορίσει 2 συστοιχίες ως λογικές εισόδους fondd A και B.

έτσι θα υπολογίσω Ή λογική πύλη μεταξύ αυτών των 2 fonctions.

Επίσης, θα σας δείξω τον υπολογισμό λογικής συνθέσεως XOR 

μεταξύ αυτών των 2 αρχείων.

πίνακας A = [0 1 0 1] και πίνακας B = [0 0 1 1]

έτσι u βρείτε στο σχήμα πρώτα

Α11 ή Β11

επίσης XOR [Α11, Β11]

έδωσαν την καλή απάντηση που μπορείτε να δοκιμάσετε με 

πολλές 


συστοιχίες, επίσης μπορείτε να το δοκιμάσετε με τις άλλες λογικές 

πύλες και nand ούτε, ......



In dieser Abbildung des Befehlsfensters in Matlab,

Ich definierte 2 Arrays als logische Eingangsfunktionen A und B.

Also werde ich ODER logisches Gatter zwischen diesen 2 Funktionen berechnen.

Außerdem zeige ich Ihnen die logische XOR-Funktion zwischen diesen beiden Funktionen.

Array A = [0 1 0 1] und Array B = [0 0 1 1]

So finden Sie zuerst in der Abbildung

A11 oder B11

auch XOR [A11, B11]

Sie gaben die gute Antwort, dass Sie es mit vielen Arrays versuchen können, auch können Sie es mit den anderen logischen Toren und nand noch versuchen, ......

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


                      Ninth Part


So  i developped here for you some buttoms 

and a graph with also upper buttoms control

with a graph of 3 dimension varing it yousing 

this buttoms.




Έτσι έχω αναπτύξει εδώ για σας μερικά κουμπιά

και ένα γράφημα με επίσης τα πάνω κουμπιά ελέγχου

με ένα γράφημα 3 διαστάσεων το οποίο θα σας φέρει αυτό το buttoms.


      Fig-24 GUI developpement MA_2016



    Fig-25 c functions in matlab MA_2016

I hope you can develop engineering and good applications Micheal Armanious developpement Articles for more than 10 years.

applications my freinds, engineering, users may be giving more suitable wirking life and success.

Please appriciate this work and timing doing to advance your knowledge and your practices.

thank you.
Afchristopoliii.
Danke weillen.

LABVIEW LEVEL1

pub-2607280511157950 LABVIEW LEVEL 1 I Want to explain for you a new subject on labview, i hope u will  be interested by this level in de...