zt

Size: px
Start display at page:

Download "zt"

Transcription

1 Prentice-Hall Matlab 6 Mastering Matlab 6 A Comprehensive Tutorial and Reference [ ] D. Hanselman, B.Littlefield Pearson Education

2 Matlab Matlab Matlab Matlab 6 Matlab Matlab Matlab Mastering Matlab 6 A Comprehensive Tutorial and Reference. Copyright 2001 by Prentice Hall,Inc. All rights reserved. No part of the book shall be reproduced or transmitted in any form or by any means,electronic or mechanical,including photocopying,recording or by any information storage retrieval system, without permission from the Publisher.This edition is authorized for sale only in the People s Republic of China(excluding the Special Administrative Region of Hong Kong and Macau). Pearson Education Matlab 6 D. Hanselman, B. Littlefield / ~4000 ISBN /TP

3 Matlab Matlab Matlab Matlab Matlab Matlab M M

4 II Matlab NaNs For...136

5 III 10.2 While If-Else-End Switch-Case Try -Catch M M Matlab ToolBox Feval M M I/O

6 IV Matlab Hermite

7 V IVP ODE BVP PDE plot

8 VI Matlab PostScript get set

9 VII M GUI GUI GUI M GUIDE M Matlab Matlab Matlab Matlab C FORTRAN...454

10 VIII Matlab C FORTRAN Matlab MAT Java Matlab JAVA Java Java Java Java Java Windows ActiveX / Matlab

11 IX A B C D E F G H I J K L Uicontextmenu Uimenu M Uicontrol

12 Matlab Matlab Matlab Matlab Matlab Matlab Matlab Matlab Matlab Toolboxes (Blocksets) Libraries 50 Matlab C Fortran Java PC Matlab Matlab Matlab 6 Matlab 6 Matlab 5.3 mm@eece.maine.edu edu/mm

13 1 1.1 Matlab Matlab Matlab Matlab Matlab GUI Matlab Matlab Matlab Matlab 1.2 Matlab 6 Matlab 6 Matlab 5 Matlab 5 Matlab 6 Command Figure GUI Matlab Matlab 6 Matlab, Matlab Matlab 5 PC UNIX Matlab 6 Matlab 5 PC Matlab 6 Matlab 6 n=100 flop Figure (GUI)

14 2 Matlab 6 Matlab 6 Matlab Matlab 6 Matlab 1.3 Matlab CD CD CD 50M 4500 PDF Matlab CD Matlab / 250M PDF CD 150M HTML Matlab Matlab 6 Matlab Matlab M M Matlab 1 Matlab 2 Matlab 3 Matlab Matlab Matlab Matlab Matlab Matlab Matlab 6 Matlab Matlab Matlab Matlab Matlab Matlab x Matlab edu/mm Matlab.m mm@eece.maine.edu

15 2 Matlab Matlab Matlab Command Matlab >> Command Matlab 2.1 Matlab Mary Mary 4+6+2=12 4*25+6*52+2*99=610 Matlab >> >> 4*25+6*52+2* Matlab Matlab ans answer Matlab >> erasers = 4 erasers = 4 >> pads = 6 pads = 6 >> tape = 2;

16 4 Matlab 6 >> items = erasers + pads + tape items = 12 >> cost = erasers*25 + pads*52 + tape*99 cost = 610 Matlab erasers pads tape Matlab tape Matlab items cost ans Matlab Matlab >> average_cost = cost/items average_cost = average cost Matlab Matlab average_cost Matlab * 3.14 * 6 / \ / 7 or 7 \ ^ 2 ^ Matlab Command Matlab Matlab tape tape Matlab

17 2 5 >> tape tape = 2 Matlab who Matlab >> who Your variables are: ans cost items tape average_cost erasers pads Matlab Matlab Matlab Matlab Matlab Escape EMACS Matlab EMACS Control-U 2.3 Matlab Matlab 31 Howaboutthisvariablename Cost cost CoSt COST how_about_this_variable_name X51483 Matlab a_b_c_d_e Matlab Matlab

18 6 Matlab 6 For end if while function return elseif case otherwise switch continue else try catch global persistent break Matlab Matlab ans beep pi eps inf NaN( )nan i ( )j nargin nargout realmin realmax bitmax varargin vararout /0 0/ tape >> erasers = 4; >> pads = 6; >> tape =2; >> items = erasers + pads + tape items = 12 >>erasers = 6 erasers = 6 >>items items = 12 Mary

19 items Matlab erasers Matlab Matlab Matlab clear >> pi >> pi = 1.23e-4 pi = >> clear pi >> pi pi e-4 clear pi 2.4 Matlab >> erasers erasers = 6 >> items = erasers + pads + tape; >> cost = erasers*25 + pads*52 + tape*99; >> average_cost = cost/items averate_cost = Mary 6 4 items cost Matlab

20 8 Matlab 6 >> tape = 2 % number of rolls of tape purchased tape 2 Matlab >> erasers = 6, pads = 6; tape = 2 erasers = 6 tape = 2 Matlab Matlab >> average_cost = cost/items % command as done earlier average_cost = >>average_cost =cost/ % command with valid continuation items average_cost = >>average_cost = cost % command with valid continuation /items average_cost = >>average_cost = cost/it % command with INvalid continuation ems??? age_cost=cost/items Missing operator,comma,or semi-colon. >> % Comments cannot be continued >> either??? Undefined function or variable 'either'. Matlab Control-C Matlab Ctrl C

21 Matlab Matlab >> c1 = 1-2i % the appended i signifies the imaginary part c1 = i >> c1 = 1-2j % j also works c1 = i; >> c2=3*(2-sqrt(-1)*3) c2 = i >> c3 = sqrt(-2) c3 = i >> c4 = 6+sin(.5)*i c4 = i >>c5 = 6+sin(.5)*j c5 = i Matlab i=j= 1 i j sin(.5)i sin(.5)j Matlab i j Matlab >> c6 = (c1+c2)/c3 % from the above data c6 = i >> c6r = real(c6) c6r = >> c6i = imag(c6) c6i = >>check_it_out = i^2 % sqrt(-1) squared must be 1! check_it_out = -1 Matlab 0 real imag

22 10 Matlab 6 M θ =Me j = a + bj M a + bj 2 2 M= a + b =tan -1 (b /a ) a =M cos( ) b= M sin( ) Matlab real imag abs angle >> c1 c1 = i >>mag_c1 = abs(c1) % magnitude mag_c1 = >> angle_c1 = angle(c1) % angle in radians angle_c1 = >> deg_c1 = angle_c1*180/pi % angle in degrees deg_c1 = >> real_c1 = real(c1) % real part real_c1 = 1 >> imag_c1 = imag(c1) % imaginary part imag_c1 = -2 Matlab abs Matlab angle Matlab 2.6 Matlab Matlab >> format long % tell MATLAB to display more precision >> realmax e+308 Matlab

23 2 11 >> realmin e-308 >> eps e-016 Matlab >> e-017 >> >> Matlab Matlab >> sin(0) 0 >> sin(pi) e sin( ) 0 eps Matlab >> bitmax

24 12 Matlab e Matlab >> x = sqrt(2)/2 x = >> y = asin(x) y = >> y_deg = y*180/pi y_deg = / 2 Matlab >> y = sqrt(3^2 + 4^2) % show right triangle relationship y = 5 >> y = rem(23,4) % remainder function, 23/4 has a remainder of 3 y = 3 >> x = 2.6, y1 = fix(x), y2 = floor(x),y3 = ceil(x), y4 = round(x) x = y1 = 2 y2 = 2 y3 = 3 y4 = 3 acos acosh acot acoth

25 2 13 acsc acsch asec asech asin asinh atan atan2 atanh cos cosh cot coth csc csch sec sech sin sinh tan tanh ^ exp ln log lg log10 10 lb log2 2 pow2 2 sqrt nextpow2 P 2 P N abs angle conj

26 14 Matlab 6 imag real unwrap isreal true cplxpair complex fix 0 floor ceil round mod rem sign cart2sph cartpol pol2cart sph2cart factor isprime true primes gcd lcm rat rats perms nchoosek N K

27 2 15 airy Airy besselj bessely besselh besseli besselk beta beta betainc beta betaln beta ellipj Jacobi ellipke erf erfc erfcx erfinv expint gamma gamma gammainc gamma gammaln gamma legendre Legendre cross dot

28 3 Matlab Matlab Matlab Matlab Matlab Matlab Matlab Matlab Matlab Matlab View 3.1 Matlab Matlab 1 Command 2 Command History 3 Launch Pad (4)Current Directory 5 Help 6 Workspace 7 Array Editor 8 Editor/Debugger / Command Command History Launch Pad Current Directory Help Workspace Array Editor Editor/Debugger Matlab Command Matlab Matlab Matlab Matlab 3.2 Matlab Matlab Command Command Command Matlab

29 3 Matlab 17 Matlab Workspace Command who >> who Your variables are: angle_c1 c4 cost pads ans c5 deg_c1 real_c1 average_cost c6 erasers tape c1 c6i imag_c1 c2 c6r items c3 check_it_out mag_c1 Matlab whos >> whos Name Size Bytes Class angle_c double array ans double array average_cost double array c double array(complex) c double array(complex) c double array(complex) c double array(complex) c double array(complex) c double array(complex) c6i double array c6r double array check_it_out double array cost double array deg_c double array erasers double array imag_c double array items double array mag_c double array pads double array real_c double array tape double array Grand total is 21 elements using 216 bytes Matlab Workspace Matlab workspace Matlab View Workspace Workspace clear Matlab >> clear real_c1 imag_c1 c*

