• wawd
    了解作者
  • matlab
    开发工具
  • 1.8MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 10 积分
    下载积分
  • 4
    下载次数
  • 2020-10-12 21:12
    上传日期
处理ipix官网下载的雷达原始数据,将方位角以及俯仰角进行处理
海杂波.rar
  • ipixload.m
    4KB
  • ipixazm.m
    712B
  • ipixinfo.m
    4.1KB
  • 第2章.pdf
    1.9MB
内容介绍
function theStatus = ncdump(theNetCDFFile, theOutputFile) % Derived from ncdump. % Lists variables, units, descriptions, and scalar values of netcdf file. if nargin < 1, help ncdump, theNetCDFFile = '*.*'; end if nargin < 2, theOutputFile = 'stdout'; end % stdout. if isa(theNetCDFFile, 'ncitem') theNetCDFFile = name(parent(parent(theNetCDFFile))); end if any(theNetCDFFile == '*') theFilterSpec = theNetCDFFile; thePrompt = 'Select a NetCDF Input File:'; [theFile, thePath] = uigetfile(theFilterSpec, thePrompt); if ~any(theFile), return, end theNetCDFFile = [thePath theFile]; end if any(theOutputFile == '*') theFilterSpec = theOutputFile; thePrompt = 'Select a Text Output File:'; [theFile, thePath] = uiputfile(theFilterSpec, thePrompt); if ~any(theFile), return, end theOutputFile = [thePath theFile]; end nctypes = ['byte '; 'char '; 'short '; ... 'long '; 'float '; 'double '; ...; 'unknown'; 'unknown'; 'unknown']; nc = netcdf(theNetCDFFile, 'nowrite'); theNCid = ncid(nc); if isempty(nc) disp([' ## Unable to open: ' theNetCDFFile]) return end if strcmp(theOutputFile, 'stdout') fp = 1; elseif strcmp(theOutputFile, 'stderr') fp = 2; elseif isstr(theOutputFile) fp = fopen(theOutputFile, 'w'); else fp = theOutputFile; end if fp < 0, close(nc), return, end [ndims, nvars, ngatts, recdim] = size(nc); dims = dim(nc); ndims = length(dims); vars = var(nc); nvar = length(vars); gatts = att(nc); ngatts = length(gatts); s = ['File: ' theNetCDFFile]; fprintf(fp, '%s\n', s); s = '%% Variables:'; fprintf(fp, '\n%s\n', s); s = '%% (none)'; if nvars < 1, fprintf(fp, '%s\n', s), end for j = 1:nvars; varid = j-1; varname = name(vars{j}); varname = strrep(varname, '''', ''''''); theDatatype = datatype(vars{j}); theDatatype = ['nc' theDatatype]; dims = dim(vars{j}); ndims = length(dims); atts = att(vars{j}); natts = length(atts); sz=ncsize(vars{j}); elements = prod(sz); if elements==1, theValue=num2str(nc{j}(1)); else % unwrap angles if natts & strcmp(atts{1}(1:3),'deg'), val=nc{j}(:); val=unwrap(val); if val(1)<0, val=val+360; end end % compact display of arrays and matrices if prod(sz)==max(sz) & elements>=3, val=nc{j}(:); [dummy,i]=max(sz); dimname = name(dims{i}); theValue=['[' num2str(val(1)) ' ' num2str(val(2)) ' ..' dimname '.. ' num2str(val(end)) ']']; else for i = 1:ndims dimname = name(dims{i}); if i==1, s=['[' dimname]; else s = [s ' x ' dimname]; end end s=[s ']']; theValue=s; end end if natts, theUnit=atts{1}(:); else theUnit=''; end fprintf(fp, '%24s = %10s %s\n',varname,theValue,strrep(theUnit,'\0','')); end s = '%% Dimensions:'; fprintf(fp, '\n%s\n', s); if ndims < 1, disp('%% (none)'), end for i = 1:ndims dimid = i-1; dimname = name(dims{i}); dimname = strrep(dimname, '''', ''''''); dimlen = ncsize(dims{i}); fprintf(fp, '%24s = %10s\n',dimname,int2str(dimlen)); end s = '%% Global attributes:'; fprintf(fp, '\n%s\n', s); s = '%% (none)'; if ngatts < 1,fprintf(fp, '%s\n', s); end for i = 1:ngatts varid = -1; attnum = i-1; attname = name(gatts{i}); if any(attname ~= '_') while attname(1) == '_' attname = [attname(2:length(attname)) attname(1)]; end end attname = strrep(attname, '''', ''''''); theDatatype = datatype(gatts{i}); attlen = ncsize(gatts{i}); attvalue = gatts{i}(:); theDatatype = ['nc' theDatatype]; s = attname; t = mat2str(attvalue); if length(t) > 0 & 0 if t(1) == '[' & t(length(t)) == ']' t = [ '{' t(2:length(t)-1) '}']; end end if ~isstr(attvalue) if (0) f = []; k = 1:length(t)-1; if any(k), f = find(t(k) == t(k+1)); end if any(f), t(f) = []; end f = find(t == ' '); if any(f), t(f) = setstr(t(f) .* 0 + ','); end t = strrep(t, ',', ', '); end end fprintf(fp, '%24s = %10s\n',attname,strrep(attvalue,'\0','')); end if ischar(theOutputFile) & fp > 2, fclose(fp); end close(nc) if nargout > 0, theStatus = status; end
评论
    相关推荐
    • DRM外辐射源雷达杂波抑制.rar
      DRM 外辐射源雷达杂波抑制算法代码,LMS RLS ECA 有问题。
    • 雷达杂波仿真.zip
      双基地星载雷达仿真,完成坐标系之间的转换
    • MTALAB雷达.rar
      不同信噪比条件下的LFM匹配滤波结果。 服从均匀分布 ,高斯分布, 瑞利分布的 噪声序列。 雷达非相干积累的输出。雷达相干积累。...雷达对数正态分布杂波,瑞利杂波,韦伯杂波仿真。 有说明文档,有注释。
    • 舰载雷达.rar
      用于仿真舰载高频地波雷达,内含注释和部分参数
    • IPIX雷达数据处理.zip
      关于IPIX雷达数据读取(cdf文件读取)和处理的相关程序,适用于matlab2010及更新的matlab版本,压缩文件里面有较详细程序说明。 同时,本程序还涉及海杂波的分布拟合和观测。
    • 杂波模型.zip
      杂波模型的简单仿真,有助于理解模型,适合初学者
    • 相控阵AEW雷达杂波抑制.rar
      相控阵AEW雷达杂波抑制论文合集(非均匀处理、辅助通道方法、空时等)
    • 雷达系统中杂波信号的建模与仿真
      本设计首先用M文件S函数编写了十二种常用的杂波模块(包括Rayleigh分布、LogNormal分布、Weibull分布、K分布的Gaussian谱、Cauchy谱、AllPole谱杂波模块),然后用SIMULINK里面自带的一些模块建立一个雷达系统...
    • 雷达杂波伽马分布模拟
      matlab程序,随机生成满足伽马分布的雷达杂波信号,并与理论PDF及CDF对比
    • 雷达matlab仿真
      在DSP上实现线性调频信号的脉冲压缩、动目标显示(MTI)和动目标检测(MTD),并将结果与MATLAB上的结果进行误差仿真。