代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/393504/8281474
m sample_proposal.m
function particle= sample_proposal(particle, z,idf, R)
% Compute proposal distribution, then sample from it, and compute new
% particle weight.
xv= particle.xv;
Pv= particle.Pv;
xv0= xv;
Pv0=
www.eeworm.com/read/411671/11234315
m update.m
function update(z,R,idf)
global XX PX
for i=1:length(idf)
[XX,PX] = unscented_update(@observe_model, @observediff, XX,PX, z(:,i),R, idf(i));
end
%
function dz = observediff(z1, z2)
dz
www.eeworm.com/read/433274/8534568
h compiler.h
#ifndef COMPILER_H
#define COMPILER_H
#include "platform.h"
// Detect compiler
#ifdef __GNUG__
#define PI_COMPILER "g++"
#define PI_COMPILER_ __GNUG__
#define PI_COMPILER_VERSION_MINOR __GNUC_MINO
www.eeworm.com/read/282594/9081253
m observe_heading.m
function [x,P]= observe_heading(x,P, phi, useheading)
%function [x,P]= observe_heading(x,P, phi, useheading)
%
% Perform state update for a given heading measurement, phi,
% with fixed measurement
www.eeworm.com/read/166836/9995616
m ga_f22.m
function PI=GA_f22(x)
global MIN_offset
% Fitness function evaluation of Example 2-2
% PenChen Chou, 7-2-2001
PI=sin(2*pi*x);
PI=MIN_offset-PI;
www.eeworm.com/read/166836/9995752
m ga_f25.m
function PI=GA_f25(x)
% Fitness function evaluation of Example 2-5
% PenChen Chou, 6-30-2001
global MIN_offset
PI=26-(sum(fix(x)));
if MIN_offset>0
PI=MIN_offset-PI;
end;
www.eeworm.com/read/166836/9995830
m ga_f24.m
function PI=GA_f24(chro)
% Fitness max. function evaluation of Example 2-4
% PenChen Chou, 6-30-2001
global MIN_offset MUL_factor
x=chro(1); y=chro(2);
A1=(sin(sqrt(x^2+y^2)))^2-0.5;
A2=(1+
www.eeworm.com/read/166836/9996002
m ga_f37.m
function PI=GA_f37(x)
global MIN_offset Se Sde Su MDL
% Fitness function evaluation of Example 3-7
% PenChen Chou, 7-15-2001
Se =GA_round4dp(x(1));
Sde=GA_round4dp(x(2));
Su =GA_round4dp(x(3
www.eeworm.com/read/440983/7678255
m test_2music_genetic.m
clc
clear all
%产生两个信号,并且确定两个角度
signal_number=2;
n1=1:0.1:1024;
signal_1=100*cos(2*pi*200/4000*n1);
signal_2=100*cos(2*pi*200/4000*n1+pi/2);
angle_1=pi*45/180;
angle_2=pi*50/180;
%采样
samp