30 18 Matlab 6 >> who Your variables are: angle_c1 deg_c1 mag_c1 ans erasers pads average_cost items tape real_c1 imag_c1 c help helpwin clear >> help clear CLEAR Clear variables and functions from memory. CLEAR removes all variables from the workspace. CLEAR VARIABLES does the same thing. CLEAR GLOBAL removes all global variables. CLEAR FUNCTIONS removes all compiled M- and MEX-functions. CLEAR ALL removes all variables, globals, functions, and MEX links. CLEAR ALL at the command prompt also removes the Java packages import list. CLEAR IMPORT removes the Java packages import list at the command prompt. It cannot be used in a function. CLEAR CLASSES is the same as CLEAR ALL except that class definitions are also cleared. If any objects exist outside the workspace(say in userdata or persistent in a locked m-file) a warning will be issued and the class definition will not be cleared. CLEAR CLASSES must be used if the number or names of fields in a class are changed. CLEAR VAR1 VAR2... clears the variables specified. The wild card character'*' can be used to clear variables that match a pattern.for instance, CLEAR X* clears all the variables in the current workspace that start with X. If X is global, CLEAR X removes X from the current workspace but leaves it accessible to any functions declaring it global. CLEAR GLOBAL X completely removes the global variable X. CLEAR FUN clears the function specified. If FUN has been locked by MLOCK it will remain in memory. Use a partial path (see PARTIALPATH) to distiguish between different overloaded versions of FUN. For instance, 'clear inline/display' clears only the INLINE method for DISPLAY,leaving any other implementations in memory. CLEAR ALL, CLEAR FUN, or CLEAR FUNCTIONS also have the side effect of removing debugging breakpoints and reinitializing persistent variables since the breakpoints for a function and persistent variables are cleared whenever the m-file changes or is cleared. Use the functional form of CLEAR, such as CLEAR('name'), when the variable name or function name is stored in a string.see also WHO, WHOS, MLOCK, MUNLOCK, PERSISTENT. clear Matlab

31 3 Matlab M Matlab Matlab clear Matlab Matlab Matlab pack Matlab Matlab Matlab pack 3.4 Matlab Matlab 4 Matlab Command File Preference format pi format Matlab pi format short format long format short e e format long e e format short g format long g format hex fb54442d18 16 format bank format format rat 355/113

32 20 Matlab 6 Matlab pi format debug Stucture address =fba34a8 m=1 n=1 pr=8bc8148 pi= short g Matlab 3.5 Matlab Command History Matlab Matlab diary Command Diary >> help diary DIARY Save text of MATLAB session. DIARY filename causes a copy of all subsequent command window input and most of the resulting command window output to be appended to the named file. If no file is specified, the file 'diary' is used. DIARY OFF suspends it. DIARY ON turns it back on. DIARY,by itself,toggles the diary state. 3.6 Matlab computer >> computer PCWIN Windows 98 PC version Matlab >> version (R12)

33 3 Matlab 21 ver Matlab >> ver MATLAB Version (R11) on PCWIN MATLAB license Number: MATLAB Toolbox Version 5.3 (R11) 15-Jan-1999 Mastering MATLAB Toolbox Version Jun-1999 Symbolic Math Toolbox Version 2.1 (R11) 11-Sep-1998 Signal Processing Toolbox Version 4.2 (R11) 10-Jul-1998 Optimization Toolbox Version 2.0 (R11) 09-Oct-1998 Control System Toolbox Version 4.2 (R11) 15-Jul-1998 Simulink Version 3.0 (R11) 01-Sep-1998 license hostid Matlab >> hostid '51483' >> license Matlab 3.7 Matlab Matlab search path Matlab Matlab Matlab MatlabPath Matlab cow >>cow Matlab 1. cow Matlab 2. cow 3. cow.m 4. Matlab cow.m 5. cow Matlab Matlab cow Matlab Matlab cow.m Matlab Matlab

34 22 Matlab Matlab Matlab M 4 11 Matlab Matlab Matlab Matlab 11 Matlab Matlab Matlab File Set Path Matlab Matlab Matlab Matlab Command Matlab Matlab matlabpath Command path addpath rmpath Matlab

35 4 M Matlab Command Matlab Matlab Matlab Matlab M Matlab M.m example1.m 4.1 M M Matlab File New M-file Matlab M % script M-file example1.m erasers = 4; % number of each item pads = 6; tape = 2; items = erasers + pads + tape cost = erasers*25 + pads*52 + tape*99 average_cost = cost/items Run F5 File Save M example.m Matlab.m >> example1 items = 12 cost = 610 average_cost = Matlab example1

36 24 Matlab 6 Matlab example1 Matlab M example1 Matlab Matlab example1.m Command M Matlab M Matlab M echo on Matlab Command echo on echo off echo M example1.m M erasers pads tape F5 M Matlab example1.m Matlab M beep disp(variablename) echo input keyboard pause or pause(n) waitforbuttonpress Command M return M n Matlab Command Matlab disp >> items items = 12 >> disp(items) 12 input example.m

37 4 M 25 % script M-file example1.m erasers = 4; % Number of each item pads = 6; tape = input('enter the number of rolls of tape purchased>'); items = erasers + pads + tape cost = erasers*25 + pads*52 + tape*99 average_cost = cost/items M >> example1 Enter the number of rolls of tape purchased > 3 items = 13 cost = 709 average_cost = input Matlab >> example1 Enter the number of rolls of tape purchased > round(sqrt(13))-1 items = 13 cost = 709 average_cost = round(sqrt(13)) 1 echo % script M-file example1.m echo on erasers = 4; % Number of each item pads = 6; tape = input('enter the number of rolls of tape purchased>'); items = erasers + pads + tape cost = erasers*25 + pads*52 + tape*99 average_cost = cost/items echo off >> example1 erasers = 4; % Number of each item pads = 6;

38 26 Matlab 6 input('enter the number of rolls of tape purchased >'); Enter the number of rolls of tape purchased > 2 items= erasers + pads + tape items = 12 cost = erasers*25 + pads*52 + tape*99 cost = 610 average_cost = cost/items average_cost = echo off echo echo 4.2 Matlab M matlabrc.m startup.m matlabrc.m Matlab M Figure Matlab matlabrc.m pathdef.m Matlab pathdef.m matlabrc.m Matlab M startup.m M startup.m Matlab startup.m addpath path Matlab format compact graymon startup.m colordef startup.m M quit startup.m Matlab toolbox/local startup.m Matlab Matlab File Exit Matlab Matlab exit quit Matlab Matlab finish.m M Matlab finish.m quit cancel % FINISH Confirm Desire for Quitting MATLAB question = 'Are You Sure You Want To Quit? ';

39 4 M 27 button = questdlg(question, 'Exit Request', 'Yes', 'No', 'No'); switch button case 'No' quit cancel; % how to cancel quitting! end % 'Yes' lets script and MATLAB end.

40 5 Matlab 5.1 y=sin(x) 0 x sin(x) x 0.1 sin(x) x=0 0.1, x x y X y x y x y x x y x 1 x y 5 y 5 x n x n Matlab >> x = [0.1*pi.2*pi.3*pi.4*pi.5*pi.6*pi.7*pi.8*pi.9*pi pi] x = Columns 1 through Columns 8 through >> y = sin(x) y = Columns 1 through Columns 8 through Matlab x

41 5 29 x Matlab x y Matlab [1 2i i] 5 [(1 2i) i] [1 2i i] x Matlab x Matlab x(1) x x(2) x >> x(3) % The third elemnet of x >> y(5) % The fifth element of y Matlab >> x(1:5) x 1 5 1:5 1 5 >> x(7:end) x 7 end x >> y(3:-1:1) : 1:1 3 1 >> x(2:2:7)

42 30 Matlab x :2: >> y([ ]) [ ] y [ ] y >> y([ ]) Matlab 1 >> y(3.2) Warning:Subscript indices must be integer values. Ans = >> y(3.7) Warning:Subscript indices must be integer values. Ans = >> y(11.6) Warning:Subscript indices must be integer values.??? Index exceeds matrix dimensions. Matlab Matlab y y 12 Matlab 5.3 x x x

43 5 31 >> x = (0:0.1:1)*pi x = columns 1 through columns 8 through >> x = linspace(0,pi,11) x = columns 1 through columns 8 through (0:0.1:1) x Matlab linspace x linspace(first_value,last_value,number_of_values) Matlab linspace Matlab logspace >> logspace(0,2,11) columns 1 through columns 8 through logspace(first_exponent,last_exponent,number_of_values) logspace linspace logspace >> a = [1:7] a = >> b = [linspace(1,7,5)] b =

44 32 Matlab 6 >> a = (1:7)'%change row to column a = >> a = 1:5, b =1:2:9 a = b = >> c = [b a] c = c b a b a >> d = [a(1:2:5) 1 0 1] d = d d a Matlab

45 5 33 x=[2 2*pi sqrt(2) 2 3j] x=first:last x=first:increment:last x=linspace(first,last,n) x=logspace(first,last,n) x x first 1 last last x=[first:last] Matlab x first increment last last x first last n x 10 first 10 last n 5.4 >> c = [1;2;3;4;5] c = start:increment:end linspace logspace Matlab ' >> a = 1:5 a = >> b = a' b = 1 2 3

46 34 Matlab a b >> w = b' w = Matlab '. ' >> c = a. ' c = ' ' >> d = a + i*a d = Columns 1 through i i i i columns i a i >> e = d' e = i i i i i e d >> f = d.' f = i i i i = 1

47 i i f d >> g = [ ; ] g = g Matlab 5 >> g = [ ] g = Matlab >> h = [ ]??? All rows in the bracketed expression must have the same number of columns. Matlab 5.5 x >> g g 2 >> 2*g - 1

48 36 Matlab g 2 1 >> 2*g/ g >> g % recall previous array g = >> h [ ; ; ] % create new array h = >> g + h % add h to g on an element-by-element basis >> ans h % subtract h from the previous answer to get g back >> 2*g h % multiplies g by 2 and subtracts h from the result

49 >> 2*(g h) % use parenthese to change order of operation >> g.*h * g h Matlab >> g*h??? Error using ==> * Inner matrix dimensions must agree. >> g./h >> h.\g Matlab Matlab

50 38 Matlab 6 >> 1./g >> f=[ ; ; ] % create numerator by scalar expansion f = >> f./g >> f./h Matlab >> g/h Warning:Rank deficient, rank = 1 tol =5.3291e >>h/g Warning:Rank deficient,rank = 2 tol = e g h Matlab ^.^

