Location:
Search - matlab subplot
Search list
Description: Matlab绘制子图函数的使用,Matlab绘制子图函数的使用
Platform: |
Size: 1894 |
Author: expert_12345 |
Hits:
Description: 1 MATLAB 2 2 Starting Up 2 2.1 Windows Systems . . . . . . . . . . 2 2.2 Unix Systems . . . . . . . . . . . . . 2 2.3 Command Line Help . . . . . . . . . 2 2.4 Demos . . . . . . . . . . . . . . . . . 3 3 Matlab as a Calculator 3 4 Numbers & Formats 3 5 Variables 3 5.1 Variable Names . . . . . . . . . . . . 3 6 Suppressing output 4 7 Built{In Functions 4 7.1 Trigonometric Functions . . . . . . . 4 7.2 Other Elementary Functions . . . . . 4 8 Vectors 4 8.1 The Colon Notation . . . . . . . . . 5 8.2 Extracting Bits of a Vector . . . . . 5 8.3 Column Vectors . . . . . . . . . . . . 5 8.4 Transposing . . . . . . . . . . . . . . 5 9 Keeping a record 6 10 Plotting Elementary Functions 6 10.1 Plotting|Titles & Labels . . . . . . 7 10.2 Grids . . . . . . . . . . . . . . . . . . 7 10.3 Line Styles & Colours . . . . . . . . 7 10.4 Multi{plots . . . . . . . . . . . . . . 7 10.5 Hold . . . . . . . . . . . . . . . . . . 7 10.6 Hard Copy . . . . . . . . . . . . . . 8 10.7 Subplot . . . . . . . . . . . . . . . . 8 10.8 Zooming . . . . . . . . . . . . . . . . 8 10.9 Formatted text on Plots . . . . . . . 8 10.10Controlling Axes . . . . . . . . . . . 9 11 Keyboard Accelerators 9 12 Copying to and from Word and other applications 10 12.1 Window Systems . . . . . . . . . . . 10 12.2 Unix Systems . . . . . . . . . . . . . 10 13 Script Files 10 14 Products, Division & Powers of Vectors 11 14.1 Scalar Product (*) . . . . . . . . . . 11 14.2 Dot Product (.*) . . . . . . . . . . . 11 14.3 Dot Division of Arrays (./) . . . . . 12 14.4 Dot Power of Arrays (.^) . . . . . . 12 15 Examples in Plotting 13 16 Matrices|Two{Dimensional Arrays 13 16.1 Size of a matrix . . . . . . . . . . . . 14 16.2 Transpose of a matrix . . . . . . . . 14 16.3 Special Matrices . . . . . . . . . . . 14 16.4 The Identity Matrix . . . . . . . . . 14 16.5 Diagonal Matrices . . . . . . . . . . 15 16.6 Building Matrices . . . . . . . . . . . 15 16.7 Tabulating Functions . . . . . . . . . 15 16.8 Extracting Bits of Matrices . . . . . 16 16.9 Dot product of matrices (.*) . . . . 16 16.10Matrix{vector products . . . . . . . 16 16.11Matrix{Matrix Products . . . . . . . 17 16.12Sparse Matrices . . . . . . . . . . . . 17 17 Systems of Linear Equations 18 17.1 Overdetermined system of linear equations . . . . . . . . . . . . . . . . . . 18 18 Characters, Strings and Text 20 19 Loops 20 20 Logicals 21 20.1 While Loops . . . . . . . . . . . . . . 22 20.2 if...then...else...end . . . . . . 23 21 Function m{ les 23 21.1 Examples of functions . . . . . . . . 24 22 Further Built{in Functions 25 22.1 Rounding Numbers . . . . . . . . . . 25 22.2 The sum Function . . . . . . . . . . . 25 22.3 max & min . . . . . . . . . . . . . . . 26 22.4 Random Numbers . . . . . . . . . . 26 22.5 find for vectors . . . . . . . . . . . . 27 22.6 find for matrices . . . . . . . . . . . 27 23 Plotting Surfaces 27 24 Timing 28 25 On{line Documentation 29 26 Reading and Writing Data Files 29 26.1 Formatted Files . . . . . . . . . . . . 30 26.2 Unformatted Files . . . . . . . . . . 30 27 Graphic User Interfaces 31 28 Command Summary 32
Platform: |
Size: 877346 |
Author: taffy320 |
Hits:
Description: matlab绘图函数详细介绍,包括绘制图的颜色、符号函数等。
Platform: |
Size: 129536 |
Author: guanyuqiu18@126.com |
Hits:
Description: 暂时只支持jpeg2000支持的 cdf97 和spline53
可以这样来测试:
x=imread( E:\study\jpeg2000\images\lena.tif )
% see the decomposition coefficients
y=wavelift(x, 1, spl53 ) using spline 5/3 wavelet
figure subplot(1,2,1) imshow(x) subplot(1,2,2) imshow(mat2gray(y))
% see the reconstruction precision
yy=wavelift(x, 5) using cdf 9/7 wavelet
ix=wavelift(yy,-5) inverse
sum(sum((double(x)-ix).^2))
-only temporary support jpeg2000 support cdf97 and spline53 this can be measured Examination : x = imread (E : \ study \ jpeg2000 \ images \ lena.tif)% see the d ecomposition coefficients wavelift y = (x, 1, spl53) using spline 5/3 wavelet figure subplot (1,2,1) imshow (x) subplot (1,2, 2) imshow (mat2gray (y))% see the reconstructi on precision wavelift yy = (x, 5) using cdf 9/7 wavelet ix = wavelift (yy.-5) inverse sum (sum ((double (x)- ix). ^ 2
Platform: |
Size: 6144 |
Author: 余庆红 |
Hits:
Description: 一个新设计的OTSU算法,使用方法如下:% load clown
% subplot(221)
% imshow(X/max(X(:)))
% title( Original , FontWeight , bold )
% for n = 2:4
% Iseg = otsu(X,n)
% subplot(2,2,n), colormap(gray)
% imshow(Iseg)
% title([ n = int2str(n)], FontWeight , bold )
% end-OTSU design a new algorithm, using the method as follows: load clown subplot (221) imshow (X/max (X (:))) title (Original, FontWeight, bold) for n = 2:4 Iseg = otsu (X, n) subplot (2,2, n), colormap (gray) imshow (Iseg) title ([n = int2str (n)], FontWeight, bold) end
Platform: |
Size: 2048 |
Author: yemaoqiu |
Hits:
Description: Matlab绘制子图函数的使用,Matlab绘制子图函数的使用-Matlab rendering the use of subgraph function, Matlab mapping function using subgraph
Platform: |
Size: 2048 |
Author: expert_12345 |
Hits:
Description: y3k=fft(u,(m+n-2)/4)
i=1:(m+n-2)/4
subplot(5,2,9) stem(i,u)
title( 滤波后上采样 )
k=1:(m+n-2)/4
subplot(5,2,10) stem(k,y3k)
title( 上采样频谱 )
xlabel( k ) ylabel( y3k ) -y3k = fft (u, (m+ n-2)/4) i = 1: (m+ n-2)/4 subplot (5,2,9) stem (i, u) title (after filtering the sample) k = 1: (m+ n-2)/4 subplot (5,2,10) stem (k, y3k) title (on the sample spectrum) xlabel (k) ylabel (y3k)
Platform: |
Size: 59392 |
Author: zzzl |
Hits:
Description: A bandpass signal is defined by
clear all
t=-10:0.06:10
m=3*(cos(2*pi*10*t)+4*sin(2*pi*20*t))
x=6*m.*cos(2*pi*100*t)
f0=100
fmax=100
NSamples=256
Amplitude Response
plot of x(t)
figure(1)
subplot(211)
plot(t,abs(x))
xlabel( time )
ylabel( Amplitude )
subplot(212)
plot(t,angle(x- A bandpass signal is defined by
clear all
t=-10:0.06:10
m=3*(cos(2*pi*10*t)+4*sin(2*pi*20*t))
x=6*m.*cos(2*pi*100*t)
f0=100
fmax=100
NSamples=256
Amplitude Response
plot of x(t)
figure(1)
subplot(211)
plot(t,abs(x))
xlabel( time )
ylabel( Amplitude )
subplot(212)
plot(t,angle(x
Platform: |
Size: 78848 |
Author: naresh |
Hits:
Description: it is a wavelet based code that will create the second order wavelet transform and subplot it in same image as shown in many matlab examples for wavelet transforms-it is a wavelet based code that will create the second order wavelet transform and subplot it in same image as shown in many matlab examples for wavelet transforms..
Platform: |
Size: 1024 |
Author: piyushbm |
Hits:
Description: reg 转换为 hsv 的matlab源代码
subplot(221) subimage(ph) colorbar
xlabel( (a)色调分量图像 )
subplot(222) subimage(ps) colorbar
xlabel( (b)饱和度分量图像 )
subplot(223) subimage(pv) colorbar
xlabel( (c)亮度分量图像 )
subplot(224) subimage(phsv) colorbar
xlabel( (d)调整后的图像 ) -reg into the matlab source code hsv subplot (221) subimage (ph) colorbar xlabel (' (a) color component image' ) subplot (222) subimage (ps) colorbar xlabel (' (b) saturation component image ' ) subplot (223) subimage (pv) colorbar xlabel (' (c) luminance component image ' ) subplot (224) subimage (phsv) colorbar xlabel (' (d) Adjustment After the image ' )
Platform: |
Size: 75776 |
Author: ychy |
Hits:
Description: 这是第一版的AsymPDC工具包。用来处理PDC,gPDC和iPDC有关内容。运行环境为Matlab,并且要求至少Matlab中预装了3个工具箱:控制系统,信号处理和统计工具箱。-This is the first public release of AsympPDC package. It deals with the asymptotic statistics for PDC, gPDC and iPDC.
AsympPDC runs under Matlab and is a practically self-contained except for requires routines from three Matlab toolboxes: Control System, Signal Processing, and Statistical.
It is not extensively tested yet. It was partially tested under Windows, Macintosh and Linux environments with Matlab version 7.0 and higher.
Please report any incompatibility to ksameshi[at]usp.br or baccala[at]lcs.poli.usp.br.
Additionally for cosmetic purposes, the pdc_xplot routine uses several Matlab users contributed codes: subplot2.m (modified old version of supbplot to control spacing between subplots), shadedplot.m (developed by Dave Van Tol), suplabel.m (for label and title plotting in subplot figures, by Ben Barrowes), suptitle.m (contributed by Drea Thomas, for adding title above all subplots), and tilefigs.m (for tiling figures for simultaneous visualization, by Charles Plum)
Platform: |
Size: 604160 |
Author: 罗巍巍 |
Hits:
Description: 构建自己的subplot函数,比matlab好用多了,自由控制-Build your own subplot function, easy to use more than matlab, free control
Platform: |
Size: 1024 |
Author: Zhaoda |
Hits:
Description: subplot matlab tool is a new description for make figures
Platform: |
Size: 497664 |
Author: wal |
Hits:
Description: a.阅读的图像img_1.tif,img_2.png的文件夹中,并
他们展示于一体,这两个数字分别。
(参考函数:imread, imshow, figure, subplot)
b.在matlab,观察从工作区中的图像信息面板
c.分别使用size, imfinfo,whos等功能获得的图像信息
d.添加标题的图像。 (参考函数:title)
Ë 。下面的代码实现的M文件编辑器
f=imread(‘img_1.tif’)
imshow(f)
set(figure(1), NumberTitle , off , Name , my first image’)
观察结果,并确定的功set()
f。保存img_1.tif目录“D:\ imagetest”。如果该文件夹不
存在,请首先创建这个新的文件夹。 (参考函数:imwrite)
-a. Read the images img_1.tif, img_2.png given in the folder, and
show them in one and two figures respectively.
(referenced function: imread, imshow, figure, subplot)
b. In matlab, observe the images information from the workspace
Panel
c. Use size, imfinfo,whos,etc functions to obtain image information
respectively.
d. Add title to the images. (referenced function: title)
e. Implement the following codes in the M-file Editor
f=imread(‘img_1.tif’)
imshow(f)
set(figure(1), NumberTitle , off , Name , my first image’)
observe the result, and determine the function of set()
f. Save img_1.tif to the directory “d:\imagetest”. If the folder does not
exist, please create this new folder first. (referenced function:
imwrite)
Platform: |
Size: 1024 |
Author: 王磊 |
Hits:
Description: MATLAB实用源代码
1.图像反转
MATLAB程序实现如下:
I=imread( xian.bmp )
J=double(I)
J=-J+(256-1) 图像反转线性变换
H=uint8(J)
subplot(1,2,1),imshow(I)
subplot(1,2,2),imshow(H) -matlab code
Platform: |
Size: 3072 |
Author: 田笑 |
Hits:
Description: matlab code for Subaxis - Subplot
Platform: |
Size: 4096 |
Author: sswtechnology |
Hits:
Description: matlab code for tight subplot
Platform: |
Size: 2048 |
Author: sswtechnology |
Hits:
Description: 针对matlab subplot画图时边框空白太多的问题,开发了这个边距可控的函数-focus on the problem of unchangeable distance of the subplot function, the code can realize changeable blank distance
Platform: |
Size: 2048 |
Author: ruochen1999 |
Hits:
Description: 1.图像反转
MATLAB程序实现如下:
I=imread('xian.bmp');
J=double(I);
J=-J+(256-1); %图像反转线性变换
H=uint8(J);
subplot(1,2,1),imshow(I);
subplot(1,2,2),imshow(H);(1. image reversal
The MATLAB program is implemented as follows:
I=imread ('xian.bmp');
J=double (I);
J=-J+ (256-1);% image inversion linear transformation
H=uint8 (J);
Subplot (1,2,1), imshow (I);
Subplot (1,2,2), imshow (H);)
Platform: |
Size: 34816 |
Author: 陌绪 |
Hits:
Description: matlab绘图,专门对subplot函数所得图像设置一个总的标题(matlab figure, set a total title, used for function subplot)
Platform: |
Size: 1024 |
Author: tuziyuhua |
Hits: