代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
example_subplot.m
% example_subplot.m
% subplot函数绘制示例
x=linspace(0,2*pi,100);
y=linspace(0,3*pi,150);
a=sin(x);
b=2*sin(x).*cos(x);
c=sin(y)./(cos(y)+eps);
% 绘制图形一:
subplot(2,2,1);
plot(x,a,'b*-');
title('fig
ex2.tcl
# Copyright 1996
# Authors
# Lakshmi Sastry
# Computing and Information Systems Department
# Rutherford Appleton Laboratory, Chilton, Didcot. OX11 0QX
# lakshmi.sastry@rl.ac.uk
#
zmn1.m
function z=zmn1(b,c,d1,d2,e,f,g)
n=9;
a=0.005;
k=2*pi;
w=3*10^8*2*pi;
E=8.854*10^(-12);
u=4*pi*10^(-7);
for p=1:n
for q=1:n
s(p,q)=exp((-i*k*e
phispan.m
function T=phispan(x,phitype,dilation,uo,a,bord1,bord2,Family,par);
% USAGE T=phispan(x,phitype,dilation,uo,a,bord1,bord2)
%
% This function returns a matrix Tij that contains elements
% \phi_
phispan.m
function T=phispan(x,phitype,dilation,uo,a,bord1,bord2,Family,par);
% USAGE T=phispan(x,phitype,dilation,uo,a,bord1,bord2)
%
% This function returns a matrix Tij that contains elements
% \phi_j(x_i
untitled2.m
x1=rands(400)*pi;
x2=rands(300)*pi;
x3=rands(100,1)*pi;
p1=x1;
p2=[x2;x3];
P=[p1 p2];
deltatt=0.05;
T=p2+deltatt*(10*sin(p1)-2*p2);
Q=P';
net=newff(minmax(Q),[9 1],{'tansig','purelin'});
net
p1-98.cpp
#include
//以下是几个简单宏替换预处理指令
#define YES 1
#define PI 3.1415926
#define RAD PI/180
#define MESG "This is a string."
//以下是主程序
main() {
//以下各语句使
p1-12.cpp
#include
const double PI=3.1416; //声明常量(const变量)PI为3.1416
main()
{
//声明3个变量
double r,l,s;
//输入圆的半径
coutr;
//计算圆的周长
p1-100.cpp
#include
#define PI 3.1416
main() {
int i=100;
#if 1
cout
q732.m
%《MATLAB在电子信息课程中的应用》(第三版)第七章例7.32程序q732
% 直接设计带通数字椭圆滤波器
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
clear;close all
Wp=[0.25,0.45];
Ws=[0.15,0.55];
Rp=0.1;
Rs=60;
[N,wc]=ellip