代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
fir.c
#include
#define FIRNUMBER 25
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3.1415926
float InputWave();
float FIR();
float fHn[FIRNUMBER]={ 0.0,0
iir.c
#include"math.h"
#define IIRNUMBER 2
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3.1415926
float InputWave();
float IIR();
float fBn[IIRNUMBER]={ 0.0,0.
hsi2rgb.m
function rgb = hsi2rgb(hsi)
%HSI2RGB Converts an HSI image to RGB.
% RGB = HSI2RGB(HSI) converts an HSI image to RGB, where HSI is
% assumed to be of class double with:
% hsi(:, :, 1) =
lijian.m
n=1:1024;
x=cos(0.1*2*pi*n);
%tfrsp(x');
%tfrwv(x');
%tfrpwv(x');
tfrcw(x')
%tfrspwv(x');
examp2_20.m
t=-pi:0.3:pi; y=1./(1+exp(-t));
subplot(221), plot(t,y); title('plot(t,y)')
subplot(222), stem(t,y); title('stem(t,y)')
subplot(223), semilogy(t,y); title('semilogy(t,y)')
subplot(224), stairs(t,y
examp2_18.m
t=0:.1:2*pi; y=sin(t); plot(t,y)
t=0:.1:2*pi; y=[sin(t); cos(t)]; plot(t,y)
t=0:.1:2*pi; plotyy(t,sin(t),t,0.01*cos(t))
plot(t,sin(t),t,cos(t))
t=0:.1:2*pi; y1=sin(t); y2=cos(t); y3=sin(t)
examp6_24.m
r=0.5; gg=7.81*pi*r^2
L1=10; L2=10*sqrt(2); L3=20*sqrt(2);
T1=diag([r^2/2, L1^2/12, L1^2/12])*L1*gg*1e-9;
T2=diag([r^2/2, L2^2/12, L2^2/12])*L2*gg*1e-9;
T3=diag([r^2/2, L3^2/12, L3^2/12])*L3*gg*1e
exercise11_12.java
// Exercise11_12.java: Draw a fan with four blazes
import java.awt.*;
import javax.swing.*;
public class Exercise11_12 extends JFrame {
public static void main(String[] args) {
JFrame fra
5-5.htm
数学相关函数
数学相关函数
drawcircle.m
function c=drawcircle(y,x,size,colour,lw)
if (nargin==4)
lw=3;
end
hold on;
t = 0:pi/50:2*pi;
plot(size/2*sin(t)+x,size/2*cos(t)+y,colour,'Linewidth',lw);
hold off;