ENG1060 Lecture Notes - Lecture 5: Dialog Box, Matlab

66 views5 pages
!"#$"%$&'()#*"+,-.(%/0%'$ '&"12#0"3'4(".'+,"%$0,$+- 0'"+'
5",6/(,--"*'7%.#*"-0,/-"%$"(,#+#8*, &'()#0
5"&'(.,-"'(7#$%-#0%'$ '&"02'4720
5"'02,(-".#$".2,.9 3'4("*'7%."8,&'(,"3'4".'+,
5"02%$9%$7"#2,#+"(,+4.,-",(('(-:24(+*,-"+4(%$7"/('7(#))%$7"-0#7,
Steps
;-,4+'.'+,
<=
>>>"?@AB@C
D=
F3$0#6",(('(-G"H4-0%&3"#..4(#.3"83"4-%$7"+%&&"0''*-"I,7"/*'0J
K&"$4)8,(-"*''9"%$.'((,.0:(4$"%$0'"/('8-L"+,847"'$"02,"-/'0"#$+"
-'*M,
N=
Components
E#(%#8*,-
O
@--%7$),$0
O
K$/40:'40/40
O
P'$+%0%'$-
O
Q,/,0%0%'$
O
R7=
Debugging
!"%+,$0%&3%$7"#$+".'((,.0%$7"847-"%$".'+,
F'),0%),-".#$"83")'(,"0%),S.'$-4)%$7"#$+".2#**,$7%$7"02#$"1(%0%$7".'+,"%0-,*&
A'"(,+4.,"*%9,*%2''+"'&"847-L"7''+"/('7"/(#.-T
U4$.0%'$-O
P')),$0-O
K$+,$0%$7O
;-,4+'.'+,O
V,-.(%/0%M,"M#("$#),-O
A24-L"?@AB@C"2#-"#"+,8477,(WW
@**'1-"&'(".'+,"-0'/-"X".,(0#%$"/0-O
@**'1-"Y-0,//%$7Y"02('472O
Z-,&4*",-/"%$".')/*%.#0,+"*''/-"#$+"&4$.0$-O
C(,#9/'%$0- !"(,/"Y-0'/"-%7$Y"&'(".'+,",6,.40%'$
Q,+ .%(.*,-O
K&"7(,3L"-3$0#6",(('("[Q"4$-#M,+O
K&"3,**'1L".'$+%0%'$#*
\2,$"-,00%$7L"+%#*'7"8'6"*,0-"3'4"-,0".'$+%0%'$"&'("8(,#9/0"0'"8,"
#.0%M#0,+"12,$"0(4,
O
A'"-,0L".*%.9"$,60"0'"*%$,"$4)8,(
B,&0">>>"4$.'$+%0%'$#*O
Q%720">>>"I4$J.'$+%0%'$#*O
\2,$"2%0L"'/0%'$-"02#0"#//,#("#(,T
P'$0%$4, >>>".'$0%$4,"(4$$%$7"4$0%*"]R^A"CQR@_;[K]AO
F0,/ >>>"02('472"-%$7*,"*%$,O
F0,/"%$:'40 >>>" '&"&4$.0%'$"&%*,-"#$+"*''/-O
Q4$"0'".4(-'( >>>"(4$-".'+,"0'".4((,$0".4(-'("/'-%0%'$O
`4%0"+,8477%$7 >>>",6%0-"+,8477%$7")'+,O
Week$5:$Pseudocode$&$Debug
F#04(+#3L"<a"@474-0"Db<c
<dTed
Unlock document

This preview shows pages 1-2 of the document.
Unlock all 5 pages and 3 million more documents.

Already have an account? Log in
!"#$"%$&'()#*"+,-.(%/0%'$ '&"12#0"3'4(".'+,"%$0,$+- 0'"+'
5",6/(,--"*'7%.#*"-0,/-"%$"(,#+#8*, &'()#0
5"&'(.,-"'(7#$%-#0%'$ '&"02'4720
5"'02,(-".#$".2,.9 3'4("*'7%."8,&'(,"3'4".'+,
5"02%$9%$7"#2,#+"(,+4.,-",(('(-:24(+*,-"+4(%$7"/('7(#))%$7"-0#7,
Steps
;-,4+'.'+,<=
>>>"?@AB@CD=
E#*%+#0,
F3$0#6",(('(-G"H4-0%&3"#..4(#.3"83"4-%$7"+%&&"0''*-"I,7"/*'0J
K&"$4)8,(-"*''9"%$.'((,.0:(4$"%$0'"/('8-L"+,847"'$"02,"-/'0"#$+"
-'*M,
N=
Components
E#(%#8*,-O
@--%7$),$0O
K$/40:'40/40O
P'$+%0%'$-O
Q,/,0%0%'$O
R7=
Debugging
!"%+,$0%&3%$7"#$+".'((,.0%$7"847-"%$".'+,
F'),0%),-".#$"83")'(,"0%),S.'$-4)%$7"#$+".2#**,$7%$7"02#$"1(%0%$7".'+,"%0-,*&
A'"(,+4.,"*%9,*%2''+"'&"847-L"7''+"/('7"/(#.-T
U4$.0%'$-
O
P')),$0-
O
K$+,$0%$7
O
;-,4+'.'+,
O
V,-.(%/0%M,"M#("$#),-
O
A24-L"?@AB@C"2#-"#"+,8477,(WW
@**'1-"&'(".'+,"-0'/-"X".,(0#%$"/0-
O
@**'1-"Y-0,//%$7Y"02('472
O
Z-,&4*",-/"%$".')/*%.#0,+"*''/-"#$+"&4$.0$-
O
C(,#9/'%$0- !"(,/"Y-0'/"-%7$Y"&'(".'+,",6,.40%'$
Q,+ .%(.*,-
O
K&"7(,3L"-3$0#6",(('("[Q"4$-#M,+
O
K&"3,**'1L".'$+%0%'$#*
\2,$"-,00%$7L"+%#*'7"8'6"*,0-"3'4"-,0".'$+%0%'$"&'("8(,#9/0"0'"8,"
#.0%M#0,+"12,$"0(4,
O
A'"-,0L".*%.9"$,60"0'"*%$,"$4)8,(
B,&0">>>"4$.'$+%0%'$#*
O
Q%720">>>"I4$J.'$+%0%'$#*
O
\2,$"2%0L"'/0%'$-"02#0"#//,#("#(,T
P'$0%$4, >>>".'$0%$4,"(4$$%$7"4$0%*"]R^A"CQR@_;[K]A
O
F0,/ >>>"02('472"-%$7*,"*%$,
O
F0,/"%$:'40 >>>" '&"&4$.0%'$"&%*,-"#$+"*''/-
O
Q4$"0'".4(-'( >>>"(4$-".'+,"0'".4((,$0".4(-'("/'-%0%'$
O
`4%0"+,8477%$7 >>>",6%0-"+,8477%$7")'+,
O
Week$5:$Pseudocode$&$Debug
F#04(+#3L"<a"@474-0"Db<c <dTed
Unlock document

This preview shows pages 1-2 of the document.
Unlock all 5 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers