代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
frand.c
/*
** FRAND.C - Public domain by Larry Hudson
*/
#include
#include
#include "snipmath.h"
#define TEN_PI 31.41592653589793
#define E 2.718281828459045
/*---------------------
fgp311.m
%《数字信号处理教程——MATLAB释义与实现》第三章演示程序fgp311
% 离散信号的包络
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
t=[0:220]*0.1; % 设定连续时间向量
n=0:22;T=1; % 设定采样频率
w=[0.1,0.3]*pi;
fgp852.m
%《数字信号处理教程——MATLAB释义与实现》第八章图8.5.2生成程序fgp852
% 二阶全通数字频带变换函数的四组曲线
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
clear,close all
w=-linspace(-pi,pi,501); % 自变量相角数组的设定
alpha=input('alpha= ');
shift16.fit.eqn
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any o
fplotjb.m
clear
clc
subplot(2,2,1), fplot('humps',[0 1])
subplot(2,2,2), fplot('abs(exp(-j*x*(0:9))*ones(10,1))',[0 2*pi])
subplot(2,2,3), fplot('[tan(x),sin(x),cos(x)]',2*pi*[-1 1 -1 1])
subplot(2,2,4), f
exm06081_1.m
syms t tao;
y=2/3*exp(-t/2)*cos(sqrt(3)/2*t); %定义符号函数
s=subs(int(y,t,0,tao),tao,t); %获得积分函数
subplot(1,2,1),ezplot(y,[0,4*pi]);grid
subplot(1,2,2),ezplot(s,[0,4*pi]);grid
title('s = \inty(t)dt')
exm060242_1.m
clf;t=0:pi/50:2*pi;y=sin(t);plot(t,y);axis([0,2*pi,-1.2,1.2])
text(pi/2,1,'\fontsize{16}\leftarrow\itsin(t)\fontname{隶书}极大值')
exm06021_4.m
%exm06021_4.m
th = [0:pi/50:2*pi]';
a = [0.5:.5:4.5];
X = cos(th)*a;
Y = sin(th)*sqrt(25-a.^2);
shg
plot(X,Y)
axis('equal'),xlabel('x'), ylabel('y')
title('A set of Ellipses')
exm10034_1.m
% exm10034_1.m
t=(-3*pi:pi/50:3*pi)+eps;
y=sin(t)./t;
hline=plot(t,y);
cm=uicontextmenu;
%
uimenu(cm,'label','Red','callback','set(hline,''color'',''r''),')
uimenu(cm,'label','Blue','callback',
exm06021_4.asv
%exm06021_4.m
th = [0:pi/50:2*pi]';
a = [0.5:.5:4.5];
X = cos(th)*a;
Y = sin(th)*sqrt(25-a.^2);
shg
plot(X,Y)
axis('equal'),xlabel('x'), ylabel('y')
title('A set of Ellipses')