II - ( 02 ) 1,,,, 2, 3. ( ) HP,. 2 MATLAB MATLAB, C Java,,., MATLAB, Workspace, Workspace. Workspace who. whos. MATLAB, MATLAB Workspace. 2.1 Workspac
|
|
- くうしょう いせき
- 5 years ago
- Views:
Transcription
1 II - ( 02 ) 1,,,, 2, 3 ( ) HP, 2 MATLAB MATLAB, C Java,,, MATLAB, Workspace, Workspace Workspace who whos MATLAB, MATLAB Workspace 21 Workspace 211 Workspace save, Workspace, MATLAB MAT, load, MAT Workspace 01:,,, MAT (p01mat),, >> clear; >> A = rand(3); >> B = eye(3); >> save p01; >> pause; >> clear; >> load p01; >> A >> B ( ) save, load, mat, (, dat txt ) Workspace,, MATLAB ascii, >> load ( ), -mat >> load -mat 1
2 212 Workspace Workspace, 02: A, B, C : >> A = [1:4]; >> B = diag(a,0); >> C = zeros(3,2); save help,, A p02 1mat, B C p02 2mat Workspace, 213 Workspace save -ascii, Workspace type,, 03: 02 A, B p03dat Workspace,, ( ) ( 2 A, B, C ( / ) ) 22 C, MATLAB, fprintf fscanf 221,, fopen, fclose : >> fid = fopen( example1txt, w ); >> a = 1; >> b = 01; >> fprintf(fid, example: a = %d, b = %f\n, a, b); >> fclose(fid); fopen 1 ( example1txt ) 2 w, ( ) 2 : w r a ( ) 222 fprintf fscanf fprintf, 1, 2, 3 1, fopen fclose C printf, 1, 2
3 C printf fprintf : >> x = 0:01:1; >> y = [x; exp(x)]; >> fid = fopen( example2txt, w ); >> fprintf(fid, Exponential Function\n\n ); >> fprintf(fid, %62f %128f\n, y); >> fclose(fid);, y fprintf, y %62f 2 6, %128f : MATLAB : , fprintf, y, 1, 1 fprintf, p04txt, p04m 04, MATLAB,, MATLAB fscanf fscanf 3 1, 2 3,, : n inf [m, n] n ( ) m n (n inf ) fscanf 2 1, 2 ( ) 3
4 example3txt : >> fid = fopen( example3txt, r ); >> [A, count] = fscanf(fid, %d %f, [3, 2]); >> fclose(fid); A, count 223, fgetl fgets 1, s = fgetl( ), s fgetl fgets, 05: (p05txt): nagoya tokyo5 100 osaka nara kyoto p05m,, (p05 ctxt): nagoya tokyo5 osaka nara 00kyoto (p05 ntxt): , (EOF) feof ( ) isletter help, 1,,,, ( ) 4
5 01: fid = fopen( filename, r ); 02: while feof(fid) == 0 % 03: data = fgetl(fid); % 1 04: if (sum(isletter(data)) > 1) 05: % ( ) 06: else 07: % 08: end 09: end 10: fclose(fid); isletter, (help ) 1, isletter(data) 1 MATLAB,, fwrite, fread, 3 ( ) MATLAB,, 31, ( ) ( ) p06txt ( 2 ),,,,, name, win, struct : = struct( 1, 1, 2, 2, ) : 1 = 1, 2 = 2,, : (1) = struct( 1, 1-1, 2, 1-2, ) (2) = struct( 1, 2-1, 2, 2-2, ) 5
6 , (1) 1 = 1-1, (1) 1 = 1-2, (2) 1 = 2-1, (2) 2 = 2-2, 06: p06txt, Team Team, ( 2 ) name, win lose draw, ( / ), p06m,, : 1: fid = fopen( filename, r ); 2: i = 0; 3: while feof(fid) == 0 4: i = i + 1; 5: S(i)member1 = fscanf(fid, ); 6: S(i)member2 = fscanf(fid, ); 7: 8: end, S(1), S(2), member1, member2,, fscanf : fieldnames ( ) fieldnames(team) rmfield ( ) Team = rmfield(team, draw ) isstruct ( ) isstruct(team) GUI 32,,,, 1, p06txt 1 Team = { DE, 67, 64, 8 },,, : C = {10, [2 4; 5 7; 3 8], ABC, [1 3 5]},, cell : cell(3); % 3 3 6
7 2,, 2 2 x = cell(2) (2,2) [1 2; 3 4], : >> X{2,2} = [1 2; 3 4]; % 1 >> X(2,2) = {[1 2; 3 4]}; % 2 cellfun celldisp cellplot cell2mat mat2cell iscell, 07: , 1, 2,,, 3 06 p07m 4, 41 2 MATLAB, 411, plot, y = f(x), plot plot help,, >> x = 0 : pi/100 : 2*pi; % pi >> y = sin(x); % sin >> plot(y);, 0 x 2π sin(x) π/100 ( ),, x, plot(y) plot(x, y),, x, y, ( ) 7
8 - : -- - c m y r g b w k, sin, >> plot(x, y, :r+ ) + o * x s d ^ v > < p h,,,, 2 >> plot(, LineWidth, ( )); 412, figure >> 1 ; >> figure; >> 2 ; >> figure; >> >> n ; 08: 2π x 2π ( π/20 ) sin(x) cos(x) x, 8
9 , p08m 1, plot : >> plot(x 1, y 1, 1, x 2, y 2, 2, );, plot, hold on, plot hold off >> plot(); >> hold on; >> plot(); >> plot(); >> hold off; 09( ): 08 hold on, hold off, plot 1, sin(x) 3, cos 2 (x), 05, p09m subplot, 1 plot >> subplot(m, n, p);, m n p 10( ): 09 3, 2 3 1,, p10m 413,,,,,,, title xlabel ylabel text gtext grid legend x y ( ), (plot ), axis, >> axis([xmin, xmax, ymin, ymax]);, x y xmin x xmax, ymin y ymax, >> axis auto; 9
10 axis,, >> axis square; x, y 1:1, >> axis off;, >> axis on; 414,, H, >> H = plot();,, : >> set(h, 1, 1, 2, 2, ); LineStyle, LineWidth, Color, Marker >> x = 0:pi/100:2*pi; >> H = plot(x, sin(x), x, sin(2*x), x, sin(3*x)); >> set(h, { LineStyle }, { : ; - ; -- },{ LIneWidth },{10;3;5}, { Color },{ r ; g ; b });,, figure F1 >> F1 = figure( Position, [ ]); figure Position 4 [Xp, Yp, Xr, Yr],, (Xp, Yp), Xr, Yr F1, >> figure(f1);, F1 figure 2, >> x = 0:pi/100:2*pi; >> plot(x, sin(x));, axes, figure, figure figure, >> A1 = axes( Position, [ ]); 10
11 axes Position, 4 figure 11( ): 1, 2 2,, p11m 1, (100, 500) (300, 100), N(10, 25), N(20, 20), { sin(x)/x, if x 0, sinc(x) = 1, if x = 0, Ex(70), Be(03, 06), G(10, 20),, N(µ, σ 2 ), Ex(α), Be(α, β) G(α, ν),,,, : N(µ, σ 2 ) = 1 µ)2 exp{ (x 2πσ 2 2σ 2 }, Ex(α) = { α exp( αx), if x 0, 0, if x < 0, Be(α, β) = { 1 B(α,β) xα 1 (1 x) β 1, if 0 x 1, 0, otherwise, G(α, ν) = { 1 Γ(ν) αν x ν 1 e αx, if x 0, 0, if x < 0, B(α, β) Γ(ν) Matlab beta gamma 3, 3 (legend) figure,,, 11
12 1 plot 2 help bar pie hist contour 42 3 MATLAB, 3, 2, >> t = [0 : pi/100 : 10*pi]; >> x = sin(t); >> y = cos(t); >> plot3(x, y, t); >> view(-75, 30); % -75, 30 >> pause; >> view(-75, 60); >> pause; >> view(-90, 90); %, view(2) >> pause; 12
13 >> view(3); %, view(-375, 30) plot3 meshgrid, x { 3, 15, 0, 15, 3}, y { 2, 1, 0, 1, 2} f(x, y) = x 2 + y 2 2, >> x = [-3 : 15 : 3]; >> y = [-2 : 10 : 2]; >> [X, Y] = meshgrid(x, y); >> Z = X^2 + Y^2; >> plot3(x, Y, Z);, z : f( 30, 20) f( 15, 20) f(+30, 20) f( 30, 10) f( 15, 10) f(+30, 10) Z = f( 30, +20) f( 15, +20) f(+30, +20) 12: x 5, y 3 01, 2 f(x, y) = exp( x 2 y 2 ),,, x, y, z p12m Z, mesh, surf, plot3 mesh surf, colorbar,, North South 13
web07.dvi
93 7 MATLAB Octave MATLAB Octave MAT MATLAB Octave copyright c 2004 Tatsuya Kitamura / All rights reserved. 94 7 7.1 UNIX Windows pwd Print Working Directory >> pwd ans = /home/kitamura/matlab pwd cd Change
More informationweb05.dvi
5 3 copyright c Tatsuya Kitamura / All rights reserved. 57 5 5. 3 MATLAB 3 line plot plot3 MAT plot Z Octave gnuplot splot gsplot OCT 3 splot plot3 MAT plot 5. 5. 5.3 plot 5. >> t=:pi/:*pi; >> plot3(t.*cos(t),t.*sin(t),t)
More information2 1 Octave Octave Window M m.m Octave Window 1.2 octave:1> a = 1 a = 1 octave:2> b = 1.23 b = octave:3> c = 3; ; % octave:4> x = pi x =
1 1 Octave GNU Octave Matlab John W. Eaton 1992 2.0.16 2.1.35 Octave Matlab gnuplot Matlab Octave MATLAB [1] Octave [1] 2.7 Octave Matlab Octave Octave 2.1.35 2.5 2.0.16 Octave 1.1 Octave octave Octave
More informationt θ, τ, α, β S(, 0 P sin(θ P θ S x cos(θ SP = θ P (cos(θ, sin(θ sin(θ P t tan(θ θ 0 cos(θ tan(θ = sin(θ cos(θ ( 0t tan(θ
4 5 ( 5 3 9 4 0 5 ( 4 6 7 7 ( 0 8 3 9 ( 8 t θ, τ, α, β S(, 0 P sin(θ P θ S x cos(θ SP = θ P (cos(θ, sin(θ sin(θ P t tan(θ θ 0 cos(θ tan(θ = sin(θ cos(θ ( 0t tan(θ S θ > 0 θ < 0 ( P S(, 0 θ > 0 ( 60 θ
More informationweb06.dvi
73 6 MATLAB MATLAB GUI GUI M copyright c 2004 Tatsuya Kitamura / All rights reserved. 74 6 6.1 GUI MATLAB GUI property Windows MATLAB UNIX MATLAB GUI Graphical User Interface PC Red Hat Linux 5.2J Vine
More informationPowerPoint プレゼンテーション
シミュレーション基礎 (8) 第 6 章ファイル入出力 7.2 テキストファイルの読み書き ファイルに書き込む : EX70201: X=1:10;Y=[X;X.^2]; Fid=fopen('datal.txt', wt'); fprintf(fid,'%2d%5d n',y); C 言語と同じ手順 : ファイルをオープンするファイルに変数の値を書き込む ( 整数 2 桁, 整数 5 桁, 改行
More informationMicrosoft PowerPoint - MATLABの使い方.ppt
MATLAB の使い方 東京大学橋梁研究室 MATLAB とは 技術計算のための高性能言語 特徴配列が基本的データ要素変数宣言不要. 対話的システム. 豊富な関数ライブラリ, グラフィックスツール. 使用される分野 数値計算, アルゴリズムの開発, モデル化, シミュレーション, データ解析,GUI アプリケーションの開発, グラフィックス, etc. MATLAB の動かし方 1 コマンドウィンドウにプログラムを打ち込み,
More informationdx dt = f x,t ( ) t
MATLAB 1. 2. Runge-Kutta 3. 1. 2. 3. dx dt = f x,t ( ) t dx( t) dt = lim Δt x( t + Δt) x( t) Δt t = nδt n = 0,1,2,3,4,5, x = x( nδt) n Δt dx ( ) dt = f x,t x n +1 x n Δt = f ( x,nδt) n 1 x n = x 0 n =
More informationmatlab-2005.dvi
I: MATLAB 2005 MATLAB 1. MATLAB 2. MATLAB 3. MATLAB http://winnie.kuis.kyoto-u.ac.jp/ kitahara/local/matlab/ 1 MATLAB 1.1 MATLAB MATLAB 1 FFT 1.2 MATLAB MATLAB PC Windows URL MATLAB Windows kitahara@kuis.kyoto-u.ac.jp
More informationgnuplot.dvi
gnuplot gnuplot 1 gnuplot exit 2 10 10 2.1 2 plot x plot sin(x) plot [-20:20] sin(x) plot [-20:20][0.5:1] sin(x), x, cos(x) + - * / ** 5 ** plot 2**x y =2 x sin(x) cos(x) exp(x) e x abs(x) log(x) log10(x)
More informationt χ 2 F Q t χ 2 F 1 2 µ, σ 2 N(µ, σ 2 ) f(x µ, σ 2 ) = 1 ( exp (x ) µ)2 2πσ 2 2σ 2 0, N(0, 1) (100 α) z(α) t χ 2 *1 2.1 t (i)x N(µ, σ 2 ) x µ σ N(0, 1
t χ F Q t χ F µ, σ N(µ, σ ) f(x µ, σ ) = ( exp (x ) µ) πσ σ 0, N(0, ) (00 α) z(α) t χ *. t (i)x N(µ, σ ) x µ σ N(0, ) (ii)x,, x N(µ, σ ) x = x+ +x N(µ, σ ) (iii) (i),(ii) z = x µ N(0, ) σ N(0, ) ( 9 97.
More information2 I I / 61
2 I 2017.07.13 I 2 2017.07.13 1 / 61 I 2 2017.07.13 2 / 61 I 2 2017.07.13 3 / 61 7/13 2 7/20 I 7/27 II I 2 2017.07.13 4 / 61 π-computer gnuplot MobaXterm Wiki PC X11 DISPLAY I 2 2017.07.13 5 / 61 Mac 1.
More information2 A I / 58
2 A 2018.07.12 I 2 2018.07.12 1 / 58 I 2 2018.07.12 2 / 58 π-computer gnuplot 5/31 1 π-computer -X ssh π-computer gnuplot I 2 2018.07.12 3 / 58 gnuplot> gnuplot> plot sin(x) I 2 2018.07.12 4 / 58 cp -r
More information1 1 Gnuplot gnuplot Windows gnuplot gp443win32.zip gnuplot binary, contrib, demo, docs, license 5 BUGS, Chang
Gnuplot で微分積分 2011 年度前期 数学解析 I 講義資料 (2011.6.24) 矢崎成俊 ( 宮崎大学 ) 1 1 Gnuplot gnuplot http://www.gnuplot.info/ Windows gnuplot 2011 6 22 4.4.3 gp443win32.zip gnuplot binary, contrib, demo, docs, license 5
More information1 (1) ( i ) 60 (ii) 75 (iii) 315 (2) π ( i ) (ii) π (iii) 7 12 π ( (3) r, AOB = θ 0 < θ < π ) OAB A 2 OB P ( AB ) < ( AP ) (4) 0 < θ < π 2 sin θ
1 (1) ( i ) 60 (ii) 75 (iii) 15 () ( i ) (ii) 4 (iii) 7 1 ( () r, AOB = θ 0 < θ < ) OAB A OB P ( AB ) < ( AP ) (4) 0 < θ < sin θ < θ < tan θ 0 x, 0 y (1) sin x = sin y (x, y) () cos x cos y (x, y) 1 c
More information研修コーナー
l l l l l l l l l l l α α β l µ l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l
More information70 : 20 : A B (20 ) (30 ) 50 1
70 : 0 : A B (0 ) (30 ) 50 1 1 4 1.1................................................ 5 1. A............................................... 6 1.3 B............................................... 7 8.1 A...............................................
More information卒 業 研 究 報 告.PDF
C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)
More informationGraphicsWithPlotFull.nb Plot[{( 1), ( ),...}, {( ), ( ), ( )}] Plot Plot Cos x Sin x, x, 5 Π, 5 Π, AxesLabel x, y x 1 Plot AxesLabel
http://yktlab.cis.k.hosei.ac.jp/wiki/ 1(Plot) f x x x 1 1 x x ( )[( 1)_, ( )_, ( 3)_,...]=( ) Plot Plot f x, x, 5, 3 15 10 5 Plot[( ), {( ), ( ), ( )}] D g x x 3 x 3 Plot f x, g x, x, 10, 8 00 100 10 5
More information1 1 [1] ( 2,625 [2] ( 2, ( ) /
[] (,65 [] (,3 ( ) 67 84 76 7 8 6 7 65 68 7 75 73 68 7 73 7 7 59 67 68 65 75 56 6 58 /=45 /=45 6 65 63 3 4 3/=36 4/=8 66 7 68 7 7/=38 /=5 7 75 73 8 9 8/=364 9/=864 76 8 78 /=45 /=99 8 85 83 /=9 /= ( )
More informationDVIOUT-講
005-10-14 1 1 [1] [] [3] [4] (a + b) = a +ab + b [5] (a + b) 3 a 3 +a b + ab + a b +ab + b 3 a 3 +3a b +3ab + b 3 [6] (a + b) 4 (a + b) 5 [7] technology expand((a+b) n n =?) [8] technology n =6, 7, 8,
More informationex14.dvi
1,, 0, b (b b 2 b ) n k n = n j b j, (0 n j b 1), n =(n k n k 1...n 1 n 0 ) b, n j j j +1, 0,...,b 1 (digit). b b, n b 1 ñ, ñ = k (b 1 n j )b j b N, n b n, n = b N n, n =ñ+1 b N, n m n + m (mod b N ),
More informationII Matlab Karel Švadlenka 2018 Contents
II Matlab 2018 5 5 Karel Švadlenka 2018 Contents 1 2 2 1 2 2.1......................................... 2 2.2...................................... 3 2.3................................... 4 2.4.............................
More information210 資料 TI 89 (1) TI 89 2nd ON HOME ( ) ( ) HOME =! ENTER ( ) = (10) ENTER ( ) [ ] { } ( )! 2 =! ( ) ( ) 2 3x ( 2y + yz) ( ) 3x ( ( ) 2y + y z)
210 資料 TI 89 (1) TI 89 2nd ON HOME () () HOME =! ENTER () = 3 10 3 (10) ENTER ( ) [ ] { } ( )! 2 =! ( ) () 2 3x ( 2y + yz) ( ) 3x ( ( ) 2y + y z) ENTER () 2nd 9 2nd 9) ENTER ( ) 2nd 7) ENTER 7 7 ) ENTER
More informationno35.dvi
p.16 1 sin x, cos x, tan x a x a, a>0, a 1 log a x a III 2 II 2 III III [3, p.36] [6] 2 [3, p.16] sin x sin x lim =1 ( ) [3, p.42] x 0 x ( ) sin x e [3, p.42] III [3, p.42] 3 3.1 5 8 *1 [5, pp.48 49] sin
More informationAppendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS
Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1 (2 ( BASIC BASIC download TUTORIAL.PDF http://hp.vector.co.jp/authors/va008683/
More informationIntroduction to Matlab Programming with Applications
Histogram ˆ The function hist(x) or histogram creates a histogram of x. ˆ By default, elements in x are organized into equally spaced bins between min(x) and max(x). ˆ You can specify the number of bins.
More information2004 2005 2 2 1G01P038-0 1 2 1.1.............................. 2 1.2......................... 2 1.3......................... 3 2 4 2.1............................ 4 2.2....................... 4 2.3.......................
More information1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l
C/C++ 2007 6 18 1 C STL(1) 2 1.1............................................... 2 1.2 stdio................................................ 3 1.3.......................................... 10 2 11 2.1 sizeof......................................
More informationcpall.dvi
55 7 gnuplot gnuplot Thomas Williams Colin Kelley Unix Windows MacOS gnuplot ( ) ( ) gnuplot gnuplot 7.1 gnuplot gnuplot () PC(Windows MacOS ) gnuplot http://www.gnuplot.info gnuplot 7.2 7.2.1 gnuplot
More informationGNUPLOT 28 3 15 UNIX Microsoft-Windows GNUPLOT 4 GNUPLOT 1 GNUPLOT 2 2 3 2.1 UNIX.......................................... 3 2.2 Windows........................................ 4 2.3..................................
More informationweb04.dvi
4 MATLAB 1 visualization MATLAB 2 Octave gnuplot Octave copyright c 2004 Tatsuya Kitamura / All rights reserved. 35 4 4.1 1 1 y =2x x 5 5 x y plot 4.1 Figure No. 1 figure window >> x=-5:5;ψ >> y=2*x;ψ
More informationsarupaw.dvi
PAW Which Even Monkeys Can Use H.Kitamura & His Company 9 8 19 preface PAW Which Even Monkies Can Use bold itaric vector ntuple v nt ( ) quit e-mail kitamura@phys01.phys.kobe-u.ac.jp homepage http://phys01.phys.kobe-u.ac.jp:2080/~kohama/sarupaw.html
More informationgnuplot gnuplot 1 3 y = x 3 + 3x 2 2 y = sin x sin(x) x*x*x+3*x*x
gnuplot gnuplot y = x + x y = sin x.8 sin(x) 8 7 6 x*x*x+*x*x.6.. -. -. -.6 -.8 - - - - - - - -. - -. - -.. gnuplot gnuplot> set xrange[-.:.] gnuplot> plot x**+*x** y = x x gnuolot> reset gnuplot> plot
More information¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó
2 2015 4 20 1 (4/13) : ruby 2 / 49 2 ( ) : gnuplot 3 / 49 1 1 2014 6 IIJ / 4 / 49 1 ( ) / 5 / 49 ( ) 6 / 49 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 7 / 49
More informationW u = u(x, t) u tt = a 2 u xx, a > 0 (1) D := {(x, t) : 0 x l, t 0} u (0, t) = 0, u (l, t) = 0, t 0 (2)
3 215 4 27 1 1 u u(x, t) u tt a 2 u xx, a > (1) D : {(x, t) : x, t } u (, t), u (, t), t (2) u(x, ) f(x), u(x, ) t 2, x (3) u(x, t) X(x)T (t) u (1) 1 T (t) a 2 T (t) X (x) X(x) α (2) T (t) αa 2 T (t) (4)
More informationGNUPLOT GNUPLOT GNUPLOT 1 ( ) GNUPLO
GNUPLOT 2004 10 6 UNIX Microsoft-Windows GNUPLOT 3.7 GNUPLOT 1 GNUPLOT 2 2 2 3 4 4 7 5 9 6 10 7 12 8 13 9 14 10 17 1 GNUPLOT............................... 3 2 MS-Windows GNUPLOT.................... 3
More informationA/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B
A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1
More informationmstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )
2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test
More information* n x 11,, x 1n N(µ 1, σ 2 ) x 21,, x 2n N(µ 2, σ 2 ) H 0 µ 1 = µ 2 (= µ ) H 1 µ 1 µ 2 H 0, H 1 *2 σ 2 σ 2 0, σ 2 1 *1 *2 H 0 H
1 1 1.1 *1 1. 1.3.1 n x 11,, x 1n Nµ 1, σ x 1,, x n Nµ, σ H 0 µ 1 = µ = µ H 1 µ 1 µ H 0, H 1 * σ σ 0, σ 1 *1 * H 0 H 0, H 1 H 1 1 H 0 µ, σ 0 H 1 µ 1, µ, σ 1 L 0 µ, σ x L 1 µ 1, µ, σ x x H 0 L 0 µ, σ 0
More information( ) kadai4, kadai4.zip.,. 3 cos x [ π, π] Python. ( 100 ), x cos x ( ). (, ). def print cos(): print cos()
4 2010.6 1 :, HP.. HP 4 (, PGM/PPM )., python,,, 2, kadai4,.,,, ( )., ( ) N, exn.py ( 3 ex3.py ). N 3.., ( )., ( ) N, (exn.txt).. 1 ( ) kadai4, kadai4.zip.,. 3 cos x [ π, π] Python. ( 100 ), x cos x (
More information6 2 2 x y x y t P P = P t P = I P P P ( ) ( ) ,, ( ) ( ) cos θ sin θ cos θ sin θ, sin θ cos θ sin θ cos θ y x θ x θ P
6 x x 6.1 t P P = P t P = I P P P 1 0 1 0,, 0 1 0 1 cos θ sin θ cos θ sin θ, sin θ cos θ sin θ cos θ x θ x θ P x P x, P ) = t P x)p ) = t x t P P ) = t x = x, ) 6.1) x = Figure 6.1 Px = x, P=, θ = θ P
More informationf(x) = f(x ) + α(x)(x x ) α(x) x = x. x = f (y), x = f (y ) y = f f (y) = f f (y ) + α(f (y))(f (y) f (y )) f (y) = f (y ) + α(f (y)) (y y ) ( (2) ) f
22 A 3,4 No.3 () (2) (3) (4), (5) (6) (7) (8) () n x = (x,, x n ), = (,, n ), x = ( (x i i ) 2 ) /2 f(x) R n f(x) = f() + i α i (x ) i + o( x ) α,, α n g(x) = o( x )) lim x g(x) x = y = f() + i α i(x )
More information1 911 9001030 9:00 A B C D E F G H I J K L M 1A0900 1B0900 1C0900 1D0900 1E0900 1F0900 1G0900 1H0900 1I0900 1J0900 1K0900 1L0900 1M0900 9:15 1A0915 1B0915 1C0915 1D0915 1E0915 1F0915 1G0915 1H0915 1I0915
More informationhttp://www.ns.kogakuin.ac.jp/~ft13389/lecture/physics1a2b/ pdf I 1 1 1.1 ( ) 1. 30 m µm 2. 20 cm km 3. 10 m 2 cm 2 4. 5 cm 3 km 3 5. 1 6. 1 7. 1 1.2 ( ) 1. 1 m + 10 cm 2. 1 hr + 6400 sec 3. 3.0 10 5 kg
More informationMicrosoft PowerPoint - matlab7.ppt [互換モード]
MATLAB の使い方 第 7 回 : 関数 まとめページ :http://hdp.nifs.ac.jp/soken/tanaka/tsukaikata/ 1 第 6 回の復習 グラフの作成 設定 種類 保存 今回は MATLAB に用意済みの関数と 自分で新しく関数を定義する方法の説明 3 の内容はひとまず今回まで! 次回以降は少し込み入った内容 1 関数の種類 内部 MATLAB 関数 (MATLAB
More informationOABC OA OC 4, OB, AOB BOC COA 60 OA a OB b OC c () AB AC () ABC D OD ABC OD OA + p AB + q AC p q () OABC 4 f(x) + x ( ), () y f(x) P l 4 () y f(x) l P
4 ( ) ( ) ( ) ( ) 4 5 5 II III A B (0 ) 4, 6, 7 II III A B (0 ) ( ),, 6, 8, 9 II III A B (0 ) ( [ ] ) 5, 0, II A B (90 ) log x x () (a) y x + x (b) y sin (x + ) () (a) (b) (c) (d) 0 e π 0 x x x + dx e
More informationy = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f() + f() + f(3) + f(4) () *4
Simpson H4 BioS. Simpson 3 3 0 x. β α (β α)3 (x α)(x β)dx = () * * x * * ɛ δ y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f()
More information05 I I / 56
05 I 2015 2015.05.14 I 05 2015.05.14 1 / 56 I 05 2015.05.14 2 / 56 cd mkdir vis01 OK cd vis01 cp /tmp/150514/leibniz.*. I 05 2015.05.14 3 / 56 I 05 2015.05.14 4 / 56 Information visualization Data visualization,
More informationUSB 0.6 https://duet.doshisha.ac.jp/info/index.jsp 2 ID TA DUET 24:00 DUET XXX -YY.c ( ) XXX -YY.txt() XXX ID 3 YY ID 5 () #define StudentID 231
0 0.1 ANSI-C 0.2 web http://www1.doshisha.ac.jp/ kibuki/programming/resume p.html 0.3 2012 1 9/28 0 [ 01] 2 10/5 1 C 2 3 10/12 10 1 2 [ 02] 4 10/19 3 5 10/26 3 [ 03] 6 11/2 3 [ 04] 7 11/9 8 11/16 4 9 11/30
More information2014 S hara/lectures/lectures-j.html r 1 S phone: ,
14 S1-1+13 http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html r 1 S1-1+13 14.4.11. 19 phone: 9-8-4441, e-mail: hara@math.kyushu-u.ac.jp Office hours: 1 4/11 web download. I. 1. ϵ-δ 1. 3.1, 3..
More informationExcel ではじめる数値解析 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 初版 1 刷発行時のものです.
Excel ではじめる数値解析 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009631 このサンプルページの内容は, 初版 1 刷発行時のものです. Excel URL http://www.morikita.co.jp/books/mid/009631 i Microsoft Windows
More informationi Matlab. Matlab
MATLAB 200 Copyright c 200 Kazunobu Yoshida. All rights reserved. i Matlab. Matlab.............................2....3..................... 2.4................................... 4.5........................
More informationコンピュータ概論
4.1 For Check Point 1. For 2. 4.1.1 For (For) For = To Step (Next) 4.1.1 Next 4.1.1 4.1.2 1 i 10 For Next Cells(i,1) Cells(1, 1) Cells(2, 1) Cells(10, 1) 4.1.2 50 1. 2 1 10 3. 0 360 10 sin() 4.1.2 For
More informationContents 1 Scilab
Scilab (Shuji Yoshikawa) December 18, 2017 Contents 1 Scilab 3 1.1..................................... 3 1.2..................................... 3 1.3....................................... 3 1.4............................
More informationuntitled
1 1 1. 2. 3. 2 2 1 (5/6) 4 =0.517... 5/6 (5/6) 4 1 (5/6) 4 1 (35/36) 24 =0.491... 0.5 2.7 3 1 n =rand() 0 1 = rand() () rand 6 0,1,2,3,4,5 1 1 6 6 *6 int() integer 1 6 = int(rand()*6)+1 1 4 3 500 260 52%
More informationTI 89
T89 1 3 1.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3 1.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3 1.3 : : : : : : : : : : : : : : : : : : : :
More information201711grade1ouyou.pdf
2017 11 26 1 2 52 3 12 13 22 23 32 33 42 3 5 3 4 90 5 6 A 1 2 Web Web 3 4 1 2... 5 6 7 7 44 8 9 1 2 3 1 p p >2 2 A 1 2 0.6 0.4 0.52... (a) 0.6 0.4...... B 1 2 0.8-0.2 0.52..... (b) 0.6 0.52.... 1 A B 2
More information18 ( ) I II III A B C(100 ) 1, 2, 3, 5 I II A B (100 ) 1, 2, 3 I II A B (80 ) 6 8 I II III A B C(80 ) 1 n (1 + x) n (1) n C 1 + n C
8 ( ) 8 5 4 I II III A B C( ),,, 5 I II A B ( ),, I II A B (8 ) 6 8 I II III A B C(8 ) n ( + x) n () n C + n C + + n C n = 7 n () 7 9 C : y = x x A(, 6) () A C () C P AP Q () () () 4 A(,, ) B(,, ) C(,,
More information基礎数学I
I & II ii ii........... 22................. 25 12............... 28.................. 28.................... 31............. 32.................. 34 3 1 9.................... 1....................... 1............
More information(Compton Scattering) Beaming 1 exp [i (k x ωt)] k λ k = 2π/λ ω = 2πν k = ω/c k x ωt ( ω ) k α c, k k x ωt η αβ k α x β diag( + ++) x β = (ct, x) O O x
Compton Scattering Beaming exp [i k x ωt] k λ k π/λ ω πν k ω/c k x ωt ω k α c, k k x ωt η αβ k α x β diag + ++ x β ct, x O O x O O v k α k α β, γ k γ k βk, k γ k + βk k γ k k, k γ k + βk 3 k k 4 k 3 k
More informationMicrosoft PowerPoint - 14Gnuplot.ppt
Gnuplot との連携 Gnuplot による関数の描画 Gnuplot によるデータのプロット Gnuplot による 3-D グラフの描画 Gnuplot による 3-D データのプロット 今日のポイント グラフ描画ソフト gnuplot を体験してみよう Gnuplot とは グラフ描画専用のフリーウェア Windows 版の名称は wgnuplot インストールはフォルダごとコピーするだけ
More informationI I / 68
2013.07.04 I 2013 3 I 2013.07.04 1 / 68 I 2013.07.04 2 / 68 I 2013.07.04 3 / 68 heat1.f90 heat2.f90 /tmp/130704/heat2.f90 I 2013.07.04 4 / 68 diff heat1.f90 heat2.f90!! heat2. f 9 0! c m > NGRID! c nmax
More information4 4 θ X θ P θ 4. 0, 405 P 0 X 405 X P 4. () 60 () 45 () 40 (4) 765 (5) 40 B 60 0 P = 90, = ( ) = X
4 4. 4.. 5 5 0 A P P P X X X X +45 45 0 45 60 70 X 60 X 0 P P 4 4 θ X θ P θ 4. 0, 405 P 0 X 405 X P 4. () 60 () 45 () 40 (4) 765 (5) 40 B 60 0 P 0 0 + 60 = 90, 0 + 60 = 750 0 + 60 ( ) = 0 90 750 0 90 0
More information1 26 ( ) ( ) 1 4 I II III A B C (120 ) ( ) 1, 5 7 I II III A B C (120 ) 1 (1) 0 x π 0 y π 3 sin x sin y = 3, 3 cos x + cos y = 1 (2) a b c a +
6 ( ) 6 5 ( ) 4 I II III A B C ( ) ( ), 5 7 I II III A B C ( ) () x π y π sin x sin y =, cos x + cos y = () b c + b + c = + b + = b c c () 4 5 6 n ( ) ( ) ( ) n ( ) n m n + m = 555 n OAB P k m n k PO +
More information, x R, f (x),, df dx : R R,, f : R R, f(x) ( ).,, f (a) d f dx (a), f (a) d3 f dx 3 (a),, f (n) (a) dn f dx n (a), f d f dx, f d3 f dx 3,, f (n) dn f
,,,,.,,,. R f : R R R a R, f(a + ) f(a) lim 0 (), df dx (a) f (a), f(x) x a, f (a), f(x) x a ( ). y f(a + ) y f(x) f(a+) f(a) f(a + ) f(a) f(a) x a 0 a a + x 0 a a + x y y f(x) 0 : 0, f(a+) f(a)., f(x)
More information85 4
85 4 86 Copright c 005 Kumanekosha 4.1 ( ) ( t ) t, t 4.1.1 t Step! (Step 1) (, 0) (Step ) ±V t (, t) I Check! P P V t π 54 t = 0 + V (, t) π θ : = θ : π ) θ = π ± sin ± cos t = 0 (, 0) = sin π V + t +V
More information(iii) x, x N(µ, ) z = x µ () N(0, ) () 0 (y,, y 0 ) (σ = 6) *3 0 y y 2 y 3 y 4 y 5 y 6 y 7 y 8 y 9 y ( ) *4 H 0 : µ
t 2 Armitage t t t χ 2 F χ 2 F 2 µ, N(µ, ) f(x µ, ) = ( ) exp (x µ)2 2πσ 2 2 0, N(0, ) (00 α) z(α) t * 2. t (i)x N(µ, ) x µ σ N(0, ) 2 (ii)x,, x N(µ, ) x = x + +x ( N µ, σ2 ) (iii) (i),(ii) x,, x N(µ,
More informationPackageSoft/R-033U.tex (2018/March) R:
................................................................................ R: 2018 3 29................................................................................ R AI R https://cran.r-project.org/doc/contrib/manuals-jp/r-intro-170.jp.pdf
More information¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó
2 212 4 13 1 (4/6) : ruby 2 / 35 ( ) : gnuplot 3 / 35 ( ) 4 / 35 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 5 / 35 (mean): x = 1 n (median): { xr+1 m, m = 2r
More information春期講座 ~ 極限 1 1, 1 2, 1 3, 1 4,, 1 n, n n {a n } n a n α {a n } α {a n } α lim n an = α n a n α α {a n } {a n } {a n } 1. a n = 2 n {a n } 2, 4, 8, 16,
春期講座 ~ 極限 1 1, 1 2, 1 3, 1 4,, 1 n, n n {a n } n a n α {a n } α {a n } α lim an = α n a n α α {a n } {a n } {a n } 1. a n = 2 n {a n } 2, 4, 8, 16, 32, n a n {a n } {a n } 2. a n = 10n + 1 {a n } lim an
More informationLAB 07 ツ02ィ ィェ ィ ィィ ィ ィー0205ィケ09ィー0906 ィャ0201ィ ィェィィィコ06 - ィャィ ィー02ィャィ ィーィィ ツ0209ィコ ィ ィコィョ05ィケィー02ィー
1300020508020005080607 010205070208040506000301010407 0701060003040506060306 ィィィャ. 00.00.09020002010205020008 000201ィ ィェィィィコ06-ィャィ ィー02ィャィ ィーィィ ツ0209ィコィィィヲ 00ィ ィコィョ05ィケィー02ィー 03.08.0808ィョ ツィィィェィィィェ 020501020004
More information(1) θ a = 5(cm) θ c = 4(cm) b = 3(cm) (2) ABC A A BC AD 10cm BC B D C 99 (1) A B 10m O AOB 37 sin 37 = cos 37 = tan 37
4. 98 () θ a = 5(cm) θ c = 4(cm) b = (cm) () D 0cm 0 60 D 99 () 0m O O 7 sin 7 = 0.60 cos 7 = 0.799 tan 7 = 0.754 () xkm km R km 00 () θ cos θ = sin θ = () θ sin θ = 4 tan θ = () 0 < x < 90 tan x = 4 sin
More information³ÎΨÏÀ
2017 12 12 Makoto Nakashima 2017 12 12 1 / 22 2.1. C, D π- C, D. A 1, A 2 C A 1 A 2 C A 3, A 4 D A 1 A 2 D Makoto Nakashima 2017 12 12 2 / 22 . (,, L p - ). Makoto Nakashima 2017 12 12 3 / 22 . (,, L p
More information1 θ i (1) A B θ ( ) A = B = sin 3θ = sin θ (A B sin 2 θ) ( ) 1 2 π 3 < = θ < = 2 π 3 Ax Bx3 = 1 2 θ = π sin θ (2) a b c θ sin 5θ = sin θ f(sin 2 θ) 2
θ i ) AB θ ) A = B = sin θ = sin θ A B sin θ) ) < = θ < = Ax Bx = θ = sin θ ) abc θ sin 5θ = sin θ fsin θ) fx) = ax bx c ) cos 5 i sin 5 ) 5 ) αβ α iβ) 5 α 4 β α β β 5 ) a = b = c = ) fx) = 0 x x = x =
More informationC 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in
C 1 / 21 C 2005 A * 1 2 1.1......................................... 2 1.2 *.......................................... 3 2 4 2.1.............................................. 4 2.2..............................................
More informationline(x1, y1, x2, y2); (x1, y1) rect(x, y, width, height); (x, y) (x1, y1) (x2, y2) height width (x2, y2) ellipse(x, y, width, height); rectmode(corners); rect(x1, y1, x2, y2); (x,y) width height strokeweight(4);
More information/Users/yamada/Documents/webPage/public_html/kkk/ 8 プロット
8 8 Mathematica y = f(x) Plot Plot[f, {x, xmin, xmax}] f x x xmin ~ xmax In[]:= Plot@Sin@xD, 8x,, Pi
More information1 MATLAB MATLAB Octave Octave Octave
Octave 18 9 1 ( ) 1 MATLAB 2 1.1 MATLAB..................... 2 2 Octave 4 2.1................ 4 2.2 Octave....................... 5 3 Octave 6 3.1................................ 6 3.2................................
More informationファイル入出力
C プログラミング Ⅱ の基礎 とは ファイルへデータを書き込んだり ( 出力 ), ファイルからデータを読み込んだり ( 入力 ) する C 言語では キーボードからの入力 画面への出力と同じようなコードで 処理を実現できる プログラム 入力 出力 ファイル 出力 入力 2 入出力の基本 ストリーム プログラム上で様々な装置への入出力を行う機構様々な入出力装置を統一的な方法で扱うことができる ハードディスクなどではファイルデータによって入出力が行われる
More informationi I Octave ii................................2............................ 4.3...................................... 7.4...................................... 9 2 2....................................
More information3. :, c, ν. 4. Burgers : t + c x = ν 2 u x 2, (3), ν. 5. : t + u x = ν 2 u x 2, (4), c. 2 u t 2 = c2 2 u x 2, (5) (1) (4), (1 Navier Stokes,., ν. t +
B: 2016 12 2, 9, 16, 2017 1 6 1,.,,,,.,.,,,., 1,. 1. :, ν. 2. : t = ν 2 u x 2, (1), c. t + c x = 0, (2). e-mail: iwayama@kobe-u.ac.jp,. 1 3. :, c, ν. 4. Burgers : t + c x = ν 2 u x 2, (3), ν. 5. : t +
More information#A A A F, F d F P + F P = d P F, F y P F F x A.1 ( α, 0), (α, 0) α > 0) (x, y) (x + α) 2 + y 2, (x α) 2 + y 2 d (x + α)2 + y 2 + (x α) 2 + y 2 =
#A A A. F, F d F P + F P = d P F, F P F F A. α, 0, α, 0 α > 0, + α +, α + d + α + + α + = d d F, F 0 < α < d + α + = d α + + α + = d d α + + α + d α + = d 4 4d α + = d 4 8d + 6 http://mth.cs.kitmi-it.c.jp/
More information1. A0 A B A0 A : A1,...,A5 B : B1,...,B
1. A0 A B A0 A : A1,...,A5 B : B1,...,B12 2. 3. 4. 5. A0 A B f : A B 4 (i) f (ii) f (iii) C 2 g, h: C A f g = f h g = h (iv) C 2 g, h: B C g f = h f g = h 4 (1) (i) (iii) (2) (iii) (i) (3) (ii) (iv) (4)
More information3. :, c, ν. 4. Burgers : u t + c u x = ν 2 u x 2, (3), ν. 5. : u t + u u x = ν 2 u x 2, (4), c. 2 u t 2 = c2 2 u x 2, (5) (1) (4), (1 Navier Stokes,.,
B:,, 2017 12 1, 8, 15, 22 1,.,,,,.,.,,,., 1,. 1. :, ν. 2. : u t = ν 2 u x 2, (1), c. u t + c u x = 0, (2), ( ). 1 3. :, c, ν. 4. Burgers : u t + c u x = ν 2 u x 2, (3), ν. 5. : u t + u u x = ν 2 u x 2,
More informationr d 2r d l d (a) (b) (c) 1: I(x,t) I(x+ x,t) I(0,t) I(l,t) V in V(x,t) V(x+ x,t) V(0,t) l V(l,t) 2: 0 x x+ x 3: V in 3 V in x V (x, t) I(x, t
1 1 2 2 2r d 2r d l d (a) (b) (c) 1: I(x,t) I(x+ x,t) I(0,t) I(l,t) V in V(x,t) V(x+ x,t) V(0,t) l V(l,t) 2: 0 x x+ x 3: V in 3 V in x V (x, t) I(x, t) V (x, t) I(x, t) V in x t 3 4 1 L R 2 C G L 0 R 0
More informationii 3.,. 4. F. (), ,,. 8.,. 1. (75%) (25%) =7 20, =7 21 (. ). 1.,, (). 3.,. 1. ().,.,.,.,.,. () (12 )., (), 0. 2., 1., 0,.
24(2012) (1 C106) 4 11 (2 C206) 4 12 http://www.math.is.tohoku.ac.jp/~obata,.,,,.. 1. 2. 3. 4. 5. 6. 7.,,. 1., 2007 (). 2. P. G. Hoel, 1995. 3... 1... 2.,,. ii 3.,. 4. F. (),.. 5... 6.. 7.,,. 8.,. 1. (75%)
More informationChap9.dvi
.,. f(),, f(),,.,. () lim 2 +3 2 9 (2) lim 3 3 2 9 (4) lim ( ) 2 3 +3 (5) lim 2 9 (6) lim + (7) lim (8) lim (9) lim (0) lim 2 3 + 3 9 2 2 +3 () lim sin 2 sin 2 (2) lim +3 () lim 2 2 9 = 5 5 = 3 (2) lim
More information- II
- II- - -.................................................................................................... 3.3.............................................. 4 6...........................................
More information