51 5 39 >> g,h % recalls the arrays used earlier g = h = >> g.^2 Ans = g >> g^2??? Error using ==> ^ Matrix must be square. >> g.^ g >> l./g >> 2.^g g ij g ij g

52 40 Matlab 6 >> g.^h g ij h ij g ij h ij g h h 1 >> g.^(h-1) A = [a 1 a 2 a n ] B = [b 1 b 2 b n ] c = < > A+c = [a 1 +c a 2 +c a n +c] A-c = [a 1 -c a 2 c a n c] A*c = [a 1 *c a 2 *c a n *c] A/c =c\a = [a 1 /c a 2 /c a n /c] A+B = [a 1 +b 1 a 2 +b 2 a n +b n ] A.*B = [a 1 *b 1 a 2 *b 2 a n *b n ] A./B = [a 1 /b 1 a 2 /b 2 a n /b n ] B.\A = [a 1 /b 1 a 2 /b 2 a n /b n ] A.^c = [a 1^c a 2^c a n^c] c.^a = [c^ a 1 c^a 2 c^a n ] A.^B = [a 1^ b 1 a 2^ b 2 a n^ b n ] 5.7 Matlab 1 0

53 5 41 >> ones(3) >> zeros(2,5) >>size(g) 3 4 >> ones(size(g)) ones(n) zeros(n) Matlab n n 1 0 ones(r,c) zeros(r,c) Matlab r c ones zeros size >> eye(4) >> eye(2,4) >> eye(4,2) eye 1 0 A(i,i) 0 i=1:min(r,c) min(r,c) A >> rand(3)

54 42 Matlab >> rand(1,5) >> b = eye(3) b = >> rand(size(b)) rand 0 1 >> randn(2) >> randn(2,5) randn 0 >> a = 1:4 % start with a simple vector a = >> diag(a) % place elements on the main diagonal >> diag(a,1) % place elements 1 place up from diagonal >> diag(a,-2) % place elements 2 places down from diagonal

55 diag >> d = pi; % choose pi for this example >> d*ones(3,4) % slowest method (scalar-array multiplication) >> d+zeros(3,4) % slower method (scalar-array addition) >> d(ones(3,4)) % fast method (array addressing) >> repmat(d,3,4) % fastest method (optimum array addressing) d(ones(r,c)) r c 1 d 1 repmat(d,r,c) repmat d D(r*c) = d; %a row vector whose (r*c)-th element is d D(:)= d; %scalar expansion to fill all elements of D with d D = reshape(d,r,c); %reshape the vector into the desired r-by-c shape

56 44 Matlab 6 Matlab r c d reshape r c repmat reshape 5.8 Matlab Matlab Matlab Matlab >> A = [1 2 3;4 5 6;7 8 9] A = >> A(3,3) = 0 % set element in 3rd row, 3rd column to zero A = >> A(2,6) = 1 % set element in 2nd row, 6th column to one A = A 6 A 0 >> A(:,4) = 4 A = A 4 4 Matlab 4 Matlab >> A(:,4) = [4;4;4] A =

57 5 45 >> A(:,4) = [4 4 4] % but a row can't be squeezed into a column!??? In an assignment A(:,matrix) = B,the number of elements in the subscript of A and the number of columns in B must be the same. >> A = [1 2 3;4 5 6;7 8 9]; % restore original data >> B = A(3:-1:1,1:3) B = >> B = A(end:-1:1,1:3) % same as above B = A B end end 3 >> B = A(3:-1:1,:) B = :3 A 3 >> C = [A B(:,[1 3])] C = C B A >> B = A(1:2,2:3) B = >> B = A(1:2,2:end) % same as above B = A B end

58 46 Matlab 6 >> C = [1 3] C = 1 3 >> B = A(C,C) B = C A start:increment:end start:end A B >> B = A(:) B = A A B >> B = B. ' B = >> B = reshape(a,1,9) % reshape A into 1-by-9 B = >> B = reshape(a,[1 9]) B = reshape >> B = A % copy A into B B = >> B(:,2) = [] B =

59 B B B [ ] >> C = B. ' C = >> reshape(b,2,3) % reshape is not equivalent to transpose reshape I I >> C(2,:) = [] C = C 2 >> A(2,:) = C A = C A 2 >> B = A(:,[ ]) % create new B array B = >>B = A(:,2+zeros(1,4)) % [ ]=2+zeros(1,4) B = >>B = repmat(a(:,2),1,4) % replicate 2nd column into 4 columns B =

60 48 Matlab 6 A 2 4 B >>A, C % show A and C again A = C = >> A(2,2) = []??? Index empty matrix assignment is not allowed. Matlab >>C = A(4,:)??? Indexed exceeds matrix dimensions. A 4 Matlab A(r,c) (r,c) 0 A(r,c) A A(r,c) >>C(1:2,:) =A??? In an assignment A(matrix,:) = B, the number of columns in A and B must be the same. >>C (3:4,:) = A(2:3,:) C = A 2 3 A C 2 4 Matlab C 2 0 >>A = [1 2 3;4 5 6;7 8 9] % fresh data A = 1 2 3

61 >>A(:,2:3) % a peek at what's addressed next >> G(1:6) = A(:,2:3) G = A 2 3 G A 1 2 G A G >> H = ones(6,1); % create a column array >> H(:) = A(:,2:3) % fill H without changing its shape H = : A 2 3 H >> A(2,:) = 0 A = A >> A(2,:) = [0 0 0] A = Matlab

62 50 Matlab 6 >> A(1,[1 3]) = pi A = reshape >> D(2*4) = 2 % create array with 8 elements D = >> D(:) = 2 % scalar expansion D = >> D = reshape(d,2,4) % reshape D = D(2*4)=2 8 2 D(:) D 2 >> A =reshape (1:12,3,4) ' A = >> r = [3 2 1] r = A i r(i) >> Ar = [A(:,1)-r(1) A(:,2)-r(2) A(:,3)-r(3)] Ar =

63 5 51 >> R =r([ ],:) % duplicate r to have 4 rows R = >> Ar = A R % now use element by element subtraction Ar = ones size repmat R >> R =r(ones(size(a,1),1),:) % historically this is Tony's trick R = >> R =repmat(r,size(a,1),1) % often faster than Tony's trick R = size(a,1) A Matlab 1 2 >> D =reshape(1:12,3,4) % new data D = >> D(2) 2 >> D(5) 5 >>D(end) 12

64 52 Matlab 6 >> D(4:7) Matlab sub2ind ind2sub >> sub2ind(size(d),2,4) % find single index from row and column 11 >> [r,c] = ind2sub(size(d),11) % find row and column from single index r = 2 c = size D True(1) False(0) >> X = -3:3 % Create data X = >> abs(x)> x 1 1 True 1 0 False >> y = x(abs(x)>1) Y = y x 1 abs(x)>1 [ ] >> y =x([ ])??? Index into matrix is negative or zero. See release notes on changes to logical indices. abs(x)>1 [ ] [ ] Matlab [ ]

65 Matlab logical >> y =x(logical([ ])) y = Matlab logical 1 >> B = [5 3;2-4] % new data B = >> x = abs(b)>2 % logical result x = >> y = B(x) % grab True values y = Matlab A(r,c) A(r,:) A(:,c) A(:) A(k) A(x) r c A r A c A A A(:) A k A A(:) x A x A

66 54 Matlab Matlab sort >> X = randperm(8) % new data X = >> xs = sort(x) % sort ascending xs = >> [xs,idx] = sort(x) % return sort inder as well xs = idx = sort,xs(k)=x(idx(k)) Matlab [a,b] b a >> xsd = xs(end:-1:1) xsd = >> idxd = idx(end:-1:1) idxd = sort >> A = [randperm(6);randperm(6); randperm(6); randperm(6)] % new data A = >> [As,idx] = sort(a) As =

67 idx = sort 2 Matlab >> [tmp,idx] = sort(a(:,4)); % sort 4-th column only >> As = A(idx,:) % rearrange rows in all columns using idx As = As A 4 >> As = sort(a,2) % sort across 2-nd dimension As = >> As = sort(a,1) % same as sort(a) As = sort 2 A(r,c) sort(a,1) A(r,c) sort(a,2) sort 5.10 Matlab find

68 56 Matlab 6 >> x = -3:3 x = >> k = find(abs(x)>1) % finds those subscripts where abs(x)>1 k = >> y = x(k) % creates y using the indices in k. y = >> y = x(abs(x)>1) % creates the same y vector by logical addressing y = find >> A = [1 2 3; 4 5 6;7 8 9] % new data A = >> [i,j] = find(a>5) % i and j are not equal to sqrt(-1) anymore i = j = i j A(i(1),j(1)) A A>5 find >> k = find(a>5) k = >> A(k) % look at elements greater than 5 7

69 >> A(k) = 0 % set elements addressed by k to zero A = >> A = [1 2 3;4 5 6;7 8 9] % restore data A = >> A(i,j) % this is A([ ],[ ]) >> A(i,j) = 0 % this is A([ ],[ ]) also A = A(i,j) A(k) Matlab A(i,j) >> [A(3,1) A(3,2) A(2,3) A(3,3) A(3,1) A(3,2) A(2,3) A(3,3) A(2,1) A(2,2) A(2,3) A(2,3) A(3,1) A(3,2) A(2,3) A(3,3)] i j i j A(i,j) A(k) A(i,j) >> diag(a(i,j)) 7 8

70 58 Matlab diag(a( i,j))=a(k) A(k) A(i,j) 0 >>A(3,1)=0; A(3,2)=0; A(3,3)=0; A(3,3)=0; % i(1) with all j >>A(3,1)=0; A(3,2)=0; A(3,3)=0; A(3,3)=0; % i(2) with all j >>A(2,1)=0; A(2,2)=0; A(2,3)=0; A(2,3)=0; % i(3) with all j >>A(3,1)=0; A(3,2)=0; A(3,3)=0; A(3,3)=0; % i(4) with all j A = find A(i,j) A(k) i =find(x) [r,c]=find(x) X 0 X 0 find Matlab max min >> V = rand(1,6) % new data V = >> max(v) % return maximum value >> [mx,i] =max(v) % maximum value and its index mx = i = 4 >> min(v) % return minimum value >> [mn,i] = min(v) % minimum value and its index mn = i =

