代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
clock.java
import java.awt.*;
import java.util.*;
import java.applet.*;
import javax.swing.*;
public class clock extends JFrame
{
clockPanel p;
public clock()
{
super("clock");
p=new
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;
firrcos.m
function [h,a] = firrcos(N,f0,df,Fs)
%FIRRCOS Raised Cosine FIR Filter design.
% FIRRCOS(N,F0,DF,Fs) returns an order N low pass linear phase FIR filter
% with a raised cosine transition ban
quanjuvalue.m
function QuanJuValue(speech)
%定义全局变量
global L1 L2 L3 L0 MA1 MA2 lspcb1 lspcb2 lspcb3 q_old rcAR1 rcAR2;
global b12 b30;
global T1 fraction1 T2 fraction2;
global Tr0 Tr1 Tr2 Tr3 Tr4;%Track 0-4
firls.m
function [h,a]=firls(N,F,M,W,ftype);
% FIRLS Linear-phase FIR filter design using least-squares error minimization.
% B=FIRLS(N,F,A) returns a length N+1 linear phase (real, symmetric
% coeffic
iirtest.asv
T=9.2e-6;
fs=73.33e6*2;
B=60.e6;
k=B/T;
N=round(T*fs);
n=-1*N/2:N/2;
f=exp(j*k*pi*(n/fs).^2);
subplot(3,1,1);
plot(real(f));
title('线性调频信号');
subplot(3,1,2);
plot(abs(fft(f)));
title('线性调频
iirtest.m
T=9.2e-6;
fs=73.33e6*2;
B=60.e6;
k=B/T;
N=round(T*fs);
n=-1*N/2:N/2;
f=exp(j*k*pi*(n/fs).^2);
subplot(3,1,1);
plot(real(f));
title('线性调频信号');
subplot(3,1,2);
plot(abs(fft(f)));
title('线性调频
cfft32c.asm
;========================================================================
;
; File Name : cfft.asm
;
; Originator : Advanced Embeeded Control
; Texas Instruments Inc.
;
qfunct.m
function [y]=Qfunct(x)
% [y]=Qfunct(x) Q函数的计算
% y=1/sqrt(2*pi)*integral from x to inf of exp(-t^2/2) dt
% y=(1/2)*erfc(x/sqrt(2))
y=(1/2)*erfc(x/sqrt(2));
pp_zfj.m
%产生信号序列
n=linspace(-pi,pi,1024);
x=2*sin(n*40)+cos(n*100);
figure,plot(x);
title('输入信号');
%计算序列的DFT
y1=fft(x);
figure,plot(abs(y1));
grid on
title('频谱');
%计算序列的PSD
y2=conj(y1);
Ppw=y1.*y2/