代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
ml.m
clear
close all
Fs=3e6;%采样频率
N=100;%采样点数
n=0:(N-1);%采样点
n=n/Fs;
f0=1e6;%中心频率
m=16;%阵元数
p=3;
bi=0.5;
j=sqrt(-1);
i=j;
degrad=pi/180; %将角度制化为弧度制
angle=[0;4;60];%波达方向
x1=exp(i*(2*pi*n*f0
tct.m
%初始条件
clear all;
Sensor=8; %天线阵元数
bw1=1e6; % 信号带宽
bw2=1e6;
bw3=1e6;
f0=1e8;
T1=1e-2; %信号脉
8-6-3.tex
% 8-6-3.tex
\documentclass{article}
\usepackage{CJK}
\begin{document}
\begin{CJK*}{GBK}{song}
\begin{center}
\begin{tabular}{cr@{.}l}
\multicolumn{3}{l}{数学表达式\qquad 值\,(10\,位数字)} \\
\hline\h
proj2_32.cpp
#define PI 3.1416 // 不带参数的宏定义
#define ADD(x, y) (x) + (y) // 带参数的宏定义
#include
void main()
{
int r = 4;
int a, b;
a = 10; b = 20;
cout
circle.cpp
#include "myarea.h"
const float pi = 3.14;
double circle(double radius)
{
return pi * radius * radius;
}
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
show_tan.c
#include
#include
void main(void)
{
double pi = 3.14159265;
printf("Tangent of pi is %f\n", tan(pi));
printf("Tangent of pi/4 is %f\n", tan(pi / 4.0));
}
gfft.m
function X=gfft(x,k)
%《数字信号处理教程——MATLAB释义与实现》
% Goertzel算法子程序
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
% X=gfft(x,k)
% ----------------------------------
% 用Goertzel算法计算序号为k的DFT样本
% x 输入序列,其长度即DFT长度
% k
drawsatelliteorbit.m
function DrawSatelliteOrbit
a=26560;
e=0.02;
E=[0:0.1:2*pi];
x=a*(cos(E)-e);
y=a*sqrt((1-e^2))*sin(E);
z=0*E;
DtoR=2*pi/360;
A1=[32.8 92.8 152.8 212.6 272.8 332.6]; %卫星星座数据
for k=
lp51.m
a=8.335;lambda=0.6328;nc=1.462420;ng=1.457420;
v=(2*pi*a/lambda)*sqrt(nc^2-ng^2);
u51=7.9096;neff51=sqrt(nc^2-(u51/(2*pi*a/lambda))^2);
w51=sqrt(v^2-u51^2);
rc=[0:0.1:a];
Src=size(rc);
for m=1:S