代码搜索:MATLAB
找到约 10,000 项符合「MATLAB」的源代码
代码结果 10,000
www.eeworm.com/read/202785/15373398
m fil.m
function [out]=fil(in,f);
%
% Filters the data using a first order filter
%
% [out]=fil(in,f);
%
% f is a vector containing the filter constants
%
% Updated to use MATLAB's built in filter rou
www.eeworm.com/read/202224/15389085
c sosmac.c
/*
* sos.c - Calculate the sum of the squares of the elements of a vector.
*
* Mastering MATLAB 7 Engine Example 1
*
*/
#include
#include
#include "engine.h"
#define BUFS
www.eeworm.com/read/202224/15389086
c mycalc.c
/*
* mycalc.c - calculates x^2 - x + 1/x for each element of an array.
*
* MATLAB usage: p = mycalc(n)
*
* Mastering MATLAB 7 C MEX Example 2:
* single 2-D real numeric array input,
www.eeworm.com/read/202224/15389135
c writemat.c
/*
* writemat.c - Create a binary MAT file.
*
* Mastering MATLAB 7 C MAT-file Example 1
*
*/
#include "mat.h"
int makemat(const char *filename,
double *data, int m, int n,
www.eeworm.com/read/202224/15389150
c sos.c
/*
* sos.c - Calculate the sum of the squares of the elements of a vector.
*
* Mastering MATLAB 7 Engine Example 1
*
*/
#include
#include
#include "engine.h"
#define BUFS
www.eeworm.com/read/201792/15396311
m speedup3.m
function Speedup3
% Speedup3.m
% 功能:比较具有相同功能的自定义函数与MATLAB内部函数的运行速度
%
% 加快MATLAB执行程序的方法之三:尽量使用MATLAB内部函数(包括各种工具箱函数)
%
% Author: HUANG Huajiang
% Copyright 2003 UNILAB Research Center,
%
www.eeworm.com/read/201342/15409820
txt 08-06.txt
%例8-6 给MATLAB 7的图形添加标题。
>> x = 0:.1:2;
>>y1=sin(x);
>>y2 = sin(x-0.25);
>>y3 = sin(x-0.5);
>> plot(x,y1,'-.b', x,y2,'--r*', x,y3,'-.gh')
>> title('There three lines')
>>
www.eeworm.com/read/201342/15409995
txt 10-41.txt
%例10-41 运行错误的处理。
%编制M文件如下。
function d=yunxingcuowu(a,b,c)
d=a/b;
if isinf(d) %对可能产生的inf值做出判断
sprintf('b should not be 0')
return
else
d=d*c;
end
%为了检验该程序,
www.eeworm.com/read/200437/15433435
m prova.m
a=rand(1,30000000);
% matlab covariance
tic;v1=cov(a);toc
% our function
tic;v2=cov_1d(a);toc
www.eeworm.com/read/200352/15435094
m exa090702.m
% -------------------------------------------------------------------
% exa090702.m, for example 9.7.2 and fig 9.7.2
% 连续小波变换。noissin 是MATLAB中带噪声的正弦信号。
% 本程序给出的是连续小波变换的灰度图表示。
%--------------------