搜索资源列表
subplot
- 用subplot分别在不同的坐标系下作出下列四条曲线,为每幅图形加上标题-subplot were used in different coordinate system to the following four curves for each piece of the title with graphics
wavelift
- 暂时只支持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(mat2g
2fdb
- 先确定二分法的上下两个端点值,这个在figure的subplot(121)中确定。 然后进行循环求解。 -confirmed dichotomy in the next two endpoint value, The figure in the subplot (121) identified. Then cycle solution.
pthoto1
- subplot(2,2,1) imshow(I) title( 原始图象 ) subplot(2,2,2) imshow(BW1) title( prewitt 边缘检测后的图象 ) subplot(2,2,3) imshow(BW2) title( canny 边缘检测后的图象 ) subplot(2,2,4) imshow(BW3) title( sobel 边缘检测后的图象 ) -subplot (2,2, 1) imshow (I) title (original ima
newnethodotsu
- 一个新设计的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 , bo
subplot
- Matlab绘制子图函数的使用,Matlab绘制子图函数的使用
image resampling
- %This is a simple function that resamples the image %at a different pixel size function nimg = imresample(oldpixsize,img,newpixsize,intmethod) % This function resamples the images at the new grid points % defined by the new pixel sizes. It
对图像进行YCbCr分解
- rgb=imread('lena.png'); YCbCr=rgb2ycbcr(rgb); subplot(221),imshow(rgb),title('image'); Y=YCbCr(:,:,1); Cb=YCbCr(:,:,2); Cr=YCbCr(:,:,3); ycbcrmap(:,:,1)=Y; ycbcrmap(:,:,2)=128; ycbcrmap(:,:,3)=128; subplot(222),imshow(Y),title('Y'); ycbcrma
angle1
- 捷联惯性导航仿真程序 figure(1) subplot(1,3,1) plot(t,ww1,t,ww4) subplot(1,3,2) plot(t,ww2,t,ww5) subplot(1,3,3) plot(t,ww3,t,ww6) figure(2) subplot(1,3,1) plot(t,vv1,t,vv4) subplot(1,3,2) plot(t,vv2,t,vv5) subp
matlab
- 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) s
forplot
- 根据多行三列的实验数据(x,y,signal)作出contourf图。其中x,y为二位空间位置(或其他概念的二维),signal为在该位置的信号。此代码先将数据按位置不同求平均,再将signal按照其对应的x,y分配到二位矩阵内。最后作图。编这个代码的初衷是为了制作大脑hippocampus区域place cell 活动性的contour 图。-it s a code i made for plotting a contour graph of experimental data (x,y,si
das
- Demodulating the signal. DeAmpMod = (1/2).*(ademod(AmpMod,Fc,Fs, amdsb-sc ,num,den)) (ALTERNATIVE APPROACH) DeAmpMod = AmpMod.*Cs Designing butterworth low pass filter. [num,den] = butter(2,.8) FilteredOutput = filter(num,den
Amplitude_mod_m
- fm=input( Enter the message signal frequency fm= ) fc=input( Enter the carrier frequency fc= ) Am=input( Enter the message signal amplitude Am= ) Ac=input( Enter the carrier signal frequency Ac= ) n=input( Enter the no of DFT points: )
123
- 用subplot,imshow,imread,遍历并显示图库文件夹中的人脸图像(用循环)。运行后图像要显示成矩阵模式的,还得产生统一矩阵和均值矩阵。-With a subplot, imshow, imread, traverse and display the Gallery folder of face images (with circulation). After running into the matrix mode to display images, and have to pr
example4_6
- :滤波 fs=400 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=5 时间窗大小 t=0:ts:T -hf1=zeros(1,N) hf1(f<=B1&f>=-B1)=1 y1=hf1.*fftshift(y) figure subplot(211) plot(f,abs(fftshift(y))/N,f,hf1, r-- ) axis([-fs/2,fs/2,0,1.2]) title( 原信号
example4_3
- 例3:分析占空比为ta的矩形脉冲频谱 T=1 时间窗大小 ta=0.5 占空比 N=256 t=linspace(-T,T,N) ts=2*T/N fs=1/ts -x=zeros(1,N) x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1) y=fft(x,N) figure plot(t,x) title([ 时域信号图 占空比为 ,num
subplot
- 显示图像,可同时显示多福图像,并可用title标注说明-subplot
wavelet1.m.tar
- 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 sub
mini2
- clear all clc t=0:1/1000:10-1/1000 s=sin(2*pi*t) snr=20 s_power=var(s) varience of s linear_snr=10^(snr/10) factor=sqrt(s_power/linear_snr) noise=randn(1,length(s))*factor x=s+noise Ó É SNR¼ Æ Ë ã
regtohsv
- 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 x