71 min max >> A rand(4,6) % new data A= >> [mx,r] =max(a) mx = r = >> [mn,r] = min(a) mn = r = mx A r min max >> mmx = max(mx) % apply max again to prior result mmx = >> [mmx,i] = max(a(:)) % reshape A as a column vector first mmx = i = 8 max(max(a)) mmx=a(i) min max find >> x= [ ] x = >> mx = max(x) mx = 6 >> i = find(x==mx) % indices of values equal to mx

72 60 Matlab 6 i = 3 7 min max 5.11 Matlab >> A = [1 2 3; 4 5 6;7 8 9] % fresh data A = >> flipud(a) % flip array in up-down direction >> fliplr(a) % flip array in the left-right direction >> rot90(a) % rotate array 90 degrees counterclockwise >> rot90(a,2) % rotate array 2*90 degrees counterclockwise >> B = 1:12 % more data B = >> reshape(b,2,6) % reshape to 2 row, 6 columns, fill by columns >> reshape(b,[2 6]) % equivalent to above

73 >> reshape(b,3,4) % reshape to 3 rows, 4 columns, fill by columns >> reshape(a,3,2) % A has more than 3*2 elements, OOPS!??? To RESHAPE the number of elements must not change. >> reshape(a,1,9) % stretch A into a row vector >> A % remember what A is A = >> diag(a) % extract diagonal using diag >> diag(ans) % remember this? same function, different action >> triu(a) % extract upper triangular part >> tril(a) % extract lower triangular part >> tril(a) diag(diag(a)) % lower triangular part with no diagonal >> a =[1 2;3 4] % a smaller data array a =

74 62 Matlab >> b = [0 1;-1 0] % another smaller data array b = >> kron(a,b) % the Kronecker tensor product of a and b kron(a,b) >> [1*b 2*b 3*b 4*b] >> kron(b,a) % the Kronecker tensor product of b and a kron(b,a) >> [0*a 1*a -1*a 0*a] kron(a,b) repmat >> a % recall data a = >> repmat(a,1,3) % replicate a once down, 3 across

75 >> repmat(a,[1 3]) % equivalent to above >> [a a a] % equivalent to above >> repmat(a,2,2) % replicate a twice down, twice across >> repmat(a,2) % same as repmat(a,2,2) and repmat (a,[2 2]) >> [a a; a a] % equivalent to above repmat reshape repmat repmat(a,n) repmat(a,[n,n]) repmat(d,size(a)) size >> A=reshape(1:12,[3 4]) % new data A = >> repmat(pi,size(a)) % pi replicated to be the size of A

76 64 Matlab Matlab size length numel >> A = [ ; ] A = >> s = size(a) s = 2 4 size >> [r,c] = size(a) r = 2 c = 4 size >> r = size(a,1) % number of rows r = 2 >> c = size(a,2) % number of columns c = 4 size size 2 A(r,c) r size(a,1) A(r,c) size(a,2) numel >> numel(a) ans= 8 length >> length(a) ans= 4 length

