代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
fir.c
#include "myapp.h"
#include "ICETEK-VC5509-EDU.h"
#include "scancode.h"
#include
#define FIRNUMBER 25
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3
10-1.m
clear all; % 清所有的变量
clf; % 清屏
N=1224; % 设置数据点数
f1=200; % 设置信号1频率
f2=700; % 设置信号2频率
f3=1100; % 设置信号3频率
dt=1/1024; % 设置采样时间
sample=
ag49a.m
%《线性代数实验践及MATLAB入门》第四章第九节演示程序ag26
% 符号运算(公式推导)工具箱
% 电子工业出版社出版 陈怀琛 龚杰民合著 2005年10月
%
echo on
disp('用符号工具箱表示及推导普通公式')
syms x y t a u v w q,pause
r = x^2 + y^2,pause
theta = atan(y/x) ,pause
e =
chap5_3mf.m
clear all;
close all;
L1=-pi/6;
L2=pi/6;
L=L2-L1;
T=L*1/1000;
x=L1:T:L2;
figure(1);
for i=1:1:5
gs=-[(x+pi/6-(i-1)*pi/12)/(pi/24)].^2;
u=exp(gs);
hold on;
plot(x,u);
end
xla
chap5_3s.m
function [sys,x0,str,ts] = spacemodel(t,x,u,flag)
switch flag,
case 0,
[sys,x0,str,ts]=mdlInitializeSizes;
case 1,
sys=mdlDerivatives(t,x,u);
case 3,
sys=mdlOutputs(t,x,u);
case
practica 1.m
%% Emmanuel A. Herasme
% Mat 06-0070
%%
%Variables del marcado telef髇ico 809-567-9271
A=1;
B=1;
t=0:0.0001:1.5;
t1=0:0.0001:0.15;
Fs=10000;
f1=697;
f2=770;
f3=852;
f4=941;
F1=1209
langrange.m
%Langrange插值法
function y=Langrange(x1,y1,x);
m=length(x);
n=length(x1);
for i=1:m
y(i)=0;
for j=1:n
l=1;
for k=1:n
if (k~=j)
l=(x(i)-x1(k)
il3_8fun.m
% il3_8fun.m
function f=il3_8fun(x,p)
f=1/sqrt(2*pi)*exp((-(x-p).^2)/2).*log2(2./(1+exp(-2*x.*p)));