代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/279355/10445611
c 13kfft0.c
#include "stdio.h"
#include "13kfft.c"
#include "math.h"
main()
{ int i,j;
double pr[64],pi[64],fr[64],fi[64];
for (i=0; i
www.eeworm.com/read/161098/10451537
m ex0425.m
%用罗盘图和羽毛图绘制复向量
theta=0:0.2:2*pi;
z=sin(theta).*exp(j*theta);
compass(z)
feather(z)
www.eeworm.com/read/161098/10451651
m ex0413.m
%用plot3三维曲线绘图
x=0:0.1:20*pi;
plot3(x,sin(x),cos(x)) %按系统默认设置绘图
www.eeworm.com/read/161098/10451890
m ex0412.m
%在图形中用ginput将点的坐标取出,并用gtext写字符串
x=0:0.1:2*pi;
plot(x,sin(x))
[m,n]=ginput(2) %取两点坐标
gtext('2\pi') %写2π
www.eeworm.com/read/161098/10451907
m ex0410.m
%在图形窗口中添加文字标注
x=0:0.1:2*pi;
plot(x,sin(x))
hold on
plot(x,cos(x),'ro')
title('y1=sin(x),y2=cos(x)') %添加标题
xlabel('x') %添加横坐标名
legend('sin(x)','cos(x)',4) %添加图例
text(pi,sin(pi),'x=\p
www.eeworm.com/read/161098/10451976
m ex0422.m
%使用几种命令绘制离散数据
x=0:0.1:2*pi;
y=sin(x).*exp(-2*x);
subplot(3,1,1)
stem(x,y,'filled') %画火柴杆图
subplot(3,1,2)
stairs(x,y) %画阶梯图
subplot(3,1,3)
scatter(x,y) %画点图
www.eeworm.com/read/161098/10452062
m ex0316.m
%求符号表达式的积分
f=sym('cos(x)');
int(f) %求不定积分
int(f,0,pi/3) %求定积分
int(f,'a','b') %求定积分
int(int(f)) %求多重积分
syms t x
g=[2*x t^2;t*sin(x) exp(x)] %创建符号矩阵
int(g) %对x求不定积分
int(g,'t') %对t求不定积分
www.eeworm.com/read/353255/10459424
m crule.m
function [bp,wf]=crule(m)
%usage: [bp,wf]=crule(m)
% This function computes Gauss-Chebyshev base points and weight factors
% using the algorithm given by somebody in 'SomeBook',
% page 365, Academ
www.eeworm.com/read/279105/10464048
m sinefft.m
%***************1.正弦波****************%
fs=100;%设定采样频率
N=128;
n=0:N-1;
t=n/fs;
f0=10;%设定正弦信号频率
%生成正弦信号
x=5*sin(2*pi*f0*t)+sin(2*pi*2*f0*t)+1.6*sin(2*pi*3*f0*t)+1*sin(2*pi*4*f0*t)+0.6*sin(2*pi*5*
www.eeworm.com/read/160929/10469413
m p10_8.m
% Program P10_8
% Design of Uniform DFT Filter Banks
clf;
% Design the prototype FIR lowpass filter
b = remez(20, [0 0.2 0.25 1], [1 1 0 0], [10 1]);
w = 0:2*pi/255:2*pi; n = 0:20;
for k = 1:4;
c =