代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

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;

hh.txt

import java.applet.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.*; public class DayTimeGUIClient extends Applet { private Graphics gBuf; private Image

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;

example1_7.m

t=0:pi/20:2*pi; z=sin(t); plot(t,z); set(gca,'YAxisLocation','right'); %设置当前坐标轴的y轴的位置属性为右 xlabel('x'); ylabel('y');

example6_2.m

t=0:pi/100:4*pi; s=sin(t+3*pi/4); plot(s); title('原始信号s'); %==================================== %对s进行小波分解:db1 3层 [c,l]=wavedec(s,3,'db1'); %==================================== %提取小波分解的低频系数a

2-9.m

subplot(2,1,1) [x,y] = meshgrid(-2:.2:2); %为三维画图产生x和y矩阵 z = x.^exp(-x.^2-y.^2); [C,h] = contour(x,y,z); %等高线contour函数,在后面的轮廓线函数里讲解 clabel(C,h); %标注等高线值 subplot(2,1,2) x = -pi:pi/20:pi; plot(

2-5.m

subplot(211) %分割窗口对象 Z = peaks; plot(Z) subplot(212) x = -pi:.1:pi; y = sin(x); plot(x,y) hold on plot(x+1,y,'.') %设置点型 hold off

2-6.m

figure; %下面的符号函数在下面章节中会详细说明 subplot(2,3,1) %对于变化剧烈的函数,可用fplot来进行较精确的绘图 fplot('humps',[0 1]) subplot(2,3,2) fplot('abs(exp(-j*x*(0:9))*ones(10,1))',[0 2*pi]) subplot(2,3,3) fplot('[tan(x),sin(x

2-8.m

t = 0:pi/20:2*pi; [x,y] = meshgrid(t); subplot(2,2,1) z = sin(x)+cos(y); plot(t,z) grid on %打开网格线 subplot(2,2,2) plot(t,z) axis([0 2*pi -2 2]) hold on %在当前图形上绘制数据 plot(t,sin(x).*cos(y))

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 ****