代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

hrollfcoef.m

% % hrollfcoef.m % % Generate coefficients of Nyquist filter % %programmed by Huangyong % function [xh]=hrollfcoef(irfn,ipoint,sr,alfs,ncc) %************************* Variables ***********

fir.c

#include "DSP281x_Device.h" // DSP281x Headerfile Include File #include "DSP281x_Examples.h" // DSP281x Examples Include File #include "f2812a.h" #include"math.h" #define FIRNUMBER 25 #de

c9.m

t=0:pi/20:2*pi; z=sin(t); plot(t,z); set(gca,'YAxisLocation','right'); %设置当前坐标轴的y轴的位置属性为右 xlabel('x'); ylabel('y');

gamicheval.m

function [sol,val] = gaMichEval(sol,options) val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2)); %G=zeros(0); %val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;

a46.m

t=0:pi/100:4*pi; s=sin(t+3*pi/4); plot(s); title('原始信号s'); %==================================== %对s进行小波分解:db1 3层 [c,l]=wavedec(s,3,'db1'); %==================================== %提取小波分解的低频系数a

chap2_7s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 3, sys=mdlOutputs(t,x,u); case {2,4,9} sys=[]; otherwise erro

chap2_1eq.m

function dx=PlantModel(t,x,flag,para) global S A F c alfa beta dx=zeros(2,1); S=1; if S==1 rin=1.0; drin=0; elseif S==2 A=0.5;F=3; rin=A*sin(F*2*pi*t); drin=A*F*2*pi*cos(F*2

m2.m

% M-file for Project 2 on space vectors in Chapter 5. % m2.m prompts the user for the values of m, n and attenuation % factor used in the SIMULINK file s2.m % It also plots the results of th

1001.cpp

#include #include #define PI 0.01745 using namespace std; int main(){ double x, y, l, w, deg, len, lentmp; while(scanf("%lf%lf%lf%lf", &x, &y, &l, &w) != EOF){ len = INT_MA

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)));