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 and general boxes used in Matlab
simulink.
Matlab
Επίπεδο 4 στο Matlab - Niveau 4 el Matlab.
Πρώτο μέρος
Εδώ θα σας δείξω μερικά κουτιά επικοινωνίας και γενικά που
χρησιμοποιούνται στο Matlab simulink.
fig-1
In
This part, I show you some common used boxes in the communication
systems in the signal treatment and modifications applications used
in
automatic control.
Σε αυτό το μέρος, σας παρουσιάζω ορισμένα κοινά χρησιμοποιημένα κουτιά στην επικοινωνία
συστήματα επεξεργασίας σημάτων και εφαρμογές τροποποιήσεων που χρησιμοποιούνται στην
αυτόματο έλεγχο.
Σε αυτό το μέρος, σας παρουσιάζω ορισμένα κοινά χρησιμοποιημένα κουτιά στην επικοινωνία
συστήματα επεξεργασίας σημάτων και εφαρμογές τροποποιήσεων που χρησιμοποιούνται στην
αυτόματο έλεγχο.
fig-2
here on the left you will find libraries and each library contains many components shown in the right.
fig-3
fig-4
fig-5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2_nd
part of our document:
Math
operations sur matlab-command
editeur
Here
I show you my friends command line developing a matrix
called x with
10 elements.
2ο μέρος του εγγράφου μας:
Math operations sur matlab-εντολή editeur
Εδώ σας παρουσιάζω τη γραμμή εντολών των φίλων μου που
αναπτύσσει μια μήτρα που ονομάζεται x με 10 στοιχεία.
2ο μέρος του εγγράφου μας:
Math operations sur matlab-εντολή editeur
Εδώ σας παρουσιάζω τη γραμμή εντολών των φίλων μου που
αναπτύσσει μια μήτρα που ονομάζεται x με 10 στοιχεία.
fig-6
Here
I 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
Εδώ δημιουργώ μια λειτουργία racine (ανάπτυξη μιας
τετραγωνικής ρίζας
λειτουργία) στο MATLAB και χρησιμοποίησα για να το
υπολογίσω στην επίδειξη
παράθυρο σε matlab. Racine (sqr) 9 donne (δώστε) 3
fig-7
fig-8
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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thank you my freinds 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.
δεύτερο μέρος
Ηλεκτρικά / ηλεκτρονικά σήματα:
Θα σας δείξω στους φίλους μου μερικά παραδείγματα που χρησιμοποιούν 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
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
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
These applications can be used in time analysis
of continuous systems or for describing a superposition in physics and
electronics, or seeing the output of signal
responses over the entire time
domain interval.
fig-13
++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Third part
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
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.
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.
χρησιμοποίησα μια συχνότητα
δειγματοληψίας 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;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Eighth Part
Ninth Part
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Third part
I will show you how you defined a fonction in ,atlab
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.
Ich verwendete eine Abtastfrequenz von Fs = 1000;
Definieren von S in Sinusfunktionen und x; auch Länge
von Signal L;
fig-20
fig-21
In fig-21 we see a side spectrum of the signale x(t)
fig-22
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
Fig-25
I hope you can develop engineering and good
applications my freinds.
thank you.
Really magnificent.
RépondreSupprimerA matlab complete partitions
Around matlab mathmathical functions and equations.
A matlab Simulink toolboxes
Also partitions of GUI and application matlab Simulink toolboxes modeling and engineering applications.
Thank you 😊
Hope you can building in your life instead of destroy.
RépondreSupprimerHappy Christmas youth.