web05.dvi



Similar documents
web04.dvi

Microsoft PowerPoint - matlab10.ppt [互換モード]

相続支払い対策ポイント

150423HC相続資産圧縮対策のポイント

ハピタス のコピー.pages

Copyright 2008 All Rights Reserved 2

2 I I / 61

初心者にもできるアメブロカスタマイズ新2016.pages

- 2 Copyright (C) All Rights Reserved.


Copyright All Rights Reserved. -2 -!

Microsoft Word - 最終版 バックせどりismマニュアル .docx

untitled

II Matlab Karel Švadlenka 2018 Contents

Debian での数学ことはじめ。 - gnuplot, Octave, R 入門

健康保険組合のあゆみ_top

リバースマップ原稿2

きれいなグラフを作ろう!gnuplot 入門 1. 基本 1.1. プロット :test.plt plot x, sin(x) 1.2. データファイルのプロット 1:data.plt plot "data.dat" 1.3. データファイルのプロット 2:data2.plt plot "data2

Microsoft PowerPoint - matlab7.ppt [互換モード]

web07.dvi

[ ][ ] HTML [ ] HTML HTML

やよいの顧客管理

弥生給与/やよいの給与計算

弥生 シリーズ

弥生会計 プロフェッショナル/スタンダード/やよいの青色申告

弥生会計/やよいの青色申告

弥生会計 ネットワーク/プロフェッショナル2ユーザー


Copyright 2008 NIFTY Corporation All rights reserved. 2

gnuplot.dvi

Copyright 2006 KDDI Corporation. All Rights Reserved page1

1000 Copyright(C)2009 All Rights Reserved - 2 -

Twitter Copyright All Rights Reserved 2

! Copyright 2015 sapoyubi service All Rights Reserved. 2

report03_amanai.pages

report05_sugano.pages

untitled

Microsoft PowerPoint - MATLABの使い方.ppt

1 1 Gnuplot gnuplot Windows gnuplot gp443win32.zip gnuplot binary, contrib, demo, docs, license 5 BUGS, Chang

- 2 Copyright (C) All Rights Reserved.

dekiru_asa


how-to-decide-a-title

Copyright Qetic Inc. All Rights Reserved. 2

DC9GUIDEBook.indb

Releases080909

URL AdobeReader Copyright (C) All Rights Reserved.

X-U5

Copyright 2010 Sumitomo Mitsui Banking Corporation. All Rights Reserved.

Solibri Model Checker 9.5 スタードガイド

20 180pixel 180pixel Copyright 2014 Yahoo Japan Corporation. All Rights Reserved.

Copyright (C) 2007 noroiya.com.all Rights Reserved. 2

Copyright 2017 JAPAN POST BANK CO., LTD. All Rights Reserved. 1


% 11.1% +6.% 4, % %+12.2% 54,16 6.6% EV7, ,183 Copyright 216 JAPAN POST GROUP. All Rights Reserved. 1

10西宮市立中央病院/本文

北九州高専 志遠 第63号/表紙・表4

P-12 P P-14 P-15 P P-17 P-18 P-19 P-20 P-21 P-22

ニューガラス100/100目次

program08.pdf

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P.10 P.12 P.13 P.14 P.14 P.15 P.17 P.18 P.20 P P P P P.25 P.27 P.28 Copyright 2016 JAPAN POST BA

sarupaw.dvi

Microsoft Word - gnuplot

n1

Ⅴ 古陶器にみる装飾技法