77 5 65 >> B = -3:3 B = >> length(b) % length of a row vector 7 >> length(b') % length of a column vector 7 size length 0 >> c = [] % you can create an empty variable! c = [] >> size(c) ans= 0 0 >> d = zeros(3,0) % an array with one dimension nonzero! d = Empty matrix:3-by-0 >> size(d) 3 0 >> length(d) 0 >> max(size(d)) % maximum of elements of size(d) Warning:Use length(x) instead of max(size(x)) when x might be empty. 3 Matlab 0 0 length Matlab s=size(a) [r,c]=size(a) r=size(a,1) c=size(a,2) n=length(a) n=max(size(a)) n=numel(a) s A r c A A A A max(size(a)) A 0 0 A A A length(a) A A 0 A

78 66 Matlab Matlab C (malloc calloc free) Matlab Matlab Matlab Matlab >> P = zeros(100); Matlab >> P =rand(5,6); >> P = zeros(5,6); % same size as earlier >> P = ones(6,5); % same number of elements as earlier Matlab / / a a=2 a=1 a / >> P(3,3) = 1; P(3,3)

79 5 67 >> P(8,1) = 1; >> size(p) 8 5 P Matlab / >> P(:) = ones(1,40); Matlab / P >> size(p) 8 5 Matlab global Matlab >> A = zeros(10); >> B = zeros(10); >> C = B; A B 10 C B C B C C B C B B C Matlab B C myfunc(a,b,c) a b c M

80 68 Matlab 6 >> prod(size(a)) 100 size(a) prod size(a) >> tmp=size(a); >> prod(tmp) 100 size(a) Matlab proc >> A=1:5 A = >> B= 6:10; >> A=[A;B] A = >> C = 11:15; >> A = [A:C] A = A >> A=zeros(3,5) % grab all required memory up front A = >> A(1,:)=1:5; % no memory allocation here >>B=6:10;

81 5 69 >>A(2,:)=B; % no memory allocation here >> C=11:15; >> A(3,:)=C % no memory allocation here A = A A P=zeros(100);P=rand(5,6); P(3,3)=1; P(8,1)=1; P=zeros(5,6);P=ones(5,6) / / / / P(:)=rand(1,30) P / B=zeros(10);C=B; C B B B C prod(size(a))tmp=size(a);prod(tmp) myfunc(a,b,c) a b c / A=zeros(3,5);A(1,:)=1:5; A(2,:)=6:10;A(3,:)=11:15; / /

82 6 Matlab 5 Matlab n 3 (page) >> A = zeros(4,3,2) A(:,:,1) = A(:,:,2) = ones rand randn >> A = zeros(2,3) % start with a 2-D array A = >>A(:,:,2) = ones(2,3) % add a second page to go 3-D!

83 6 71 A (:,:,1) = A (:,:,2) = >> A (:,:,3) = 4 % add a third page by scalar expansion A (:,:,1) = A (:,:,2) = A (:,:,3) = reshape repmat n >> B = reshape(a,2,9) % 2-D data, stack pages side-by-side B = >> B = [A(:,:,1) A(:,:,2) A(:,:,3)] % equivalent to above B = >> reshape(b,2,3,3) % recreate A! ans(:,:,1) = ans(:,:,2) = ans(:,:,3) = >> reshape (B,[2 3 3])% alternative to reshape (B,2,3,3,) ans(:,:,1)= ans(:,:,2)= ans(:,:,3)=

84 72 Matlab reshape >> C ones(2,3) % new data >> C = >> repmat(c,1,1,3) % this form not allowed above 2-D!??? Error using ==> repmat Too many input arguments. >> repmat(c,[1 1 3]) ans(:,:,1) = ans(:,:,2) = ans(:,:,3) = C cat n >> a = zeros(2); % new data >> b = ones(2); >> c = repmat(2,2,2); >>D = cat (3,a,b,c) % concatenate a,b,c along the 3rd dimension D(:,:,1) = D(:,:,2) = D(:,:,3) = >> D = cat(4,a,b,c) % try the 4th dimension! D(:,:,1,1) = D(:,:,1,2) = D(:,:,1,3) =

85 >> D(:,1,:,:) % look at elements in column 1 ans(:,:,1,1) = 0 0 ans(:,:,1,2) = 1 1 ans(:,:,1,3) = 2 2 >> size(d) D Matlab n squeeze (singleton dimension) 1 >>E = squeeze(d) % squeeze dimension 4 down to dimension 3 E(:,:,1) = E(:,:,2) = E(:,:,3) = >> size(e) E D >> v(1,1,:) = 1:6 % a vector along the page dimension v(:,:,1) =

86 74 Matlab 6 1 v(:,:,2) = 2 v(:,:,3) = 3 v(:,:,4) = 4 v(:,:,5) = 5 v(:,:,6) = 6 >> squeeze(v) % squeeze it into a column vector >> v(:) % this always creates a column vector reshape >> F =cat(3,2+zeros(2,4),ones(2,4),zeros(2,4)) % new 3-D array F(:,:,1) = F(:,:,2) = F(:,:,3) = >> G = reshape(f,[3 2 4]) % change it to 3 rows, 2 columns, 4 pages G(:,:,1) = G(:,:,2) =

87 G(:,:,3) = G(:,:,4) = >> H = reshape(f,[4 3 2]) % or 4 row, 3 columns, 2 pages H(:,:,1) = H(:,:,2) = >> K = reshape(f,2,12) % 2 rows, 12 columns,1 page K = n reshape reshape reshape G K F sub2ind ind2sub >> sub2ind(size(f),1,1,1) % 1st row, 1st column, 1st page is element 1 1 >> sub2ind(size(f),1,2,1) % 1st row,2nd column,1st page is element 3 3 >> sub2ind(size(f),1,2,3) % 1st element,2nd column,3rd page is element >> [r,c,p]=ind2sub(size(f),19) % inverse of above r = 1

88 76 Matlab 6 c = p = 2 3 flipud fliplr n flipdim >> M = reshape(1:18,2,3,3) % new data M(:,:,1) = M(:,:,2) = M(:,:,3) = >> flipdim(m,1) % flip row order ans(:,:,1) ans(:,:,2) = ans(:,:,3) = >> flipdim(m,2) % flip column order ans(:,:,1) = ans(:,:,2) = ans(:,:,3) = >> flipdim(m,3) % flip page order ans(:,:,1)= ans(:,:,2)= ans(:,:,3)=

89 6 77 shiftdim r c p 1 c p r >> M % recall data M(:,:,1) = M(:,:,2) = M(:,:,3) = >> shiftdim(m,1) % shift one dimension ans(:,:,1) = ans(:,:,2) = >> shiftdim(m,2) % shift two dimensions ans(:,:,1) = ans(:,:,2) = ans(:,:,3) = M 3 M shiftdim

90 78 Matlab 6 >> M % recall data M(:,:,1) = M(:,:,2) = M(:,:,3) = >> size(m) % M has 2 rows,3 columns, and 3 pages >> shiftdim(m,-1) % shift dimensions out by 1 ans(:,:,1,1) = 1 2 ans(:,:,2,1) = 3 4 ans(:,:,3,1) = 5 6 ans(:,:,1,2) = 7 8 ans(:,:,2,2) = 9 10 ans(:,:,3,2) = ans(:,:,1,3) = ans(:,:,2,3) = ans(:,:,3,3) = >> size(ans) r c c r permute ipermute n permute shiftdim >> M % recall data M(:,:,1) = 1 3 5

91 M(:,:,2) = M(:,:,3) = >> permute(m,[2 3 1] % same as shiftdim(m,1) ans(:,:,1) = ans(:,:,2) = >> shiftdim(m,1) ans(:,:,1) = ans(:,:,2) = [2 3 1] >> permute(m,[2 1 3]) ans(:,:,1) = ans(:,:,2) = ans(:,:,3) = [2 1 3] permute Permute ORDER

92 80 Matlab 6 >> permute(m,[2 1 1])??? Error using ==> permute ORDER cannot contain repeated permutation indices. >> permute(m,[2 1 4])??? Error using ==> permute ORDER contains an invalid permutation index. permute shiftdim(m, 1) >> permute(m,[ ]) ans(:,:,1,1) = 1 2 ans(:,:,2,1) = 3 4 ans(:,:,3,1) = 5 6 ans(:,:,1,2) = 7 8 ans(:,:,2,2) = 9 10 ans(:,:,3,2) = ans(:,:,1,3) = ans(:,:,2,3) = ans(:,:,3,3) = singleton M ipermute permute n >> M % recall data M(:,:,1)= M(:,:,2) = M(:,:,3) = >> permute(m,[3 2 1]) % sample permutation

93 6 81 ans(:,:,1) = ans(:,:,2) = >> ipermute(m,[3 2 1]) % back to original data ans(:,:,1) = ans(:,:,2) = size size numel >> size(m) % return array of dimensions >>numel(m) % number of elements 18 >> [r,c,p] = size(m) % return individual variables r = 2 c = 3 p = 3 >> r =size(m,1) % return just rows 2 >> c = size(m,2) % return just columns c = 3 >> p = size(m,3) % return just pages p =

94 82 Matlab 6 3 >> v = size(m,4) % default for all higher dimensions v = 1 ndims >> ndims(m) 3 >> ndims(m(:,:,1)) % just the 2-D first page of M 2 M(:,:,1) ndims >> length(size(m)) 3 n ones(r,c, )zeros(r,c, )rand(r,r, )randn(r,c, ) reshape(b,2,3,3) reshape(b,[2 3 3]) repmat(c,[1 1 3]) cat(3,a,b,c) squeeze(d) sub2ind(size(f)),1,1,1) [r,c,p]=ind2sub(size(f),19) flipdim(m,1) shiftdim(m,2) permute(m,[2 1 3] ipermute(m,[2 1 3]) size(m) [r,c,p]=size(m) r=size(m,1) c=size(m,2) p=size(m,3) ndims(m) numel(m) n 1 n flipud fliplr n n

95 7 Matlab 5 cell array structure container Matlab 7.1 Matlab Matlab Matlab Matlab cell Matlab

96 84 Matlab 6 {} Matlab >> clear A % make sure A is not being used >> A(1,1) = { [1 2 3; 4 5 6; 7 8 9]}; >> A(1,2) = { 2+3i }; % semicolons suppress display >> A(2,1) = { 'A character string'}; >> A(2,2) = { 12:-2:0 } % no semicolon, so display requested A= [3 3 double] [ i] 'A character string' [1 7 double] Matlab A 2 2 Matlab Matlab cell indexing >> A{1,1} = [1 2 3; 4 5 6; 7 8 9]; >> A{1,2} = 2+3i; >> A{2,1} = 'A character string'; >> A{2,2} = 12:-2:0; A = [3 3 double] [ i] 'A character string' [1 7 double] A{1,1} A (content indexing) {} ( ) A(i,j)={x} A(i,j)=x Matlab x A i,j A(i,j) A{i,j} { ( ) celldisp Matlab >> celldisp(a) >> A{1,1} = >> A{2,1} = A character string

97 7 85 >> A{1,2} = i >> A{2,2} = celldisp >> A{2,2} % content addressing >> A(2,2) % cell indexing [1x7 double] >> A{1,:} % address contents of the first row i >> A(1,:) [3 3 double] [ i] ans >> B = {[1 2] 'John Smith';2+3i,5} B= [1 2 double] 'John Smith' [ i] [ 5] 0 cell [ ] >> C =cell(2,3) C = [] [] [] [] [] [] >> C(1,1) = 'This doesn' 't work'??? Conversion to cell from char is not possible.

98 86 Matlab 6 Matlab >> C(1,1) = { 'This does work' } C = 'This does work' [] [] [] [] [] >> C{2,3} = 'This works too' C = 'This does work' [] [] [] [] 'This works too' Matlab 7.2 Matlab [ ] >>A % recall prior cell arrays A = [3 3 double] [ i] 'A character string' [1 7 double] >> B B = [1 2 double] 'John Smith' [ i] [ 5] >> C=[A;B] C = [3 3 double] [ i] 'A character string' [1 7 double] [1 2 double] 'John Smith' [ i] [ 5] >> D = C([1 3],:) % first and third rows D =

99 7 87 [3 3 double] [1 2 double] [ i] 'John Smith' >> C (3,:) = [] C = [3 3 double] [ i] 'A character string' [1 7 double] [ i] [ 5] reshape >> X = cells(3,4); >> size(x) % size of the cell array, not the contents 3 4 >> Y = reshape(x,6,2); >> size(y) 6 2 reshape size repmat Matlab Matlab reparray repmat >> Y % recall data Y = [] [] [] [] [] [] [] [] [] [] [] [] >> Z = repmat(y,1,3) Z = [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []

100 88 Matlab 6 [] [] [] [] [] [] 7.3 >> B % recall cell array B = [1 2 double] 'John Smith' [ i] [ 5] >> x =B{2,2} % content addressing uses {} x = 5 x 5 x class >> class(x) % return argument's data type double class x double >> y = B(2,2) % cell indexing uses( ) y = [5] >> y = B(4) % same as above using single index y = [5] >> calss(y) % y is not a double, but a cell! cell >> class(y{1}) % but the contents of y is a double! double True=1 False=0 >> iscell(y) % yes, y is a cell 1 >> iscell(y{1}) % contents of y is NOT a cell

101 >> isa(y, 'cell') %yes, y is a cell 1 >> isdouble(y{1}) % this function does't exist (yet?)??? Undefined function or variable 'isdouble' >> isnumeric(y{1}) % contents of y is numerical 1 >> isa(y{1},'double')% contents of y is a double 1 >> isa(y{1},'numeric') % contents of y is also numeric 1 >> isa(y{1},'cell') % contents of y is NOT a cell 0 >> B{:,2} John Smith Ans = 5 >> d=b{:,2}??? Illegal right-hand side in assignment.too many elements. d 2 1 >> A % recall prior data A = [3 3 double] [ i] 'A character string' [1 7 double] >> celldisp(a) % display contents A{1,1} = A{2,1} =

102 90 Matlab 6 A character string A{1,2} = i A{2,2} = >> A{1,1}(3,:) % third row of 3-by-3 array >> A{4}(2:5) % second through fifth elements of A{2,2} >> A{1,2}(2) % second element doesn't exist??? Index exceeds matrix dimensions. >> A{2,1}(3:11) % extract part of the character string character 7.4 Matlab >> a = ones(2,3); >> b =zeros(2,1); >> c =(3:4) '; >> d =[a,b,c] % same as [a b c] d = >> d = cat(2,a,b,c) d = >> [m,n] =size(d) m = 2 n = 5 Matlab

103 7 91 >> F = {a b c} % create a cell array F = [2 3 double] [2 1 double] [2 1 double] >> d = cat(2,f{:}) % same as cat (2,a,b,c) d = >> d = cat(2,f{:}) % not content addressing d = [2 3 double] [2 1 double] [2 1 double] cat(2,f{:}) Matlab cat(2,f{1},f{2},f{3}) cat(2,a,b,c) F{:} F{:} cat(2,f(:)) >> d = [F{:}] d = >> d = [F{1}, F{2}, F{3}] % what is implied by the above d = >> e = [F{2:3}] % can also content address any subset e = >> e = [F{2},F{3}] % what is implied by the above e = lists comma-separated list deal deal >> celldisp(f) % recall data F{1} = F{2} =

104 92 Matlab F{3} = 3 4 >> [r,s,t] = deal(f{:}) % deal out contents of F r = s = t = r s t r=f{1} s=f{2} t=f{3} >> [r,s,t] = deal(f{1}, F{2}, F{3}) r = s = 0 0 t = 3 4 deal deal output deal >> [G{:}] = deal(a,b,c)??? Error using ==> deal The number of outputs should match the number of inputs. >> [G{1:3}] = deal(a,b,c) G = [2 3 double] [2 1 double] [2 1 double] >> F ={a b c} F = [2 3 double] [2 1 double] [2 1 double] >> isequal(f,g) % True since F =G 1

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

More information

Microsoft PowerPoint - Lecture7II.ppt

Microsoft PowerPoint - Lecture7II.ppt Lecture 8II SUDOKU PUZZLE SUDOKU New Play Check 軟體實作與計算實驗 1 4x4 Sudoku row column 3 2 } 4 } block 1 4 軟體實作與計算實驗 2 Sudoku Puzzle Numbers in the puzzle belong {1,2,3,4} Constraints Each column must contain

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

WWW PHP

WWW PHP WWW PHP 2003 1 2 function function_name (parameter 1, parameter 2, parameter n ) statement list function_name sin, Sin, SIN parameter 1, parameter 2, parameter n 0 1 1 PHP HTML 3 function strcat ($left,

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

K301Q-D VRT中英文说明书141009

K301Q-D VRT中英文说明书141009 THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

C/C++语言 - 运算符、表达式和语句

C/C++语言 - 运算符、表达式和语句 C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe

More information

ENGG1410-F Tutorial 6

ENGG1410-F Tutorial 6 Jianwen Zhao Department of Computer Science and Engineering The Chinese University of Hong Kong 1/16 Problem 1. Matrix Diagonalization Diagonalize the following matrix: A = [ ] 1 2 4 3 2/16 Solution The

More information

入學考試網上報名指南

入學考試網上報名指南 入 學 考 試 網 上 報 名 指 南 On-line Application Guide for Admission Examination 16/01/2015 University of Macau Table of Contents Table of Contents... 1 A. 新 申 請 網 上 登 記 帳 戶 /Register for New Account... 2 B. 填

More information

三維空間之機械手臂虛擬實境模擬

三維空間之機械手臂虛擬實境模擬 VRML Model of 3-D Robot Arm VRML Model of 3-D Robot Arm MATLAB VRML MATLAB Simulink i MATLAB Simulink V-Realm Build Joystick ii Abstract The major purpose of this thesis presents the procedure of VRML

More information

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 WWW PHP 2003 1 Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 Comments PHP Shell Style: # C++ Style: // C Style: /* */ $value = $p * exp($r * $t); # $value

More information

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡 Tips of the Week 课 堂 上 的 英 语 习 语 教 学 ( 二 ) 2015-04-19 吴 倩 MarriottCHEI 大 家 好! 欢 迎 来 到 Tips of the Week! 这 周 我 想 和 老 师 们 分 享 另 外 两 个 课 堂 上 可 以 开 展 的 英 语 习 语 教 学 活 动 其 中 一 个 活 动 是 一 个 充 满 趣 味 的 游 戏, 另 外

More information

Chn 116 Neh.d.01.nis

Chn 116 Neh.d.01.nis 31 尼 希 米 书 尼 希 米 的 祷 告 以 下 是 哈 迦 利 亚 的 儿 子 尼 希 米 所 1 说 的 话 亚 达 薛 西 王 朝 二 十 年 基 斯 流 月 *, 我 住 在 京 城 书 珊 城 里 2 我 的 兄 弟 哈 拿 尼 和 其 他 一 些 人 从 犹 大 来 到 书 珊 城 我 向 他 们 打 听 那 些 劫 后 幸 存 的 犹 太 人 家 族 和 耶 路 撒 冷 的 情 形

More information

Windows XP

Windows XP Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs

More information

Computer Architecture

Computer Architecture ECE 3120 Computer Systems Assembly Programming Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun21 Email: msjeedigun21@tntech.edu Tel: 931-372-6181, Prescott Hall 120 Prev: Basic computer concepts

More information

Logitech Wireless Combo MK45 English

Logitech Wireless Combo MK45 English Logitech Wireless Combo MK45 Setup Guide Logitech Wireless Combo MK45 English................................................................................... 7..........................................

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

More information

PowerPoint Presentation

PowerPoint Presentation TOEFL Practice Online User Guide Revised September 2009 In This Guide General Tips for Using TOEFL Practice Online Directions for New Users Directions for Returning Users 2 General Tips To use TOEFL Practice

More information

WinMDI 28

WinMDI 28 WinMDI WinMDI 2 Region Gate Marker Quadrant Excel FACScan IBM-PC MO WinMDI WinMDI IBM-PC Dr. Joseph Trotter the Scripps Research Institute WinMDI HP PC WinMDI WinMDI PC MS WORD, PowerPoint, Excel, LOTUS

More information

untitled

untitled Co-integration and VECM Yi-Nung Yang CYCU, Taiwan May, 2012 不 列 1 Learning objectives Integrated variables Co-integration Vector Error correction model (VECM) Engle-Granger 2-step co-integration test Johansen

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

C/C++程序设计 - 字符串与格式化输入/输出

C/C++程序设计 - 字符串与格式化输入/输出 C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int

More information

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM CHAPTER 6 SQL SQL SQL 6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM 3. 1986 10 ANSI SQL ANSI X3. 135-1986

More information

Guide to Install SATA Hard Disks

Guide to Install SATA Hard Disks SATA RAID 1. SATA. 2 1.1 SATA. 2 1.2 SATA 2 2. RAID (RAID 0 / RAID 1 / JBOD).. 4 2.1 RAID. 4 2.2 RAID 5 2.3 RAID 0 6 2.4 RAID 1.. 10 2.5 JBOD.. 16 3. Windows 2000 / Windows XP 20 1. SATA 1.1 SATA Serial

More information

Microsoft PowerPoint - STU_EC_Ch04.ppt

Microsoft PowerPoint - STU_EC_Ch04.ppt 樹德科技大學資訊工程系 Chapter 4: Boolean Algebra and Logic Simplification Shi-Huang Chen Fall 200 Outline Boolean Operations and Expressions Laws and Rules of Boolean Algebra DeMorgan's Theorems Boolean Analysis

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

:5-6

:5-6 License Agreement for Bible Texts These Scriptures: May not be altered or modified in any form. They must remain in their original context. May not be sold or offered for sale in any form. May not be used

More information

科学计算的语言-FORTRAN95

科学计算的语言-FORTRAN95 科 学 计 算 的 语 言 -FORTRAN95 目 录 第 一 篇 闲 话 第 1 章 目 的 是 计 算 第 2 章 FORTRAN95 如 何 描 述 计 算 第 3 章 FORTRAN 的 编 译 系 统 第 二 篇 计 算 的 叙 述 第 4 章 FORTRAN95 语 言 的 形 貌 第 5 章 准 备 数 据 第 6 章 构 造 数 据 第 7 章 声 明 数 据 第 8 章 构 造

More information

IBM Rational ClearQuest Client for Eclipse 1/ IBM Rational ClearQuest Client for Ecl

IBM Rational ClearQuest Client for Eclipse   1/ IBM Rational ClearQuest Client for Ecl 1/39 Balaji Krish,, IBM Nam LeIBM 2005 4 15 IBM Rational ClearQuest ClearQuest Eclipse Rational ClearQuest / Eclipse Clien Rational ClearQuest Rational ClearQuest Windows Web Rational ClearQuest Client

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

Microsoft PowerPoint - STU_EC_Ch02.ppt

Microsoft PowerPoint - STU_EC_Ch02.ppt 樹德科技大學資訊工程系 Chapter 2: Number Systems Operations and Codes Shi-Huang Chen Sept. 2010 1 Chapter Outline 2.1 Decimal Numbers 2.2 Binary Numbers 2.3 Decimal-to-Binary Conversion 2.4 Binary Arithmetic 2.5

More information

Microsoft Word - 苹果脚本跟我学.doc

Microsoft Word - 苹果脚本跟我学.doc AppleScript for Absolute Starters 2 2 3 0 5 1 6 2 10 3 I 13 4 15 5 17 6 list 20 7 record 27 8 II 32 9 34 10 36 11 44 12 46 13 51 14 handler 57 15 62 63 3 AppleScript AppleScript AppleScript AppleScript

More information

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d WeChat Search Visual Identity Guidelines WEDESIGN 2018. 04 Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies

More information

untitled

untitled 975 AirMeter TM Test Tool 用 户 手 册 August 2006 Rev. 1, 12/11(Simplified Chinese) 2006-2011 Fluke Corporation. All rights reserved. Specifications are subject to change without notice. All product names

More information

C o n t e n t s...7... 15 1. Acceptance... 17 2. Allow Love... 19 3. Apologize... 21 4. Archangel Metatron... 23 5. Archangel Michael... 25 6. Ask for

C o n t e n t s...7... 15 1. Acceptance... 17 2. Allow Love... 19 3. Apologize... 21 4. Archangel Metatron... 23 5. Archangel Michael... 25 6. Ask for Doreen Virtue, Ph.D. Charles Virtue C o n t e n t s...7... 15 1. Acceptance... 17 2. Allow Love... 19 3. Apologize... 21 4. Archangel Metatron... 23 5. Archangel Michael... 25 6. Ask for a Sign... 27 7.

More information

2009 Korean First Language Written examination

2009 Korean First Language Written examination Victorian Certificate of Education 2009 SUPERVISOR TO ATTACH PROCESSING LABEL HERE STUDENT NUMBER Letter Figures Words KOREAN FIRST LANGUAGE Written examination Tuesday 20 October 2009 Reading time: 2.00

More information

蔡 氏 族 譜 序 2

蔡 氏 族 譜 序 2 1 蔡 氏 族 譜 Highlights with characters are Uncle Mike s corrections. Missing or corrected characters are found on pages 9, 19, 28, 34, 44. 蔡 氏 族 譜 序 2 3 福 建 仙 遊 赤 湖 蔡 氏 宗 譜 序 蔡 氏 之 先 出 自 姬 姓 周 文 王 第 五 子

More information

MATLAB 1

MATLAB 1 MATLAB 1 MATLAB 2 MATLAB PCI-1711 / PCI-1712 MATLAB PCI-1711 / PCI-1712 MATLAB The Mathworks......1 1...........2 2.......3 3................4 4. DAQ...............5 4.1. DAQ......5 4.2. DAQ......6 5.

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

Untitled-3

Untitled-3 SEC.. Separable Equations In each of problems 1 through 8 solve the given differential equation : ü 1. y ' x y x y, y 0 fl y - x 0 fl y - x 0 fl y - x3 3 c, y 0 ü. y ' x ^ y 1 + x 3 x y 1 + x 3, y 0 fl

More information

2009 Japanese First Language Written examination

2009 Japanese First Language Written examination Victorian Certificate of Education 2009 SUPERVISOR TO ATTACH PROCESSING LABEL HERE STUDENT NUMBER Letter Figures Words JAPANESE FIRST LANGUAGE Written examination Monday 16 November 2009 Reading time:

More information

2010 Japanese First Language Written examination

2010 Japanese First Language Written examination Victorian Certificate of Education 2010 SUPERVISOR TO ATTACH PROCESSING LABEL HERE STUDENT NUMBER Letter Figures Words JAPANESE FIRST LANGUAGE Written examination Monday 15 November 2010 Reading time:

More information

AL-MX200 Series

AL-MX200 Series PostScript Level3 Compatible NPD4760-00 TC Seiko Epson Corporation Seiko Epson Corporation ( ) Seiko Epson Corporation Seiko Epson Corporation Epson Seiko Epson Corporation Apple Bonjour ColorSync Macintosh

More information

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63> 2010 年 理 工 类 AB 级 阅 读 判 断 例 题 精 选 (2) Computer mouse How does the mouse work? We have to start at the bottom, so think upside down for now. It all starts with mouse ball. As the mouse ball in the bottom

More information

<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D>

<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D> Homeworks ( 第 三 版 ):.4 (,, 3).5 (, 3).6. (, 3, 5). (, 4).4.6.7 (,3).9 (, 3, 5) Chapter. Number systems and codes 第 一 章. 数 制 与 编 码 . Overview 概 述 Information is of digital forms in a digital system, and

More information

C/C++ - 数组与指针

C/C++ - 数组与指针 C/C++ Table of contents 1. 2. 3. 4. 5. 6. 7. 8. 1 float candy [ 365]; char code [12]; int states [50]; 2 int array [6] = {1, 2, 4, 6, 8, 10}; 3 // day_mon1.c: # include # define MONTHS 12 int

More information

Microsoft Word - CVersion201412.doc

Microsoft Word - CVersion201412.doc On Socialistic Society 论 社 会 主 义 社 会 中 文 版 Chinese Version 金 宁 Ning JIN Copyright 2009 by Ning JIN ( 金 宁 ). All right reserved. No part of this book may be used or reproduced, stored in a retrieval system,

More information

coverage2.ppt

coverage2.ppt Satellite Tool Kit STK/Coverage STK 82 0715 010-68745117 1 Coverage Definition Figure of Merit 2 STK Basic Grid Assets Interval Description 3 Grid Global Latitude Bounds Longitude Lines Custom Regions

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Ác Åé å Serial ATA ( Silicon Image SiI3114) S A T A (1) SATA (2)

More information

2015 Chinese FL Written examination

2015 Chinese FL Written examination Victorian Certificate of Education 2015 SUPERVISOR TO ATTACH PROCESSING LABEL HERE Letter STUDENT NUMBER CHINESE FIRST LANGUAGE Written examination Monday 16 November 2015 Reading time: 11.45 am to 12.00

More information

pdf

pdf THE INSTLLING INSTRUCTION FOR CONCELED TNK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

1. 請 先 檢 查 包 裝 內 容 物 AC750 多 模 式 無 線 分 享 器 安 裝 指 南 安 裝 指 南 CD 光 碟 BR-6208AC 電 源 供 應 器 網 路 線 2. 將 設 備 接 上 電 源, 即 可 使 用 智 慧 型 無 線 裝 置 進 行 設 定 A. 接 上 電 源

1. 請 先 檢 查 包 裝 內 容 物 AC750 多 模 式 無 線 分 享 器 安 裝 指 南 安 裝 指 南 CD 光 碟 BR-6208AC 電 源 供 應 器 網 路 線 2. 將 設 備 接 上 電 源, 即 可 使 用 智 慧 型 無 線 裝 置 進 行 設 定 A. 接 上 電 源 1. 請 先 檢 查 包 裝 內 容 物 AC750 多 模 式 無 線 分 享 器 安 裝 指 南 安 裝 指 南 CD 光 碟 BR-6208AC 電 源 供 應 器 網 路 線 2. 將 設 備 接 上 電 源, 即 可 使 用 智 慧 型 無 線 裝 置 進 行 設 定 A. 接 上 電 源 B. 啟 用 智 慧 型 裝 置 的 無 線 Wi-Fi C. 選 擇 無 線 網 路 名 稱 "edimax.setup"

More information

穨matlab教學範例ccc.doc

穨matlab教學範例ccc.doc MATLAB ( Math Dept. of University of New Hampshire) ( ) 1. Tutorial on vectors 2. Tutorial on matrices 3. Tutorial on vector operations 4. Tutorial on loops 5. Tutorial on plots 6. Tutorial on executable

More information

2015年4月11日雅思阅读预测机经(新东方版)

2015年4月11日雅思阅读预测机经(新东方版) 剑 桥 雅 思 10 第 一 时 间 解 析 阅 读 部 分 1 剑 桥 雅 思 10 整 体 内 容 统 计 2 剑 桥 雅 思 10 话 题 类 型 从 以 上 统 计 可 以 看 出, 雅 思 阅 读 的 考 试 话 题 一 直 广 泛 多 样 而 题 型 则 稳 中 有 变 以 剑 桥 10 的 test 4 为 例 出 现 的 三 篇 文 章 分 别 是 自 然 类, 心 理 研 究 类,

More information

Python a p p l e b e a r c Fruit Animal a p p l e b e a r c 2-2

Python a p p l e b e a r c Fruit Animal a p p l e b e a r c 2-2 Chapter 02 變數與運算式 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.2.1 2.2.2 2.2.3 type 2.2.4 2.3 2.3.1 print 2.3.2 input 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 + 2.4.6 Python Python 2.1 2.1.1 a p p l e b e a r c 65438790

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

2 2 3 DLight CPU I/O DLight Oracle Solaris (DTrace) C/C++ Solaris DLight DTrace DLight DLight DLight C C++ Fortran CPU I/O DLight AM

2 2 3 DLight CPU I/O DLight Oracle Solaris (DTrace) C/C++ Solaris DLight DTrace DLight DLight DLight C C++ Fortran CPU I/O DLight AM Oracle Solaris Studio 12.2 DLight 2010 9 2 2 3 DLight 3 3 6 13 CPU 16 18 21 I/O DLight Oracle Solaris (DTrace) C/C++ Solaris DLight DTrace DLight DLight DLight C C++ Fortran CPU I/O DLight AMP Apache MySQL

More information

Text 文字输入功能 , 使用者可自行定义文字 高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。

Text 文字输入功能 , 使用者可自行定义文字  高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。 GerbTool Wise Software Solution, Inc. File New OPEN CLOSE Merge SAVE SAVE AS Page Setup Print Print PreView Print setup (,, IMPORT Gerber Wizard Gerber,Aperture Gerber Gerber, RS-274-D, RS-274-X, Fire9000

More information

软件测试(TA07)第一学期考试

软件测试(TA07)第一学期考试 一 判 断 题 ( 每 题 1 分, 正 确 的, 错 误 的,20 道 ) 1. 软 件 测 试 按 照 测 试 过 程 分 类 为 黑 盒 白 盒 测 试 ( ) 2. 在 设 计 测 试 用 例 时, 应 包 括 合 理 的 输 入 条 件 和 不 合 理 的 输 入 条 件 ( ) 3. 集 成 测 试 计 划 在 需 求 分 析 阶 段 末 提 交 ( ) 4. 单 元 测 试 属 于 动

More information

C/C++语言 - C/C++数据

C/C++语言 - C/C++数据 C/C++ C/C++ Table of contents 1. 2. 3. 4. char 5. 1 C = 5 (F 32). 9 F C 2 1 // fal2cel. c: Convert Fah temperature to Cel temperature 2 # include < stdio.h> 3 int main ( void ) 4 { 5 float fah, cel ;

More information

C/C++ - 文件IO

C/C++ - 文件IO C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;

More information

QQGQ2.E Power Supplies, Information Technology Equipment Including Ele... 1/10

QQGQ2.E Power Supplies, Information Technology Equipment Including Ele... 1/10 QQGQ2.E232014 - Power Supplies, Information Technology Equipment Including Ele... 1/10 QQGQ2.E232014 Power Supplies, Information Technology Equipment Including Electrical Business Equipment - Component

More information

Lorem ipsum dolor sit amet, consectetuer adipiscing elit

Lorem ipsum dolor sit amet, consectetuer adipiscing elit English for Study in Australia 留 学 澳 洲 英 语 讲 座 Lesson 3: Make yourself at home 第 三 课 : 宾 至 如 归 L1 Male: 各 位 朋 友 好, 欢 迎 您 收 听 留 学 澳 洲 英 语 讲 座 节 目, 我 是 澳 大 利 亚 澳 洲 广 播 电 台 的 节 目 主 持 人 陈 昊 L1 Female: 各 位

More information

< F5FB77CB6BCBD672028B0B6A46AABE4B751A874A643295F5FB8D5C5AA28A668ADB6292E706466>

< F5FB77CB6BCBD672028B0B6A46AABE4B751A874A643295F5FB8D5C5AA28A668ADB6292E706466> A A A A A i A A A A A A A ii Introduction to the Chinese Editions of Great Ideas Penguin s Great Ideas series began publication in 2004. A somewhat smaller list is published in the USA and a related, even

More information

Microsoft Word - ChineseSATII .doc

Microsoft Word - ChineseSATII .doc 中 文 SAT II 冯 瑶 一 什 么 是 SAT II 中 文 (SAT Subject Test in Chinese with Listening)? SAT Subject Test 是 美 国 大 学 理 事 会 (College Board) 为 美 国 高 中 生 举 办 的 全 国 性 专 科 标 准 测 试 考 生 的 成 绩 是 美 国 大 学 录 取 新 生 的 重 要 依

More information

硕 士 学 位 论 文 论 文 题 目 : 北 岛 诗 歌 创 作 的 双 重 困 境 专 业 名 称 : 中 国 现 当 代 文 学 研 究 方 向 : 中 国 新 诗 研 究 论 文 作 者 : 奚 荣 荣 指 导 老 师 : 姜 玉 琴 2014 年 12 月

硕 士 学 位 论 文 论 文 题 目 : 北 岛 诗 歌 创 作 的 双 重 困 境 专 业 名 称 : 中 国 现 当 代 文 学 研 究 方 向 : 中 国 新 诗 研 究 论 文 作 者 : 奚 荣 荣 指 导 老 师 : 姜 玉 琴 2014 年 12 月 硕 士 学 位 论 文 论 文 题 目 : 北 岛 诗 歌 创 作 的 双 重 困 境 专 业 名 称 : 中 国 现 当 代 文 学 研 究 方 向 : 中 国 新 诗 研 究 论 文 作 者 : 奚 荣 荣 指 导 老 师 : 姜 玉 琴 2014 年 12 月 致 谢 文 学 是 我 们 人 类 宝 贵 的 精 神 财 富 两 年 半 的 硕 士 学 习 让 我 进 一 步 接 近 文 学,

More information

Oracle Solaris Studio makefile C C++ Fortran IDE Solaris Linux C/C++/Fortran IDE "Project Properties" IDE makefile 1.

Oracle Solaris Studio makefile C C++ Fortran IDE Solaris Linux C/C++/Fortran IDE Project Properties IDE makefile 1. Oracle Solaris Studio 12.2 IDE 2010 9 2 8 9 10 11 13 20 26 28 30 32 33 Oracle Solaris Studio makefile C C++ Fortran IDE Solaris Linux C/C++/Fortran IDE "Project Properties" IDE makefile 1. "File" > "New

More information

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

More information

Microsoft Word - SupplyIT manual 3_cn_david.doc

Microsoft Word - SupplyIT manual 3_cn_david.doc MR PRICE Supply IT Lynette Rajiah 1 3 2 4 3 5 4 7 4.1 8 4.2 8 4.3 8 5 9 6 10 6.1 16 6.2 17 6.3 18 7 21 7.1 24 7.2 25 7.3 26 7.4 27 7.5 28 7.6 29 7.7 30 7.8 31 7.9 32 7.10 32 7.11 33 7.12 34 1 7.13 35 7.14

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

基于UML建模的管理管理信息系统项目案例导航——VB篇

基于UML建模的管理管理信息系统项目案例导航——VB篇 PowerBuilder 8.0 PowerBuilder 8.0 12 PowerBuilder 8.0 PowerScript PowerBuilder CIP PowerBuilder 8.0 /. 2004 21 ISBN 7-03-014600-X.P.. -,PowerBuilder 8.0 - -.TP311.56 CIP 2004 117494 / / 16 100717 http://www.sciencep.com

More information

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D ( ) 4 1 1 1 145 1 110 1 (baking powder) 1 ( ) ( ) 1 10g 1 1 2.5g 1 1 1 1 60 10 (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal Design 1. 60 120 2. 3. 40 10

More information

韓少功 革命後記 修訂版 飄風叢書③ 1

韓少功 革命後記 修訂版 飄風叢書③ 1 革命後記 修訂版 韓少功 革命後記 修訂版 飄風叢書③ 1 目 錄 3 Oxford University Press is a department of the University of Oxford. It furthers the University s objective of excellence in research, scholarship, and education by

More information

流離所愛(完結篇)

流離所愛(完結篇) 作 者 Catabell 筆 名 琉 璃, 有 著 ㆒ 切 兒 矛 盾 的 特 質 : 任 性 好 奇 懶 惰 聰 穎 驕 恣 ; 感 情 細 膩 甚 略 嫌 豐 富 倔 強 但 易 受 傷 害 喜 歡 孤 獨 卻 害 怕 寂 寞 我 行 我 素 但 依 賴 溫 柔 卻 又 剛 強 於 香 港 文 大 學 主 修 英 文,2000 畢 業, 現 職 編 輯, 但 決 以 談 戀 愛 為 終 身 職

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

IP505SM_manual_cn.doc

IP505SM_manual_cn.doc IP505SM 1 Introduction 1...4...4...4...5 LAN...5...5...6...6...7 LED...7...7 2...9...9...9 3...11...11...12...12...12...14...18 LAN...19 DHCP...20...21 4 PC...22...22 Windows...22 TCP/IP -...22 TCP/IP

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

Introduction to Hamilton-Jacobi Equations and Periodic Homogenization

Introduction to Hamilton-Jacobi Equations  and Periodic Homogenization Introduction to Hamilton-Jacobi Equations and Periodic Yu-Yu Liu NCKU Math August 22, 2012 Yu-Yu Liu (NCKU Math) H-J equation and August 22, 2012 1 / 15 H-J equations H-J equations A Hamilton-Jacobi equation

More information

Microsoft Word - Front cover_white.doc

Microsoft Word - Front cover_white.doc Real Time Programme 行 情 报 价 程 序 Seamico Securities Public Company Limited WWW.SEAMICO.COM Table of Content 目 录 开 始 使 用 开 始 使 用 Z Net 程 序 程 序 1 股 票 观 察 者 4 每 日 股 票 按 时 间 的 交 易 查 询 10 多 股 同 列 13 股 票 行 情

More information

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING 前言 - Andrew Payne 目录 1 2 Firefly Basics 3 COMPONENT TOOLBOX 目录 4 RESOURCES 致谢

More information

untitled

untitled 數 Quadratic Equations 數 Contents 錄 : Quadratic Equations Distinction between identities and equations. Linear equation in one unknown 3 ways to solve quadratic equations 3 Equations transformed to quadratic

More information

2009.05

2009.05 2009 05 2009.05 2009.05 璆 2009.05 1 亿 平 方 米 6 万 套 10 名 20 亿 元 5 个 月 30 万 亿 60 万 平 方 米 Data 围 观 CCDI 公 司 内 刊 企 业 版 P08 围 观 CCDI 管 理 学 上 有 句 名 言 : 做 正 确 的 事, 比 正 确 地 做 事 更 重 要 方 向 的 对 错 于 大 局 的 意 义 而 言,

More information

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl SKLOIS (Pseudo) Preimage Attack on Reduced-Round Grøstl Hash Function and Others Shuang Wu, Dengguo Feng, Wenling Wu, Jian Guo, Le Dong, Jian Zou March 20, 2012 Institute. of Software, Chinese Academy

More information

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11 Latches and Flip-Flops 11.1 Introduction 11.2 Set-Reset Latch 11.3 Gated D Latch 11.4 Edge-Triggered D Flip-Flop 11.5 S-R Flip-Flop 11.6 J-K Flip-Flop 11.7 T Flip-Flop 11.8 Flip-Flops with additional Inputs

More information

epub83-1

epub83-1 C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C

More information

Cadence SPB 15.2 VOICE Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1

Cadence SPB 15.2 VOICE Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1 Cadence SPB 15.2 VOICE 2005-05-07 Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1 1 1.1 Cadence SPB 15.2 2 Microsoft 1.1.1 Windows 2000 1.1.2 Windows XP Pro Windows

More information

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表... 46 論 文 題 目 申 報 暨 指 導 教 授... 47 表 12 國 立 政 治 大 學 碩 博 士 班 論

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表... 46 論 文 題 目 申 報 暨 指 導 教 授... 47 表 12 國 立 政 治 大 學 碩 博 士 班 論 國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 一 教 育 學 系 簡 介... 1 ( 一 ) 成 立 時 間... 1 ( 二 ) 教 育 目 標 與 發 展 方 向... 1 ( 三 ) 授 課 師 資... 2 ( 四 ) 行 政 人 員... 3 ( 五 ) 核 心 能 力 與 課 程 規 劃... 3 ( 六 ) 空 間 環 境... 12 ( 七 )

More information

C/C++ 语言 - 循环

C/C++ 语言 - 循环 C/C++ Table of contents 7. 1. 2. while 3. 4. 5. for 6. 8. (do while) 9. 10. (nested loop) 11. 12. 13. 1 // summing.c: # include int main ( void ) { long num ; long sum = 0L; int status ; printf

More information

CDWA Mapping. 22 Dublin Core Mapping

CDWA Mapping. 22 Dublin Core Mapping (version 0.23) 1 3... 3 3 3 5 7 10 22 CDWA Mapping. 22 Dublin Core Mapping. 24 26 28 30 33 2 3 X version 0.2 ( ) 4 Int VarcharText byte byte byte Id Int 10 Management Main Code Varchar 30 Code Original

More information

從篤加有二「區」談當代平埔文化復振現相

從篤加有二「區」談當代平埔文化復振現相 從 篤 加 有 二 邱 談 族 群 正 名 運 動 從 篤 加 有 二 邱 談 族 群 正 名 運 動 陳 榮 輝 台 南 女 子 技 術 學 院 通 識 教 育 中 心 講 師 摘 要 本 文 從 篤 加 村 非 平 埔 族 裔 的 正 名 運 動, 探 討 篤 加 村 民 因 不 認 同 廟 後 區 ( 邱 ) 所 形 成 的 平 埔 族 裔 概 念, 從 地 理 變 遷 村 廟 沿 革 族 譜

More information

從詩歌的鑒賞談生命價值的建構

從詩歌的鑒賞談生命價值的建構 Viktor E. Frankl (logotherapy) (will-to-meaning) (creative values) Ture (Good) (Beauty) (experiential values) (attitudinal values) 1 2 (logotherapy) (biological) (2) (psychological) (3) (noölogical) (4)

More information

Microsoft PowerPoint - AWOL - Acrobat Windows Outlook.ppt [Compatibility Mode]

Microsoft PowerPoint - AWOL - Acrobat Windows Outlook.ppt [Compatibility Mode] AWOL Windows - Tips & Tricks Resolution, color depth & refresh rate Background color Service packs Disk cleanup (cleanmgr) Disk defragmentation AWOL Windows Resolution, Color Depth & Refresh Rate The main

More information

Microsoft Word - 3D手册2.doc

Microsoft Word - 3D手册2.doc 第 一 章 BLOCK 前 处 理 本 章 纲 要 : 1. BLOCK 前 处 理 1.1. 创 建 新 作 业 1.2. 设 定 模 拟 控 制 参 数 1.3. 输 入 对 象 数 据 1.4. 视 图 操 作 1.5. 选 择 点 1.6. 其 他 显 示 窗 口 图 标 钮 1.7. 保 存 作 业 1.8. 退 出 DEFORMTM3D 1 1. BLOCK 前 处 理 1.1. 创 建

More information

Knowledge and its Place in Nature by Hilary Kornblith

Knowledge and its Place in Nature by Hilary Kornblith Deduction by Daniel Bonevac Chapter 7 Quantified Natural Deduction Quantified Natural Deduction As with truth trees, natural deduction in Q depends on the addition of some new rules to handle the quantifiers.

More information

逢 甲 大 學

逢 甲 大 學 Maple Computer Animation Fourbar Linkage Using Maple Maple Maple i Maple Maple ii Abstract "Four-Bar Linkage" is very general in our life, so we can learn the knowledge of "Four-Bar Linkage" in mobile.

More information