Professional Documents
Culture Documents
Plotting -linespesifier
Plotting - Kontur
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
10 kN
10 kN
10 kN
D
S3
5 kN
B
S1
S2
R2
R1
S8
S4
S7
S9
S5
C
5 kN
F
S11
S13
S6
S10
S13
R3
R2 + S2 + S1 cos 1 = 0
R1 + S1 sin 1 5kN = 0
Join A
Join C
Join E
Join G
Persamaan
kesetimbangan
seluruh join
clear all
clc
A=[0
1 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0 0.8 1 0 0 0 0 0 0 0 0 0 0 0;
0.6 0 0 0 0 0 0 0 0 0 0 0 0;
-0.8 0 0.8 0.8 0 0 0 0 0 0 0 0 0;
-0.6 0 0.6 -0.6 -1 0 0 0 0 0 0 0 0;
0 0 0 0 1 0 0 0 0 0 0 0 0;
0 -1 0 0 0 1 0 0 0 0 0 0 0;
0 0 -0.8 0 0 0 0 0.8 0 0 0 0 0;
0 0 -0.6 0 0 0 -1 -0.6 0 0 0 0 0;
0 0 0 -0.8 0 -1 0 0 0.8 0 1 0 0;
0 0 0 0.6 0 0 1 0 0.6 0 0 0 0;
0 0 0 0 0 0 0 -0.8 -0.8 0 0 0.8 0;
0 0 0 0 0 0 0 0.6 -0.6 -1 0 -0.6 0;
0 0 0 0 0 0 0 0 0 1 0 0 0;
0 0 0 0 0 0 0 0 0 0 -1 0 1;
0 0 0 0 0 0 0 0 0 0 0 -0.8 -1;
0 0 0 0 0 0 0 0 0 0 0 0.6 0];
C=[0;5;0;10;0;0;0;10;0;0;0;10;0;0;0;5];
B=inv(A)*C %mencari matrik B
B=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
20.0000
0
20.0000
-25.0000
20.0000
-16.6667
-8.3333
0
20.0000
10.0000
-16.6667
-8.3333
0
20.0000
-25.0000
20.0000
Jenis tumpuan
sendi
roll
Reaksi perletakan
sendi
Jumlah
reaksi
perletakan, R
=3
R1
R2
R3
roll
Jumlah elemen, M = 1
S6
S5 S7
S4
S8
S9
S10
S11
Jumlah join/buhul
Jumlah join/buhul, J = 7
S1
R2 S2
R1 G
S1
S2
R2
V=0
-S2+R2=0
H=0
S1+R1=0
Analisa
kesetimbangan gaya
tiap join
S2
R3
S3
S4
Kenapa S2
sekarang arahnya
ke atas?
Karena:
Dalam metode join
, asumsi arah gaya
batang yang terjadi
selalu menjauh
dari titik buhul atau
diasumsikan
Analisa
kesetimbangan gaya
Komponen
tiap join
gaya arah
vertikal
S2
R3
S3
S4
V=0
S2+S3 sin1=0
S3 sin1
S2
R3
A
S3
S3 cos1
S4
Komponen
gaya arah
horisontal
H=0
S4+S3 cos1+R3=0
S7 sin2
S5
S4
S5 S7
S7
S7 cos2
S9
5
kN
S4
S9
H=0
V=0
5
kN -5kN=0 -S4+S7 cos +S9=0
S5+S7 sin
2
2
S3 cos1
S1
1
S3
S6
S5
V=0
-S5-S3 sin1-S6 cos3=0
S1
S3
S6 sin3
S6
S5
S6
co
S3 sin1
H=0
-S1-S3 cos1+S6 sin3=0
S6 S6 cos3
S6 s
in
3
S7 sin3
S6
S7
S7
S7 cos3
S10
3
S8
S10 sin3
S1
S8
S10
0c
os
V=0
-S8-S10 cos3-S7 cos3+S6cos3=0
=0
-S6 sin3-S7 sin3+S10sin3=0
S8
S9
5
kN
S8
S9
V=0
-5 kN+S8=0
S11
5
kN
=0
-S9+S11=0
S11
S10
c
S10
os
S10 sin2
S11
S10
2
S11
5
kN
V=0
=0
-5 kN+S10 sin2=0 -S11-S10 cos2=0
5
kN
V=0
-S2+R2=0
H=0
S1+R1=0
V=0
S2+S3 sin1=0
H=0
S4+S3 cos1+R3=0
V=0
S5+S7 sin2-5kN=0
H=0
-S4+S7 cos2+S9=0
V=0
-S5-S3 sin1-S6 cos3=0
H=0
-S1-S3 cos1+S6 sin3=0
V=0
=0
-S8-S10 cos3-S7 cos3+S6cos3=0 -S6 sin3-S7 sin3+S10sin3=0
V=0
-5 kN+S8=0
=0
-S9+S11=0
V=0
-5 kN+S10 sin2=0
=0
-S11-S10 cos2=0
H=0
S1+R1=0
S4+S3 cos1+R3=0
-S4+S7 cos2+S9=0
-S1-S3 cos1+S6 sin3=0
-S6 sin3-S7 sin3+S10sin3=0
-S9+S11=0
-S11-S10 cos2=0
Persamaan
silahkan
dikoreksi.!
V=0
-S2+R2=0
S2+S3 sin1=0
S5+S7 sin2-5kN=0
-S5-S3 sin1-S6 cos3=0
-S8-S10 cos3-S7 cos3+S6cos3=
-5 kN+S8=0
-5 kN+S10 sin2=0
Plot title
1200
y axis
label
Legend
Theory
Experiment
1000
Text
Tick-mark
INTENSITY (lux)
800
Comparison between theory and experiment.
600
400
Data symbol
200
10
12
x axis
label
14
16
DISTANCE (cm)
18
20
22
24
Tick-mark label
plot(x,y)
di mana x adalah sebuah vector ( deret satu dimensi), and y
adalah sebuah vector.
Kedua vektor harus mempunyai jumlah elemen matrik yang sama.
Command plot membuat sebuah point tunggal dengan nilai
PLOT DATA
Diketahui data:
x
2
6
10
atau
>> plot([1 2 3 5],[2 6 7 10])
plot(x,y,line specifiers)
plot(x,y,line specifiers)
Line
Style
Solid
dotted
dashed
dash-dot
Specifier
:
--.
Line
Color
red
green
blue
Cyan
magenta
yellow
black
Specifier
r
g
b
c
m
y
k
Marker Specifier
Type
plus sign
circle
asterisk
point
square
diamond
+
o
*
.
s
d
plot(x,y,line specifiers)
EXAMPLES:
plot(x,y)
plot(x,y,r)
plot(x,y,--y)
plot(x,y,*)
plot(x,y,g:d)
plot(x,y,line specifiers)
Year
1988
1989
1990
1991
1992
1993
1994
Sales (M)
127
130
136
145
158
178
211
HASIL PLOT
FORMAT COMMAND
title(string)
Menambah judul pada window plot atau Figure.
xlabel(string)
Menambah judul koordinat x pada window plot atau Figure.
ylabel(string)
Menambah judul koordinat y pada window plot atau Figure.
FORMAT COMMAND
legend(string1,string2,string3)
Membuat legend dengan lokasi diatur dengan kursor/mouse.
text(x,y,string)
Membuat text dengan lokasi sesuai dengan koordinat x dan y.
gtext(string)
Membuat text dengan lokasi sesuai di mana mouse di-klik. .
hold on,
hold off
Plot dua pasang data di bawah dalam satu grafik menggunakan MATLAB
Fa
c
60o
b=
Fc
=?
100 ton
C
60o
60o
Fab =?