43-03‘o’ì’¹‘®”q37†`51†i„¤‰ƒ…m†[…g†j.pwd

横組/中高 技術科問題           ●


2日目 10月31日(金曜日)プログラム

Transcription:

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) >> grid on >> xlabel( X ); ylabel( Y ); zlabel( Z ); 35 3 5 Z 5 5 3 Y 3 3 X 3 5.: plot3 3 axis 5. 3 3 surface plot mesh surf MAT mesh Octave, gnuplot, (999). 58

5.. 3 MATLAB 3 peaks MAT mesh 5. colorbar MAT >> z=peaks; >> mesh(z) >> grid on; colorbar 8 8 8 5 5 3 3 5.: mesh colormap >> map=colormap; RBG >> colormap( default ) 59

5 5. MATLAB 5.3 hidden MAT >> hidden off 8 8 8 5 3 3 5 5.3: meshc MAT 5. contour plot >> meshc(z); grid on >> colorbar( horiz ) 5 5 5 3 3 5 8 5.: meshc Octave 5. gset OCT

5.3. meshgrid octave:5> mesh(z) octave:> gset contour base octave:7> replot surf MAT surfc MAT peaks MAT 5.5 >> subplot(); surf(z); title( surf ); >> subplot(); surfc(z); title( surfc ); surf surfc 8 5 5 8 5.5: surf surfc Tips hot MATLAB hot hot MAT colormap hot >> colormap(hot) cool MAT flag MAT gray lookfor MAT >> lookfor color map 5.3 meshgrid peaks MAT z = f(x, y)

5 z = x y x y 5 5 meshgrid X Y x y >> [x,y]=meshgrid(-5:5); x y z = x y z.^ vectorize >> z=x.^-y.^; >> mesh(z) >> grid on >> box on box 5. 3 3 8 8 5.: z = x y TRY z =cos(x)+sin(y) mesh x y π π

5.. 5. view 3 5.7 azimuth elevation 5.7: Using MATLAB Graphics POINT MATLAB view(, ) view([, ]) Octave 8 3 gset view, MATLAB 3 37.5 3 view >> [az,el]=view; az el Octave 3 3 Octave gshow view MATLAB view([x Y Z]) 3

5 view 5.8 >> z=membrane; >> mesh(z) >> view(-37.5,) membrane MAT Mathworks 3 view( 37.5,3) view( 37.5,).8....5..5. 3 3 3 3 5.8: Octave gset OCT replot OCT octave:8> gset view 37.5, octave:9> replot TRY.5

5.5. 5.5 X semilogx Y semilogy X Y loglog plot >> x=:; y=.x; >> subplot(); plot(x,y); grid on >> subplot(); semilogy(x,y); grid on >> subplot(3); semilogx(x,y); grid on >> subplot(); loglog(x,y); grid on 8 plot semilogy 3 8 8 8 semilogx loglog 3 5.9: plot semilogx semilogy loglog 5

5 5. bar barh MAT rand 5 3 5. >> data=rand(5,3); >> bar(data) >> grid on data 5 3 X Y colormap bar barh.9 5.8.7..5 3..3.. 3 5....8 5.: bar barh Octave bar plot octave:> data=rand(,3); octave:> [x,y]=bar(data); octave:> plot(x,y) plot(y,x) MATLAB 3 bar stack MAT >> bar(data, stack )

5.. 3 bar3 MAT bar3h MAT stack MAT >> bar3h(data) 5..5 stack bar3h 5.5 3.5.5 3 5 5.: 3 7

5 5.7 hist 5. >> n=randn(,); >> subplot(); hist(n); grid on >> u=rand(,); >> subplot(); hist(u); grid on 3 randn(,) rand(,) 5 8 5 5....8 5.: randn(,) rand(,) Tips diary MAT diary on MATLAB diary off diary diary( filename ) 8

5.8. 5.8 pie MAT 3 pie3 MAT 5.3 MB >> df=[5 95 8 97]; >> pie(df) >> pie(df,{ sda sdf sdd sde sdg sdh }) pie MAT 5.3 >> ex=zeros(size(data)); ex()=; >> pie(df,ex,{ sda sdf sdd sde sdg sdh }) 7% 3% % sdf sda sdh % sdg % sdd 3% sde 5.3: 9

5 5.9 contour plot contour z =cos(x)+sin(y) 5. >> t=-*pi:pi/:*pi; >> [x,y]=meshgrid(t); >> z=cos(x)+sin(y); >> contour(z,) >> axis square contour axis square MAT 3 5.: z =cos(x)+sin(y) clabel MAT contour3 MAT 3 contourf MAT 7

5.. 5. stem MAT x[n] =α n cos(ωn) α =.7 Ω =π >> alpha=.7; omega=pi; >> n=:.:; >> x=alpha.^n.*cos(omega.*n); >> stem(n,x); grid on LATEX >> title( x[n] = \alpha^n cos(\omega n) ) >> xlabel( n ); ylabel( x[n] ); 5.5 x[n] = α n cos(ω n).8... x[n]....8 3 5 7 8 9 n 5.5: x[n] =α n cos(ωn) filled >> stem(n,x, filled ); plot 7