代码搜索结果

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

gngauss.m

function[gsrv1,gsrv2]=gngauss(m,sgma) if nargin==0, m=0;sgma=1; elseif nargin==1, sgma=m;m=0; end; u=rand; z=sgma*(sqrt(2*log(1/(1-u)))); u=rand; gsrv1=m+z*cos(2*pi*u); gsrv2=m+z*sin

gngauss.m

function[gsrv1,gsrv2]=gngauss(m,sgma) if nargin==0, m=0;sgma=1; elseif nargin==1, sgma=m;m=0; end; u=rand; z=sgma*(sqrt(2*log(1/(1-u)))); u=rand; gsrv1=m+z*cos(2*pi*u); gsrv2=m

subsref.m

function Pi = subsref(P,S) % SUBSREF -- subscripting of matrix polynomial objects % % This function is not meant to be called by the user, except from % subroutines residing in the @mpoly direc

subsasgn.m

function Pi = subsasgn(P,S,B) % SUBSASGN -- assignment to subscripted matrix polynomial % % This function is not meant to be called by the user. It is called by % Matlab when a subscripted matr

gasimpleeval.m

function [val,sol] = gaTestEval(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;

gamicheval.m

function [val,sol] = gaTestEval(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;

tableq15.h

#ifndef TABLEQ15_H #define TABLEQ15_H // ================================================================ // define lookup table in Q1.15 format // // // OneOverSqrt3Q1_15=1/sqrt(3) // // SinV

hsi2rgb.m

function rgb = hsi2rgb(hsi) %HSI2RGB Converts an HSI image to RGB. % RGB = HSI2RGB(HSI) converts an HSI image to RGB, where HSI is % assumed to be of class double with: % hsi(:, :, 1) =

test3.m

clear clc t=0:0.01:10; a=sin(20*pi*t); b=5*sin(10*pi*t); c=5*cos(2*pi*t); x=a+b+c; stop = [0.1,0.1,0.1]; [imf,ort,nbits]=myemd(x,t,stop,2); imfsize=size(imf); columnNum=imfsize(1)/2+1;

neural-network-back-propagation-algorithm.m

% 利用BP网络实现函数逼近 clear %NEWFF--生成一个新的前向神经网络 %TRAIN---对BP网络进行训练 %SIM----对BP网络进行仿真 clc %定义训练样本矢量 %**********************************情况1*********************************** P=0:0.01:0.3;%输入时间序列