Befehle Flashcards

1
Q

Eingabe matlab

A

n=input(‘____‘)

Eingabe wird auf n gespeichert

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ausgabe matlab

A

disp=(‘___‘)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Variable ausgeben

A

disp([‚‘

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Sin x plotten ?

A

x=linspace(0,2,100)
y=sin(x)

Plot(x,y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Mehrere Graphen gleichzeitig plotten ?

A

hold on

hold off

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Achsen des Koordinatensystems einteilen

A

axis([-5 10 0 2])

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Das Plotfenster leeren ?

A

Clf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Plotfenster mit Nummer n aktivieren ?

A

figure(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Diagramm betiteln ?

A

title(‘___‘)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Achsenbeschriften

A

xlabel(‘___‘);

ylabel(‘___‘);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Legende erstellen

A

legend(‘erster Graph‘,‘zweiter graph‘,…);

Hierbei ist die Reihenfolge wie ich geplottet habe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Text einfügen in Plot

A

text(2.7,3.5,‘Das ist mein Text‘,‘Color‘,‘r‘,‘Fontsize‘,15);

Dabei sind Sie ersten stellen die Koordinaten des Textes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Messgebiet erzeugen

A

meshgrid(x,y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Erkläre den subplot Befehl

A

Mehrere Plotfenster öffnen

subplot(2,3,1)

2= wieviele Zeilen
3=wieviele Spalten
1 = welches Fenster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly