plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | bobkopp/LocalizeSL-master | PlotSLRProjection.m | .m | LocalizeSL-master/MFILES/PlotSLRProjection.m | 3,923 | utf_8 | 82e3bcbd865c098125d7baefc675605d | function [hp,hax,hax2]=PlotSLRProjection(sampslocrise,targyears,sitesel,scens,subscens,endyears,params)
% PlotSLRProjection(sampslocrise,targyears,[sitesel],[scens],[subscens],[endyears])
%
% Plot sea-level rise projections.
%
% sampslocrise, targyears, and scens are outputted by LocalizeStoredProjections.
% sitesel i... |
github | bobkopp/LocalizeSL-master | SLRFloodNexpVsLevelCurves.m | .m | LocalizeSL-master/MFILES/SLRFloodNexpVsLevelCurves.m | 6,801 | utf_8 | d863b01a7ff5e32e07650e054be6535c | function [effcurve,testz,histcurve,histcurvesamps,effcurveESLR,effcurve999,integratecurve]=SLRFloodNexpVsLevelCurves(samps,targyears,threshold,scale,shape,lambda,sitelab,params)
% [effcurve,testz,histcurve,histcurvesamps,effcurveESLR,effcurve999,integratecurve]=
% SLRFloodNexpVsLevelCurves(samps,targyears,threshold... |
github | bobkopp/LocalizeSL-master | OutputPastAndProjected.m | .m | LocalizeSL-master/MFILES/OutputPastAndProjected.m | 6,755 | utf_8 | 3fe1dfb3a453194d1a12bf4130fb5047 | function output=OutputPastAndProjectedSL(TGdata,samps,targyears,params)
% OutputPastAndProjectedSL(TGdata,samps,targyears,params)
%
%
% TGdata: data structure including (at a minimum) meantime, Y, dY, Ycv
% and sitenames
%
% samps: cell array of matrices of projection samples
%
% targyears: vector of years correspond... |
github | bobkopp/LocalizeSL-master | LocalizeStoredProjections.m | .m | LocalizeSL-master/MFILES/LocalizeStoredProjections.m | 3,847 | utf_8 | 36414ddd96399ab7dfc3815d1a0a6791 | function [sampslocrise,sampsloccomponents,siteids,sitenames,targyears,scens,cols] = LocalizeStoredProjections(focussites,storefile,selectscens,substitutep)
% [sampslocrise,sampsloccomponents,siteids,sitenames,targyears,scens,cols] =
% LocalizeStoredProjections(focussites,storefile,[selectscens],[substitutetp]... |
github | bobkopp/LocalizeSL-master | SLRAllowancePlot.m | .m | LocalizeSL-master/MFILES/SLRAllowancePlot.m | 10,364 | utf_8 | ef970137f5fbb198127dcd1b75ce9043 | function [Ainst,ALDC,ADLfromstart,ADLfp,ADLLDCfromstart,ADLendyears,z0,hp]=SLRAllowancePlot(samps,targyears,effcurve,testz,histcurve,effcurve999,integratecurve,sitelab,params)
% [Ainst,ALDC,ADLfromstart,ADLfp,ADLLDCfromstart,ADLendyears,z0,hp]=
% SLRAllowancePlot(samps,targyears,effcurve,testz,histcurve,effcurve999... |
github | mattmcd/ParseMATLAB-master | C.m | .m | ParseMATLAB-master/test/parse_pass/C.m | 177 | utf_8 | dc3215720c77c1222b38f9d9d84ea7e3 | classdef C
methods
function a=getA(obj); a=obj.A; end; function b=getB(obj); b=obj.B; end
end
end
function e
if a==b
c
elseif d>1
d
else
e
end
end
|
github | monajemi/clusterjob-master | CJ_reduce.m | .m | clusterjob-master/src/CJ/CJ_reduce.m | 4,598 | utf_8 | f9e13cd5355c5d2595c53403d62d4f82 | function C = CJ_reduce(A,B)
% This function reduces the contents of mapped A, and B
% through CJ. A and B are different instances of cj parrun
% CHECK A, and B of of the same class and size
if( ~check(A,B) ) ; error(' CJerr::A, and B are of different size or class'); end;
if( isa(A,'double') || isa(A,'uint64') )
... |
github | akweisek/powerline-noise-elimination-master | complex_morlet.m | .m | powerline-noise-elimination-master/complex_morlet.m | 1,437 | utf_8 | e1e134c60f031b3164f6441a16c7cbd7 | %% Morlet Wavelet
% Copyright (C) 2014 Samuel Akwei-Sekyere
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later v... |
github | akweisek/powerline-noise-elimination-master | power_noise_remove.m | .m | powerline-noise-elimination-master/power_noise_remove.m | 9,531 | utf_8 | 218e79419e8ebd0e2f7057f550c3be80 | %% Removal of Powerline Noise via Blind Source Separation and Wavelet Analysis
% Copyright (C) 2015 Samuel Akwei-Sekyere
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either v... |
github | akweisek/powerline-noise-elimination-master | real_morlet.m | .m | powerline-noise-elimination-master/real_morlet.m | 900 | utf_8 | 004bd723d37c772966dbad97b2556289 | %% Real Morlet Wavelet
% Copyright (C) 2014 Samuel Akwei-Sekyere
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any la... |
github | akweisek/powerline-noise-elimination-master | cwt_extract.m | .m | powerline-noise-elimination-master/cwt_extract.m | 1,826 | utf_8 | 714a8a7409b2dab24377a8366f662bd9 | %% Wavelet Transformation (part of the pseudo-convolution)
% Copyright (C) 2014 Samuel Akwei-Sekyere
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the Lice... |
github | akweisek/powerline-noise-elimination-master | wav_m.m | .m | powerline-noise-elimination-master/wav_m.m | 1,434 | utf_8 | 1bc7019c81a1bcda576fedf197b7e220 | %% Wavelet Library Creation
% Copyright (C) 2014 Samuel Akwei-Sekyere
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) a... |
github | akweisek/powerline-noise-elimination-master | wavelet_decomp.m | .m | powerline-noise-elimination-master/wavelet_decomp.m | 1,029 | utf_8 | b8e6d28b45e2112f7987692a019805bf | %% Wavelet Decomposition
% Copyright (C) 2014 Samuel Akwei-Sekyere
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any ... |
github | akweisek/powerline-noise-elimination-master | cubica34.m | .m | powerline-noise-elimination-master/cubica34.m | 3,273 | utf_8 | aafae7848969c6acbc6d676f85b5c321 | %function [R,y]=cubica34(x)
function [y]=cubica34(x)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% CubICA (IMPROVED CUMULANT BASED ICA-ALGORITHM)
%
% This algorithm performes ICA by diagonalization of third- and
% fourth-order cumulants simultaneously.
%
% [R,y]=cubica34(x)
%... |
github | dr-dos-ok/qrsim-master | testKL.m | .m | qrsim-master/tests/testKL.m | 1,464 | utf_8 | b8e52929e091c865dd887e5f85e25c5b | function [e]=testKL()
% returns 0 if no errors
TOL1 = 0.2;
TOL2 = 0.02;
%%% test using multivariate Gaussians distributed samples
% dimensions
k = 10;
% number of samples
N = 10000;
% P samples
muP = ones(k,1);
sigmaP = 0.5*eye(k,k)+0.5*ones(k,k);
P = mvnrnd(muP,sigmaP, N);
% Q samples
muQ = ones(k,1);
sigmaQ = 0.9... |
github | dr-dos-ok/qrsim-master | testSeed.m | .m | qrsim-master/tests/testSeed.m | 1,446 | utf_8 | 767b14c13372d3d071ec8c579c43ff7e | function [ e ] = testSeed()
%test that two runs with the same seed produce identical outputs
clear all;
cd('seed');
N = 100;
e = 0;
% run it once with fix seed
[X1,eX1] = runSim('TaskFixSeed',N);
% run it again with the same initial seed
[X2,eX2] = runSim('TaskFixSeed',N);
r = ~all(all(X1==X2)) || ~all(all(eX1==e... |
github | dr-dos-ok/qrsim-master | testSetReset.m | .m | qrsim-master/tests/testSetReset.m | 11,265 | utf_8 | 38a19e9ac72cca33fc2fb0cbbe2f9fc3 | function e = testSetReset()
% test the reset and setState methods of the pelican object
clear all;
cd('setreset');
e = 0;
% after a setState X should be what was set
e = e | simpleSetState();
% with random seed
% init should give different eX than an init + reset but the same X
e = e | loudTest('initAndResetFromRan... |
github | dr-dos-ok/qrsim-master | testAssertions.m | .m | qrsim-master/tests/testAssertions.m | 16,491 | utf_8 | f94ff1c0aa31329fb7c0f2d175f095a9 | function [ e ] = testAssertions()
%TESTASSERTIONS test assertion for missing initialization parameters
% returns 0 if all tests passed
addpath('assert');
clear all;
e = 0;
e = e | loadBadlySpecifiedTask('TaskNoDT','qrsim:nodt','missing dt task parameter');
e = e | loadBadlySpecifiedTask('TaskDtNotAMultiple','qrsim:... |
github | dr-dos-ok/qrsim-master | testPIDs.m | .m | qrsim-master/tests/testPIDs.m | 15,751 | utf_8 | 7462a834a012012c6504b7b787089466 | function e = testPIDs() %#ok<*AGROW>
%TESTPIDS Summary of this function goes here
% Detailed explanation goes here
plots = 0;
cd('pids');
e = 0;
e = e | testWaypointPID(plots);
e = e | testVelocityPID(plots);
e = e | testVelocityHeightPID(plots);
e = e | testAngleHeightPID(plots);
cd ('..');
end
function e = te... |
github | dr-dos-ok/qrsim-master | testCoordinateConversions.m | .m | qrsim-master/tests/testCoordinateConversions.m | 9,453 | utf_8 | 4b96f71651e3859da07c47e1bf09021f | function [e] = testCoordinateConversions()
addpath('conversions');
% returns 0 if no errors
fprintf('this unit test will take a while...\n');
fprintf('during the test you might see warnings from the mex compiler,\n these are normal.\n');
% assumes to be running from the test directory
addpath(pwd());
cd(['..',file... |
github | dr-dos-ok/qrsim-master | testLimits.m | .m | qrsim-master/tests/testLimits.m | 5,099 | utf_8 | dc9d1fe9c435ca1f4e3e7ac3ea592194 | function [ e ] = testLimits()
%test the checks we are imposing on each of the state variables,
% on the flight volume and on the control inputs
clear all;
cd('limits');
e = 0;
% test the case in which we start out of the boundaries
e = e | testSettingStateOutOfBounds('helicopter setting state out of bounds');
% te... |
github | dr-dos-ok/qrsim-master | testDynamics.m | .m | qrsim-master/tests/testDynamics.m | 5,172 | utf_8 | 17e440fa4562ca381736bcf1d2fad5de | function [ e ] = testDynamics()
%test that the response of the dynamic model to the control input matches
%the flight data
clear all;
close all;
cd('dynamics');
plots = 0;
e = 0;
% run the sim using logged inputs and comparing outputs with logged data
e = e | compareThrustToLogs(plots);
e = e | compareRatationT... |
github | dr-dos-ok/qrsim-master | testPolyVal.m | .m | qrsim-master/tests/testPolyVal.m | 1,370 | utf_8 | 0eb5e03f8c892e0e1dac41358c131f5a | function [e]=testPolyVal()
% returns 0 if no errors
fprintf('during the test you might see warnings from the mex compiler,\n these are normal.\n');
% assumes to be running from the test directory
addpath(pwd());
cd(['..',filesep,'sim',filesep,'core',filesep,'functions']);
tol = 1e-20;
I = 100;
J = 50;
ym = ze... |
github | dr-dos-ok/qrsim-master | testWind.m | .m | qrsim-master/tests/testWind.m | 13,901 | utf_8 | 9b75775ecd3e8e67b2ebd78bb77c1370 | function e = testWind()
% note that this test requires both simulink and the aerospace blockset
clear all;
close all;
e = 0;
plots = 0;
cd('wind');
%%% model parameters
Vfts = 1; hft = 5; W20ft = 1; phi = 0; theta = 0; psi = 0; dir=0;
e = e | runTurbulenceAndCompare('theoretical',W20ft,Vfts,dir,hft,phi,theta,ps... |
github | dr-dos-ok/qrsim-master | likT.m | .m | qrsim-master/3rdparty/gpml/lik/likT.m | 8,786 | utf_8 | 465da995d06a2f67300bddfb96ce7c2f | function [varargout] = likT(hyp, y, mu, s2, inf, i)
% likT - Student's t likelihood function for regression.
% The expression for the likelihood is
% likT(t) = Z * ( 1 + (t-y)^2/(nu*sn^2) ).^(-(nu+1)/2),
% where Z = gamma((nu+1)/2) / (gamma(nu/2)*sqrt(nu*pi)*sn)
% and y is the mean (for nu>1) and nu*sn^2/(nu-2) is ... |
github | dr-dos-ok/qrsim-master | likLaplace.m | .m | qrsim-master/3rdparty/gpml/lik/likLaplace.m | 11,071 | iso_8859_13 | 12a345c45843b95ef73b0486c132676d | function [varargout] = likLaplace(hyp, y, mu, s2, inf, i)
% likLaplace - Laplacian likelihood function for regression.
% The expression for the likelihood is
% likLaplace(t) = exp(-|t-y|/b)/(2*b) with b = sn/sqrt(2),
% where y is the mean and sn^2 is the variance.
%
% The hyperparameters are:
%
% hyp = [ log(sn) ... |
github | dr-dos-ok/qrsim-master | likLogistic.m | .m | qrsim-master/3rdparty/gpml/lik/likLogistic.m | 7,910 | utf_8 | 041ae0b0c2db7dc0721cb4ca49559f69 | function [varargout] = likLogistic(hyp, y, mu, s2, inf, i)
% likLogistic - logistic function for binary classification or logit regression.
% The expression for the likelihood is
% likLogistic(t) = 1./(1+exp(-t)).
%
% Several modes are provided, for computing likelihoods, derivatives and moments
% respectively, see... |
github | dr-dos-ok/qrsim-master | likSech2.m | .m | qrsim-master/3rdparty/gpml/lik/likSech2.m | 11,091 | utf_8 | 1dfb3d2994e4c64c527077d17c311861 | function [varargout] = likSech2(hyp, y, mu, s2, inf, i)
% likSech2 - sech-square likelihood function for regression. Often, the sech-
% square distribution is also referred to as the logistic distribution not to be
% confused with the logistic function for classification. The expression for the
% likelihood is
% li... |
github | dr-dos-ok/qrsim-master | lbfgsb.m | .m | qrsim-master/3rdparty/gpml/util/lbfgsb.m | 4,993 | utf_8 | e8376ef952af2fc29fe1b08e69366bf1 | % LBFGSB Call the nonlinear bound-constrained solver that uses
% limited-memory BFGS quasi-Newton updates.
%
% The basic function call is
%
% LBFGSB(x0,lb,ub,objfunc,gradfunc)
%
% The first input argument x0 is either a matrix or a cell array of
% matrices. It declares the starting point for the s... |
github | dr-dos-ok/qrsim-master | elsympol.m | .m | qrsim-master/3rdparty/gpml/util/elsympol.m | 699 | utf_8 | 33e751b982c07eb890d26629bf71f595 | % Evaluate the order R elementary symmetric polynomial Newton's identity aka
% the Newton–Girard formulae: http://en.wikipedia.org/wiki/Newton's_identities
%
% Copyright (c) by Carl Edward Rasmussen and Hannes Nickisch, 2010-01-10.
function E = elsympol(Z,R)
% evaluate 'power sums' of the individual terms in Z
sz = si... |
github | dr-dos-ok/qrsim-master | minimize.m | .m | qrsim-master/3rdparty/gpml/util/minimize.m | 11,198 | utf_8 | c8ef15d46aa4df5aa90002deeeaa0f64 | function [X, fX, i] = minimize(X, f, length, varargin)
% Minimize a differentiable multivariate function using conjugate gradients.
%
% Usage: [X, fX, i] = minimize(X, f, length, P1, P2, P3, ... )
%
% X initial guess; may be of any type, including struct and cell array
% f the name or pointer to the funct... |
github | dr-dos-ok/qrsim-master | sq_dist.m | .m | qrsim-master/3rdparty/gpml/util/sq_dist.m | 1,967 | utf_8 | 4b47740ab9df8ebf0acd5ae2d557acef | % sq_dist - a function to compute a matrix of all pairwise squared distances
% between two sets of vectors, stored in the columns of the two matrices, a
% (of size D by n) and b (of size D by m). If only a single argument is given
% or the second matrix is empty, the missing matrix is taken to be identical
% to the fir... |
github | dr-dos-ok/qrsim-master | unwrap.m | .m | qrsim-master/3rdparty/gpml/util/unwrap.m | 651 | utf_8 | 47d4deafec9cfdde0a4c291b3825c401 | % Extract the numerical values from "s" into the column vector "v". The
% variable "s" can be of any type, including struct and cell array.
% Non-numerical elements are ignored. See also the reverse rewrap.m.
function v = unwrap(s)
v = [];
if isnumeric(s)
v = s(:); % numeric values are re... |
github | dr-dos-ok/qrsim-master | rewrap.m | .m | qrsim-master/3rdparty/gpml/util/rewrap.m | 1,014 | utf_8 | 64b6d7c0f51a8c77ddd012370a288b20 | % Map the numerical elements in the vector "v" onto the variables "s" which can
% be of any type. The number of numerical elements must match; on exit "v"
% should be empty. Non-numerical entries are just copied. See also unwrap.m.
function [s v] = rewrap(s, v)
if isnumeric(s)
if numel(v) < numel(s)
error('The ... |
github | dr-dos-ok/qrsim-master | solve_chol.m | .m | qrsim-master/3rdparty/gpml/util/solve_chol.m | 993 | utf_8 | 50d81a361032ceb40d9102492db78fe9 | % solve_chol - solve linear equations from the Cholesky factorization.
% Solve A*X = B for X, where A is square, symmetric, positive definite. The
% input to the function is R the Cholesky decomposition of A and the matrix B.
% Example: X = solve_chol(chol(A),B);
%
% NOTE: The program code is written in the C language ... |
github | dr-dos-ok/qrsim-master | minimize_lbfgsb_gradfun.m | .m | qrsim-master/3rdparty/gpml/util/minimize_lbfgsb_gradfun.m | 2,390 | utf_8 | 0eca58fc12d068780d735fd5a83ebdfa | function G = minimize_lbfgsb_gradfun(X,varargin)
% extract input arguments
varargin = varargin{1}; strctX = varargin{2}; f = varargin{1};
% global variables serve as communication interface between calls
global minimize_lbfgsb_iteration_number
global minimize_lbfgsb_objective
global minimize_lbfgsb_gradie... |
github | dr-dos-ok/qrsim-master | minimize_lbfgsb.m | .m | qrsim-master/3rdparty/gpml/util/minimize_lbfgsb.m | 4,476 | utf_8 | 10c2d1fef0bdc071cd35d3904c88f0ed | function [X, fX, i] = minimize_lbfgsb(X, f, length, varargin)
% Minimize a differentiable multivariate function using quasi Newton.
%
% Usage: [X, fX, i] = minimize_lbfgsb(X, f, length, P1, P2, P3, ... )
%
% X initial guess; may be of any type, including struct and cell array
% f the name or pointer to th... |
github | dr-dos-ok/qrsim-master | minimize_lbfgsb_objfun.m | .m | qrsim-master/3rdparty/gpml/util/minimize_lbfgsb_objfun.m | 2,695 | utf_8 | d9bbd3614b193a06603c12f33f877104 | function y = minimize_lbfgsb_objfun(X,varargin)
% extract input arguments
varargin = varargin{1}; strctX = varargin{2}; f = varargin{1};
% global variables serve as communication interface between calls
global minimize_lbfgsb_iteration_number
global minimize_lbfgsb_objective
global minimize_lbfgsb_gradien... |
github | dr-dos-ok/qrsim-master | covADD.m | .m | qrsim-master/3rdparty/gpml/cov/covADD.m | 3,547 | utf_8 | c269fbba2fb3ad063f02bcb1376c4968 | function K = covADD(cov, hyp, x, z, i)
% Additive covariance function using a 1d base covariance function
% cov(x^p,x^q;hyp) with individual hyperparameters hyp.
%
% k(x^p,x^q) = \sum_{r \in R} sf_r \sum_{|I|=r}
% \prod_{i \in I} cov(x^p_i,x^q_i;hyp_i)
%
% hyp = [ hyp_1
% hyp_2
% ...
... |
github | dr-dos-ok/qrsim-master | infEP.m | .m | qrsim-master/3rdparty/gpml/inf/infEP.m | 6,058 | utf_8 | 0cf57600907ef42597a6fcc4a90a0287 | function [post nlZ dnlZ] = infEP(hyp, mean, cov, lik, x, y)
% Expectation Propagation approximation to the posterior Gaussian Process.
% The function takes a specified covariance function (see covFunction.m) and
% likelihood function (see likFunction.m), and is designed to be used with
% gp.m. See also infFunctions.m.... |
github | dr-dos-ok/qrsim-master | infVB.m | .m | qrsim-master/3rdparty/gpml/inf/infVB.m | 5,970 | utf_8 | bd5b79e3c34fd10ecc6c554c45e4bbd0 | function [post, nlZ, dnlZ] = infVB(hyp, mean, cov, lik, x, y)
% Variational approximation to the posterior Gaussian process with MKL
% covariance function hyperparameter optimisation.
% The function takes a likelihood function (see likFunction.m), and is designed
% to be used with gp.m. See also infFunctions.m.
%
% M... |
github | dr-dos-ok/qrsim-master | infLaplace.m | .m | qrsim-master/3rdparty/gpml/inf/infLaplace.m | 6,827 | utf_8 | eafb3e894330c78658d0258a0c4532dd | function [post nlZ dnlZ] = infLaplace(hyp, mean, cov, lik, x, y)
% Laplace approximation to the posterior Gaussian process.
% The function takes a specified covariance function (see covFunction.m) and
% likelihood function (see likFunction.m), and is designed to be used with
% gp.m. See also infFunctions.m.
%
% Copyri... |
github | donchev7/MatlabCode-master | beampattern.m | .m | MatlabCode-master/Beam and Post/beampattern.m | 5,347 | utf_8 | b8dcfd082d676e6799f69fb494f49279 | function beampattern(beam_nr,phi_d,mue,mics,fs,varargin)
% beampattern(beam_nr,phi_d,mue,mics,fs,sim,phi_n)
% Plots the Beampattern of a 1-dimensional Array and the frequency response
% at a defined angle, as well as the frequncy response for small
% perturbations imposed to mic positions
% beam_nr
% phi_d
% mue
% mics... |
github | donchev7/MatlabCode-master | istft.m | .m | MatlabCode-master/STFT analysis - synthesis/istft.m | 1,814 | utf_8 | c64b6ca4cb5da6f329e8441ffea1f9c3 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Inverse Short-Time Fourier Transform %
% with MATLAB Implementation %
% %
% Author: M.Sc. Eng. Hristo Zhivomirov 12/26/13 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
github | donchev7/MatlabCode-master | stft.m | .m | MatlabCode-master/STFT analysis - synthesis/stft.m | 1,547 | utf_8 | d38b73eee539e2f08c415ad0108eefd9 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Short-Time Fourier Transform %
% with MATLAB Implementation %
% %
% Author: M.Sc. Eng. Hristo Zhivomirov 12/21/13 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
github | donchev7/MatlabCode-master | RobustFSBdes.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/RobustFSBdes.m | 14,966 | utf_8 | f8e2b60c21f75b32c814e27495821145 | % RobustFSB Designs the optimum filter weights of a robust least-squares
% frequency-invariant polynomial (RLSFIP) filter-and-sum beamformer.
%
function [fir_imp_resp, cfg, steerVector, realWNG_dB] = ...
RobustFSBdes(cfg)
local = [];
%------------------------------------------------------------------... |
github | donchev7/MatlabCode-master | RobustFSBORG.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/RobustFSBORG.m | 18,061 | iso_8859_13 | e19afddaa14b4622f7fb7ce34b9b560b | % RobustFSB Designs the optimum filter weights of a robust least-squares
% frequency-invariant polynomial (RLSFIP) filter-and-sum beamformer.
%
% Inputs:
% N: Number of sensors or actors
% spacing: spacing between micophones or radius of array [meters]
% 0 => no... |
github | donchev7/MatlabCode-master | estimate_cdr_nodoa.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/estimate_cdr_nodoa.m | 1,389 | utf_8 | b12850a707e91ffd8c8be07b04f04121 | %ESTIMATE_CDR_NODOA
% Blind (DOA-independent), unbiased estimation of the Coherent-to-Diffuse Ratio (CDR)
% from the complex coherence of a mixed (noisy) signal. Equivalent to CDRprop3 in [1].
%
% CDR = estimate_cdr_nodoa(Cxx, Cnn)
% Cxx: complex coherence of mixed (noisy) signal
% Cnn: coherence of noise ... |
github | donchev7/MatlabCode-master | fft2melmx.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/tools/fwsegsnr/fft2melmx.m | 6,437 | utf_8 | aed4ba527b0df617c06c56660cb6dd1c | function [wts,binfrqs] = fft2melmx(nfft, sr, nfilts, width, minfrq, maxfrq, htkmel, constamp)
% wts = fft2melmx(nfft, sr, nfilts, width, minfrq, maxfrq, htkmel, constamp)
% Generate a matrix of weights to combine FFT bins into Mel
% bins. nfft defines the source FFT size at sampling rate sr.
% Optional ... |
github | donchev7/MatlabCode-master | get_asr_score_longsignal.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/tools/sphinx_eval/get_asr_score_longsignal.m | 1,422 | utf_8 | a05565da96107aa0914c898c1ab421a3 | % get_asr_score_longsignal(long_signal, listname, endpoints)
%
% Andreas Schwarz (schwarz@lnt.de), 2013
%
% This function takes a concatenation of GRID utterances, splits it, calls the
% speech recognizer, and returns the keyword score (recognition rate for
% letter and number in the utterance, as in the CHIME challeng... |
github | donchev7/MatlabCode-master | calc_grid_score.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/tools/sphinx_eval/calc_grid_score.m | 784 | utf_8 | 931e917b36cbe9f487f30700f6731b05 | % unlike calc_chime_score, this function considers all words in the utterance
function [ relative_score ] = calc_grid_score( transcription )
correct = 0;
total = 0;
lines = regexp(strtrim(transcription),'\s*\n\s*','split');
for i=1:length(lines)
line = lines{i};
parts = regexp(line,'\(','split');
recognized_... |
github | donchev7/MatlabCode-master | BF_Array_GeometryORG.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/Generalized_RLSFI_BF/BF_Array_GeometryORG.m | 10,646 | utf_8 | c51be47f3a8f924a4a46500e6df9883e | %--------------------------------------------------------------------------
% Array Geometry
%--------------------------------------------------------------------------
function cfg = BF_Array_GeometryORG(cfg)
switch (cfg.geometry)
%-----------... |
github | donchev7/MatlabCode-master | RobustFSB.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/Generalized_RLSFI_BF/RobustFSB.m | 18,066 | iso_8859_13 | fde40277013097b05842c849828e06a1 | % RobustFSB Designs the optimum filter weights of a robust least-squares
% frequency-invariant polynomial (RLSFIP) filter-and-sum beamformer.
%
% Inputs:
% N: Number of sensors or actors
% spacing: spacing between micophones or radius of array [meters]
% 0 => no... |
github | donchev7/MatlabCode-master | BF_Array_Geometry.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/Generalized_RLSFI_BF/BF_Array_Geometry.m | 3,633 | utf_8 | 64c0c8b993e6f54de5c7e419e83a2021 | %--------------------------------------------------------------------------
% Array Geometry
%--------------------------------------------------------------------------
function cfg = BF_Array_Geometry(cfg)
switch (cfg.geometry)
%--------------... |
github | donchev7/MatlabCode-master | InitLookDirVecORG.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/Generalized_RLSFI_BF/InitLookDirVecORG.m | 1,981 | utf_8 | b0fc2f7e82155795dd8f7868654fc46f | %--------------------------------------------------------------------------
% Look Direction Vector
%--------------------------------------------------------------------------
function [cfg] = InitLookDirVecORG(cfg)
switch(cfg.int_choice)
%------... |
github | donchev7/MatlabCode-master | InitLookDirVec.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/Generalized_RLSFI_BF/InitLookDirVec.m | 1,369 | utf_8 | 490d36417fc2b1298fc7d601dad26910 | %--------------------------------------------------------------------------
% Look Direction Vector
%--------------------------------------------------------------------------
function [local] = InitLookDirVec(cfg,local)
% create vector d
%d includes all vec... |
github | donchev7/MatlabCode-master | BF_Plot_BP.m | .m | MatlabCode-master/Desktop/Matlab_Code_Angabe/Generalized_RLSFI_BF/BF_Plot_BP.m | 10,041 | ibm852 | 360548fdc8e8d33735fe0fef2134445a | %--------------------------------------------------------------------------
% Plotting PBF Array Beampattern %
%--------------------------------------------------------------------------
% This function plots the resulting beampattern of the polynomial
% beamformer as well as th... |
github | donchev7/MatlabCode-master | estimate_cdr_nodiffuse.m | .m | MatlabCode-master/cdr-demo/estimate_cdr_nodiffuse.m | 1,396 | utf_8 | 43c131381f4fd4e5b552a8f25639bc4e | %ESTIMATE_CDR_NODIFFUSE
% Unbiased estimation of the Coherent-to-Diffuse Ratio (CDR) from the complex
% coherence of a mixed (noisy) signal, without assuming knowledge of the noise
% coherence. Equivalent to CDRprop4 in [1].
%
% CDR = estimate_cdr_nodiffuse(X, NaN, S)
% X: complex coherence of mixed (noisy) signa... |
github | donchev7/MatlabCode-master | estimate_cdr_robust_unbiased.m | .m | MatlabCode-master/cdr-demo/estimate_cdr_robust_unbiased.m | 1,614 | utf_8 | cd460a3538aae3a4bcb2f0eb44bbe582 | %ESTIMATE_CDR_ROBUST_UNBIASED
% Unbiased estimation of the Coherent-to-Diffuse Ratio (CDR) from the complex
% coherence of a mixed (noisy) signal, using knowledge of both signal and noise
% coherence. This is a variation of estimate_cdr_unbiased which shows better
% performance in practice. Equivalent to CDRprop2 in [1... |
github | donchev7/MatlabCode-master | estimate_cdr_nodoa.m | .m | MatlabCode-master/cdr-demo/estimate_cdr_nodoa.m | 1,389 | utf_8 | b12850a707e91ffd8c8be07b04f04121 | %ESTIMATE_CDR_NODOA
% Blind (DOA-independent), unbiased estimation of the Coherent-to-Diffuse Ratio (CDR)
% from the complex coherence of a mixed (noisy) signal. Equivalent to CDRprop3 in [1].
%
% CDR = estimate_cdr_nodoa(Cxx, Cnn)
% Cxx: complex coherence of mixed (noisy) signal
% Cnn: coherence of noise ... |
github | donchev7/MatlabCode-master | estimate_cdr_unbiased.m | .m | MatlabCode-master/cdr-demo/estimate_cdr_unbiased.m | 1,446 | utf_8 | 0c57df9c844aec6695d9f99e28e8f4c2 | %ESTIMATE_CDR_UNBIASED
% Unbiased estimation of the Coherent-to-Diffuse Ratio (CDR) from the complex
% coherence of a mixed (noisy) signal, using knowledge of both signal and noise
% coherence. Equivalent to CDRprop1 in [1].
%
% CDR = estimate_cdr_nodiffuse(X, N, S)
% X: complex coherence of mixed (noisy) signal
... |
github | donchev7/MatlabCode-master | estimate_delay_gcc_phat.m | .m | MatlabCode-master/cdr-demo/lib/estimate_delay_gcc_phat.m | 787 | utf_8 | 2e7e08ecee1ab7c234ed1462ea89eab0 | %ESTIMATE_DELAY_GCC_PHAT Delay estimation using GCC-PHAT.
%
% Estimates the delay between two signals using the GCC-PHAT method.
% Returns the delay
% in samples.
%
% Andreas Schwarz (andreas.schwarz@fau.de), Dec. 2014
function shift = estimate_delay_gcc_phat(x1,x2)
factor = 20; % oversampling (padding) factor to inc... |
github | donchev7/MatlabCode-master | spectral_subtraction.m | .m | MatlabCode-master/cdr-demo/lib/spectral_subtraction.m | 867 | utf_8 | e1c1554ffadfa5ec0f73ab2c6b196574 | %SPECTRAL_SUBTRACTION Compute spectral subtraction weights.
%
% weights = spectral_subtraction(SNR,alpha,beta,mu,Gmin)
%
% alpha = 1; beta = 1; % power subtraction
% alpha = 2; beta = 0.5; % magnitude subtraction
% alpha = 2; beta = 1; % Wiener filter
% mu: noise overestimation
% Gmin: gain floor
%
% Andr... |
github | zhenglab/caffe-master | prepare_batch.m | .m | caffe-master/matlab/caffe/prepare_batch.m | 1,298 | utf_8 | 68088231982895c248aef25b4886eab0 | % ------------------------------------------------------------------------
function images = prepare_batch(image_files,IMAGE_MEAN,batch_size)
% ------------------------------------------------------------------------
if nargin < 2
d = load('ilsvrc_2012_mean');
IMAGE_MEAN = d.image_mean;
end
num_images = length... |
github | zhenglab/caffe-master | matcaffe_demo_vgg.m | .m | caffe-master/matlab/caffe/matcaffe_demo_vgg.m | 3,036 | utf_8 | f836eefad26027ac1be6e24421b59543 | function scores = matcaffe_demo_vgg(im, use_gpu, model_def_file, model_file, mean_file)
% scores = matcaffe_demo_vgg(im, use_gpu, model_def_file, model_file, mean_file)
%
% Demo of the matlab wrapper using the networks described in the BMVC-2014 paper "Return of the Devil in the Details: Delving Deep into Convolutional... |
github | zhenglab/caffe-master | matcaffe_demo.m | .m | caffe-master/matlab/caffe/matcaffe_demo.m | 3,344 | utf_8 | 669622769508a684210d164ac749a614 | function [scores, maxlabel] = matcaffe_demo(im, use_gpu)
% scores = matcaffe_demo(im, use_gpu)
%
% Demo of the matlab wrapper using the ILSVRC network.
%
% input
% im color image as uint8 HxWx3
% use_gpu 1 to use the GPU, 0 to use the CPU
%
% output
% scores 1000-dimensional ILSVRC score vector
%
% You m... |
github | zhenglab/caffe-master | matcaffe_demo_vgg_mean_pix.m | .m | caffe-master/matlab/caffe/matcaffe_demo_vgg_mean_pix.m | 3,069 | utf_8 | 04b831d0f205ef0932c4f3cfa930d6f9 | function scores = matcaffe_demo_vgg_mean_pix(im, use_gpu, model_def_file, model_file)
% scores = matcaffe_demo_vgg(im, use_gpu, model_def_file, model_file)
%
% Demo of the matlab wrapper based on the networks used for the "VGG" entry
% in the ILSVRC-2014 competition and described in the tech. report
% "Very Deep Convo... |
github | breadboardist/HDL-Designs-master | dec2q.m | .m | HDL-Designs-master/FIR Filter/MATLAB/dec2q.m | 316 | utf_8 | b70b482ffa0db9a4a37e79889f04b19e | %Function to convert floating point to Q format
function [y]=dec2q(x,form,m,n)
option = {'mode','roundmode', 'overflowmode', 'format'};
value = {'fixed','ceil','saturate',[m n]};
q = quantizer(option,value);
if form == 'bin'
y=num2bin(q,x);
end;
if form == 'hex'
y=num2hex(q,x);
end;
end |
github | breadboardist/HDL-Designs-master | sampdata.m | .m | HDL-Designs-master/FIR Filter/MATLAB/sampdata.m | 687 | utf_8 | 81b5481725e0bf1930fb5fd33a23f556 | % y = sampdata;
%
% This function returns a test sample data set to be used for
% signal processing problems.
%
function y4 = sampdata(xlen)
ntaps = 65; % Design filter to make the data band limited.
f = [0.0 0.9 0.95 1.0];
mag = [ 1.0 1.0 0.7071 0.0];
b = fir2(ntaps, f, mag);
a = 1.0;
t = lins... |
github | breadboardist/HDL-Designs-master | q2dec.m | .m | HDL-Designs-master/FIR Filter/MATLAB/q2dec.m | 309 | utf_8 | f11e4d22099901c39229ae4b671bf1e8 | %Function to Q format to floating point
function [y]=q2dec(x,form,m,n)
if (form == 'hex')
x=hex2dec(x);
x=dec2bin(x,m);
end;
option = {'mode','roundmode','overflowmode','format'};
value = {'fixed','ceil','saturate',[m n]};
q = quantizer(option,value);
y = bin2num(q,x);
end
|
github | YonatanRosen/motifs-count-package-master | ObjectCreateGraph.m | .m | motifs-count-package-master/Graph/ObjectCreateGraph.m | 4,679 | utf_8 | 25c16580f01f4a0cae624e8749804736 | function [Graph, varargout]= ObjectCreateGraph(LinksData,Signature,varargin)
% Creats a standatized object representing general two-directional Graph
%
% Receives:
% LinksData - matrix Nx2 - (optional) List of N directed links. Each link is weighted equally
% matrix Nx3 -... |
github | YonatanRosen/motifs-count-package-master | GraphLoad.m | .m | motifs-count-package-master/Graph/GraphLoad.m | 3,783 | utf_8 | 7e1bd2a1027d17f12f5cf393493426a9 | function [Graph,varargout] = GraphLoad(FileName,IndexFileName,SkipSqueeze,varargin)
% Loads a graph from file
%
% Receives:
% FileName - string - the file to load
% Nx2 of integers - the actual links
% IndexFileName - string - (optional) the name of the fil... |
github | YonatanRosen/motifs-count-package-master | ObjectCreate.m | .m | motifs-count-package-master/Graph/ObjectCreate.m | 1,630 | utf_8 | 33ed03278cf243b10d498e5bb8f762f6 | function Data = ObjectCreate(varargin)
% Creats a standatized object (structure) for data processing
%
% Receives:
% varargin - FLEX IO - The input is in FlexIO format. The following parameters are allowed:
% Parameter Name | Type | Optional ... |
github | YonatanRosen/motifs-count-package-master | mexGraph4MotifColored.m | .m | motifs-count-package-master/motifs 4 source files/mexGraph4MotifColored.m | 1,089 | utf_8 | 23f9b623283b086d532ca074d2cad62c | % function Out=mexGraph4MotifColored(G,NodeColors2D)
% Input:
% G is a Graph object
% NodeColors2D is a Nx2 matrix of [NodeID ColorID]
% Output:
function Out=mexGraph4MotifColored(G,NodeColors2D)
m=mex4ColorMotifs(G,NodeColors2D);
n=size(m,1);
K4=zeros(n,4);
nColors=max(NodeColors2D(:,2));
for i=1:n
K4(i,1:4)=Num2B... |
github | AlfredXiangWu/matlab_misc-master | non_maximum_suppression.m | .m | matlab_misc-master/face_detection/non_maximum_suppression.m | 1,242 | utf_8 | 3c84ad1547e16e9b15d8322018651496 | %% non maximum suppression
% input:
% - bounding_boxes: [x, y]xn
% - overlap_thr: threshold
% output:
% - box: [x1, y1, x2, y2];
% - flag: 1 or 0
function boxes = non_maximum_suppression(bounding_boxes, overlap_thr)
% init
x1 = bounding_boxes(:, 1);
y1 = bounding_boxes(:, 2);... |
github | AlfredXiangWu/matlab_misc-master | YTF_evaluation.m | .m | matlab_misc-master/face_verification/evaluation/src/YTF/YTF_evaluation.m | 1,524 | utf_8 | b273a127917197005d62328577323c32 | function [ap, roc] = YTF_evaluation(features, class)
load('YTF_pairs.mat');
features = features ./ repmat(sqrt(sum(features'.^2))', 1, size(features, 2));
for i = 1:length(labels)
temp1 = [];
temp2 = [];
idx1 = pairs(i, 1) - 1;
idx2 = pairs(i, 2) - 1;
... |
github | AlfredXiangWu/matlab_misc-master | vl_roc.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/vl_roc.m | 10,161 | utf_8 | 1a2dd324e9332fc31af31dfb41425776 | function [tpr,tnr,info] = vl_roc(labels, scores, varargin)
%VL_ROC ROC curve.
% [TPR,TNR] = VL_ROC(LABELS, SCORES) computes the Receiver Operating
% Characteristic (ROC) curve. LABELS are the ground truth labels,
% greather than zero for a positive sample and smaller than zero for
% a negative one. SCORES are... |
github | AlfredXiangWu/matlab_misc-master | vl_pr.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/vl_pr.m | 9,135 | utf_8 | c5d1b9d67f843d10c0b2c6b48fab3c53 | function [recall, precision, info] = vl_pr(labels, scores, varargin)
%VL_PR Precision-recall curve.
% [RECALL, PRECISION] = VL_PR(LABELS, SCORES) computes the
% precision-recall (PR) curve. LABELS are the ground truth labels,
% greather than zero for a positive sample and smaller than zero for
% a negative on... |
github | AlfredXiangWu/matlab_misc-master | evaluate.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/+evaluation/evaluate.m | 794 | utf_8 | 314cb210d3873a7ed213132bfdb21993 | % Copyright (c) 2014, Karen Simonyan
% All rights reserved.
% This code is made available under the terms of the BSD license (see COPYING file).
function result = evaluate(config, scores, gt)
scores = reshape(scores, 1, []);
switch config
case 'ap'
[res, extra] = evaluation.ap.ev... |
github | AlfredXiangWu/matlab_misc-master | eval_best.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/+evaluation/+accuracy/eval_best.m | 760 | utf_8 | d6b2827fa8c6d71da9202777323361a7 | % Copyright (c) 2014, Karen Simonyan
% All rights reserved.
% This code is made available under the terms of the BSD license (see COPYING file).
function [res, extra] = eval_best(config, scores, gt)
% finds an optimal threshold - the threshold which maximises the accuracy
% threshold scores and get th... |
github | AlfredXiangWu/matlab_misc-master | eval.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/+evaluation/+accuracy/eval.m | 364 | utf_8 | 4c83bb71f43434ef3a659bc96f38cd50 | % Copyright (c) 2014, Karen Simonyan
% All rights reserved.
% This code is made available under the terms of the BSD license (see COPYING file).
function [res, extra] = eval(config, scores, gt)
% predicted labels
class = 2 * (scores >= config.threshold) - 1;
% class-n accuracy
res = mean(c... |
github | AlfredXiangWu/matlab_misc-master | eval.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/+evaluation/+ap/eval.m | 288 | utf_8 | 857d1a2eadc52f2dc2c02c62e5272211 | % Copyright (c) 2014, Karen Simonyan
% All rights reserved.
% This code is made available under the terms of the BSD license (see COPYING file).
function [res, extra] = eval(config, scores, gt)
[~,~,info] = vl_pr(gt, scores);
res = info.auc * 100;
extra = info;
end
|
github | AlfredXiangWu/matlab_misc-master | eval.m | .m | matlab_misc-master/face_verification/evaluation/src/lfw/verification/+evaluation/+roc/eval.m | 415 | utf_8 | 26bc17027058b476501887c08907e512 | % Copyright (c) 2014, Karen Simonyan
% All rights reserved.
% This code is made available under the terms of the BSD license (see COPYING file).
function [res, extra] = eval(config, scores, gt)
[~,~,info] = vl_roc(gt, scores);
% the accuracy at the ROC operating point where the error rates are equ... |
github | AlfredXiangWu/matlab_misc-master | face_db_align_patch.m | .m | matlab_misc-master/face_verification/data_preprocessing/WebFace/face_db_align_patch.m | 4,302 | utf_8 | 020b4e14c1794b3f5a3981f06dffc08a | function res = face_db_align_patch(face_dir, ffp_dir, ec_mc_y, ec_y, img_size, patch_size, save_dir)
% center of eyes (ec), center of l&r mouth(mc), rotate and resize
% ec_mc_y: y_mc-y_ec, diff of height of ec & mc, to scale the image.
% ec_y: top of ec, to crop the face.
crop_size = img_size;
% fid_log = fopen('log... |
github | AlfredXiangWu/matlab_misc-master | face_db_align.m | .m | matlab_misc-master/face_verification/data_preprocessing/YoutubeFace/face_db_align.m | 4,592 | utf_8 | 86e670f620c238bf274e7e491f239794 | function res = face_db_align(face_dir, ffp_dir, ec_mc_y, ec_y, img_size, save_dir)
% center of eyes (ec), center of l&r mouth(mc), rotate and resize
% ec_mc_y: y_mc-y_ec, diff of height of ec & mc, to scale the image.
% ec_y: top of ec, to crop the face.
crop_size = img_size;
subdir = dir(face_dir);
for i=1: length... |
github | AlfredXiangWu/matlab_misc-master | face_verif_dataset_gen.m | .m | matlab_misc-master/face_verification/data_preprocessing/IJB-A/face_verif_dataset_gen.m | 1,599 | utf_8 | cfc9d2adc0a1833efac08e1d6f1a2277 | %% This program is used to crop the face images from IJB-A dataset for each split of verificaition tasks.
% This program is used "/face_detection/face_crop.m" program. Therefore, you should run
% addpath('../../../face_detection/).
function [] = face_verif_dataset_gen(img_data_path, meta_data_path, save_data_path, l... |
github | tknandu/HierarchicalRL-master | installRLGlue.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/installRLGlue.m | 6,029 | utf_8 | 53adc248e7215a6ea3c2e7ecb671cb15 | %Install the .m files and the Java codec somewhere, and add them to the path.
function installRLGlue(installLocation)
%This relies on the JVM running, but that's ok so does the whole codec.
pathSeparator=char(java.io.File.separator);
usingWindows=false;
if pathSeparator=='\'
usingWindows=true;
end
... |
github | tknandu/HierarchicalRL-master | skeleton_environment.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/skeleton/skeleton_environment.m | 4,348 | utf_8 | c5537315c1d7312f141057effc96eeb9 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | skeleton_experiment.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/skeleton/skeleton_experiment.m | 4,512 | utf_8 | f114a93de746eafac9cd86e3ebef0edf | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | runAllTogether.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/skeleton/runAllTogether.m | 1,747 | utf_8 | f87dd5c6c8cafa8788b8edb9dd68e339 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | skeleton_agent.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/skeleton/skeleton_agent.m | 3,304 | utf_8 | 421382e6a8477318d4d54c560c5b4718 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | sample_mines_environment.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/mines-sarsa-sample/sample_mines_environment.m | 12,598 | utf_8 | f5961c59a38d7992493c908c9134ee69 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License');
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | sample_experiment.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/mines-sarsa-sample/sample_experiment.m | 6,108 | utf_8 | feecbb9b363672a9073b80461ddcdd21 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | runAllTogether.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/mines-sarsa-sample/runAllTogether.m | 1,768 | utf_8 | 2431b1ec844d1bb8c8dfd1249fd059c0 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | sample_sarsa_agent.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/examples/mines-sarsa-sample/sample_sarsa_agent.m | 8,352 | utf_8 | 67fd6c05c1ade1f7d5e710aff8afa07a | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | runRLGlueMultiExperiment.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/runRLGlueMultiExperiment.m | 3,965 | utf_8 | c5f4d746520fa59d7d2b33fe0eb7db70 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | checkForJavaCodec.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/checkForJavaCodec.m | 3,175 | utf_8 | 0153bba35c719ad8624eeb41aa5b91d7 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | forceStandardRecv.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/forceStandardRecv.m | 1,183 | utf_8 | 1c36ae99a896097da2ad1fc22ea1efa8 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | RL_num_steps.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_num_steps.m | 1,213 | utf_8 | b2936a590be56441b4aa862e63c8a946 | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
github | tknandu/HierarchicalRL-master | RL_return.m | .m | HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_return.m | 1,208 | utf_8 | a405848f986c0e6050ddce66b7db3cfe | % Copyright 2008 Brian Tanner
% http://rl-glue-ext.googlecode.com/
% brian@tannerpages.com
% http://research.tannerpages.com
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.