代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
exn522b.m
%《MATLAB及其在理工课程中的应用指南》(十一五规划版)第五章例5-2-2b程序
% 椭圆的直角坐标绘图
% 西安电子科技大学出版社出版 陈怀琛编著 2007年7月
%
clear,clf
figure(1)
x=linspace(-pi,pi,1001);
y1=2*sqrt(1-x.^2/3^2);
y2=-2*sqrt(1-x.^2/3^2);
plot(x,[y1
hrollfcoef.m
% Program 3-3
% hrollfcoef.m
%
% Generate coefficients of Nyquist filter
%
% programmed by H.Harada
%
function [xh] = hrollfcoef(irfn,ipoint,sr,alfs,ncc)
%****************** variables ****
shili05.m
function shili05
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例05');
t=0:pi/10:2*pi;
[x,y]=meshgrid(t);
subplot(2,2,1)
plot(sin(t),cos(t))
axis equal
sub
shili06.m
function shili06
h0=figure('toolbar','none',...
'position',[200 150 450 400],...
'name','实例06');
t=0:pi/10:2*pi;
h=plot(t,sin(t));
xlabel('t=0到2\pi','fontsize',16);
ylabel('sin(t)','fon
cm_f34.m
% script that generates the figure 3.4 of Carrier modulation chapter
snrindB=0:0.25:18;
for i=1:length(snrindB),
snr=10^(0.1*snrindB(i));
P2(i)=Qfunct(sqrt(2*snr));
P4(i)=2*Qfunct(sqrt(4*sn
il3_8fun.m
% il3_8fun.m
function f=il3_8fun(x,p)
f=1/sqrt(2*pi)*exp((-(x-p).^2)/2).*log2(2./(1+exp(-2*x.*p)));
lmin.m
% lmin.m - find locations of voltage minima and maxima
%
% Usage: [lm,Zm] = lmin(ZL,Z0,type)
% [lm,Zm] = lmin(ZL,Z0) (equivalent to type='min')
%
% ZL = load impedance
% Z0 = lin
dslab.m
% dslab.m - solves for the TE-mode cutoff wavenumbers in a dielectric slab
%
% Usage: [u,v] = dslab(R,Nit)
% [u,v] = dslab(R) (equivalent to Nit=3)
%
% R = frequency radius = k0*a*N
fcs.m
% fcs.m - Fresnel integrals C(x) and S(x)
%
% Usage: F = fcs(x)
%
% x = vector or matrix of real numbers
% F = C(x) - jS(x) of same size as x
%
% notes: F(x) = C(x) - j*S(x) = int_0^x exp(-j*p
e0501.m
b=sym('pi') %创建符号常量
c1=sym(2/3,'d') %创建符号常量2/3,并返回最接近的32位的十进制数值
c2=sym(2/3,'f') %创建符号常量2/3,并返回该符号值最接近的浮点表示
c3=sym(2/3,'r') %创建符号常量2/3,并返回该符号值最接近的有理数型
c4=sym(2/3,'e')