自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (10)
  • 收藏
  • 关注

转载 arrayfun函数用法

1、arrayfun(n输入函数func,数组A1,数组A2...数组An)的输出将是一个列表,列表中的第i个元素为func(A1(i),A2(i),...An(i))。因此,各个数组和返回数组都是相同尺寸的。2、arrayfun可以有多个输出。输出取决于传入的函数的返回值个数。如图,自己在当前目录下的MyF.m文件中实现了3返回值,2输入函数MyF,则arrayfun函数要传入两...

2019-07-01 17:27:58 9364

原创 脉冲压缩

T = 7.24e-6; % 信号持续时间B = 5.8e6; % 信号带宽K = B/T; % 调频率ratio = 10; % 过采样率Fs = ratio*B; % 采样频率dt = 1/Fs; ...

2018-09-27 09:56:11 9041

原创 tofloat.m

function [out,revertclass] = tofloat(inputimage)%Copy the book of Gonzalesidentify = @(x) x;tosingle = @im2single;table = {'uint8',tosingle,@im2uint8 'uint16',tosingle,@im2uint16 ...

2018-08-03 11:42:11 1899

原创 jpeg2im.m

function x = jpeg2im(y) %IM2JPEG Compresses an image using a JPEG approximation.% Y = IM2JPEG(X, QUALITY) compresses image X based on 8 x 8 DCT% transforms, coefficient quantization, and Huffm...

2018-08-03 11:41:53 912

原创 im2jpeg.m

function y = im2jpeg(x, quality,bits) %IM2JPEG Compresses an image using a JPEG approximation.% Y = IM2JPEG(X, QUALITY) compresses image X based on 8 x 8 DCT% transforms, coefficient quantizat...

2018-08-03 11:09:12 1243

原创 dftfilt.m

function g = dftfilt( f,H,classout )[f,revertClass]=tofloat(f);F=fft2(f,size(H,1),size(H,2));g=ifft2(H.*F);g=g(1:size(f,1),1:size(f,2));if nargin==2 || strcmp(classout,'original') g=revertCl...

2018-08-02 11:52:34 3369

原创 count_factors.m

function r = count_factors( n )%UNTITLED7 此处显示有关此函数的摘要% 此处显示详细说明count=0;for i=1:n if mod(n,i)==0 count =count+1; endendr=count;end ...

2018-08-02 11:51:34 167

原创 colorseg.m

function I = colorseg(varargin)%COLORSEG Performs segmentation of a color image.% S = COLORSEG('EUCLIDEAN', F, T, M) performs segmentation of color% image F using a Euclidean measure of simila...

2018-08-02 11:50:51 1597

原创 colorgrad.m

function [VG,A,PPG]=colorgrad(f,T)%COLORGRAD Computes the vector gradient of an RGB image. % [VG, VA, PPG] = COLORGRAD(F, T) computes the vector gradient, VG, % and corresponding angle array, ...

2018-08-02 11:49:47 1771

原创 huffman.m

function CODE =huffman(p) error(nargchk(1,1,nargin));if (ndims(p)~=2) ||(min(size(p))>1)||~isreal(p)||~isnumeric(p) error('P must be a real numeric vector.'); end global CODECODE=cell(leng...

2018-08-02 11:08:09 530

原创 mat2huff.m

function y=mat2huff(x)if ndims(x)~=2||~isreal(x)||(~isnumeric(x)&&~islogical(x)) error('X must be a 2-D real numeric or logical matrix.');endy.size=uint32(size(x));x=round(double(x));...

2018-08-02 11:07:34 1877

原创 huff2mat.m

function x=huff2mat(y)if ~isstruct(y)||~isfield(y,'min')||~isfield(y,'size')||... ~isfield(y,'hist')||~isfield(y,'code') error('The inpyt muxt be a structure as returned by MAT2HUFF.');...

2018-08-02 11:03:45 2144 1

原创 mat2lpc.m

 function x = mat2lpc( x,f )error(nargchk(1,2,nargin));if nargin<2    f=1;endx=double(x);[m,n]=size(x);xs=x;  zc=zeros(m,1);p=zeros(m,n);for j=1:length(f)    xs=[zc xs(:,1:end-1)];  ...

2018-08-02 10:53:58 479

原创 lpc2mat.m

function x = lpc2mat( y,f )error(nargchk(1,2,nargin));if nargin<2 f=1;endf=f(end:-1:1);[m,n]=size(y);order=length(f);f=repmat(f,m,1);x=zeros(m,n+order);for j=1:n jj=j+order; x...

2018-08-02 10:53:20 323

原创 quantize.m

function y = quantize( x,b,type )error(nargchk(2,3,nargin));if ndims(x)~=2||~isreal(x)||~isnumeric(x)||~isa(x,'uint8') error('The inpyt muxt be a UINT8 numeric matrix.');endlo=uint8(2^(8-b)-...

2018-08-02 10:52:35 216

转载 读取文件内的信息,并排序。

#include <stdio.h>#include <stdlib.h>typedef struct student{ char number[20]; char name[20]; char sex[10]; char birth[20]; char province[20]; int score; struct student *next;}student;voi...

2018-03-15 14:03:41 496

Spotlight.rar

对聚束SAR的回波模拟和成像算法,包括方位向去斜处理。可应用于性载的低PRF成像。适合新人参考学习。

2019-12-04

SpotlightSAR.m

对聚束SAR中PFA算法的仿真(暂时不加插值算法)。以雷达到场景的最短距离为x轴,雷达航线为y轴,场景是以原点(0,0)为中心的半径为r的方形区域。

2019-12-04

机载聚束模式合成孔径雷达的成像算法研究_孙进平.caj

机载聚束模式合成孔径雷达的成像算法研究,孙进平的论文,非常有用

2019-11-07

SAR经典的wk成像算法.zip

合成孔径成像算法中的经典算法——wk算法,文件夹中包括多个wk算法的仿真代码,以及相关辅助代码。可以运行,放心下载。适合学习雷达成像的新人朋友 。

2019-11-07

SAR经典的CS成像算法.zip

合成孔径成像算法中的经典算法——CS算法,文件夹中包括多个CS算法的仿真代码,均可运行。适合学习雷达成像的新人朋友 。

2019-11-07

SAR经典的RD成像算法.zip

合成孔径成像算法中的经典算法——RD算法,文件夹中包括多个RD算法的仿真代码,以及相关辅助代码,适合学习雷达成像的新人朋友

2019-11-07

im2jpeg函数

% Y = IM2JPEG(X, QUALITY) compresses image X based on 8 x 8 DCT % transforms, coefficient quantization, and Huffman symbol % coding. Input QUALITY determines the amount of information that % is lost and compression achieved. Y is an encoding structure % containing fields:

2018-08-04

imratio函数

function cr =imratio(f1,f2) error(nargchk(2,2,nargin)); cr=bytes(f1)/bytes(f2); function b=bytes(f) if ischar(f) info=dir(f); b=info.bytes; elseif isstruct(f)

2018-08-04

huffman函数

huffman压缩编码 function CODE =huffman(p) error(nargchk(1,1,nargin)); if (ndims(p)~=2) ||(min(size(p))>1)||~isreal(p)||~isnumeric(p) error('P must be a real numeric vector.'); end global CODE CODE=cell(length(p),1); if length(p)>1 p=p/sum(p); s=reduce(p); makecode(s,[]); else CODE={'1'}; end

2018-08-04

经典编程100题

经典编程100题,c语言练习,坚持打代码才是王道!题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去掉不满足条件的排列

2018-03-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除