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 | Space-at-VT/Quad_CV-SLAM-master | compute_p.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MultiViewGeometry_functions/compute_p.m | 3,278 | utf_8 | bfd3d7f0f488d3781a2efc30bf6a20d3 | function P = compute_p( x, Xw )
% Estimate the camera projection P best fitting
% 3D points X and observed image points W
% Author : Matt Dailey, June 2007
% Modified by:Apisit A. July 2009
% Check args
if nargin ~= 2
error( 'Usage: compute_p( x, Xw )' );
end;
n = size( Xw, 2 );
if size( x, 2 )... |
github | Space-at-VT/Quad_CV-SLAM-master | Triangulation.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MultiViewGeometry_functions/Triangulation.m | 1,127 | utf_8 | 15201836ea9075b8dc8725ab1b7c1e33 | %Find Point in 3D space from given x1,P1,x2,P2
% [x1] * P1 * Xw = 0
% [x2] * P2 * Xw = 0
% Let [A]*[Xw;Xw] = [0;0]
% Find [U,D,V] = SVD(A), Xw is last column of V
function Xw = Triangulation(x1,P1,x2,P2)
% Argument
% x1,x2 = Point in 2D space [x1,...,xn ; y1,...,yn ; 1,...,1]
% P1,P2 = Project... |
github | Space-at-VT/Quad_CV-SLAM-master | getCameraMatrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MultiViewGeometry_functions/getCameraMatrix.m | 1,707 | utf_8 | c669789c5e1000ae7cc101d3519e4614 | % getCameraMatrix - Given an essential matrix, compute the second camera
% matrix
%
%
% Given the essential matrix, it is decomposed and 4 possible camera
% matrices are calculated for the second camera.
%
%
% Input - E -> 3x3 essential matrix
%
% Output - P -> 3x4x4 Camera matrices (rotation and translation)
%
%
... |
github | Space-at-VT/Quad_CV-SLAM-master | classification_demo.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/mexopencv-master/samples/classification_demo.m | 1,748 | utf_8 | 3e0b46419f3d88c4367cbd411fed7fb2 | function classification_demo
%CLASSIFICATION_DEMO classification demo
%
% This demonstrates an example of machine learning algorithms in a simple
% classification problem. It compares different classifiers using the same
% data samples.
%
% Before start, addpath('/path/to/mexopencv');
%
% Prepare data: there are two ... |
github | Space-at-VT/Quad_CV-SLAM-master | make.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/mexopencv-master/+mexopencv/make.m | 13,505 | utf_8 | bf520feb759e132a1a74c4559acba924 | function make(varargin)
%MAKE Compile MEX-functions
%
% mexopencv.make
% mexopencv.make('OptionName', optionValue, ...)
%
% Make builds mexopencv library. In Unix, this function invokes Makefile
% in the project root. In Windows, the function takes an optional argument
% to specify installed OpenCV path.
%
% ## ... |
github | janklab/janklab-core-main | package_toolbox.m | .m | janklab-core-main/package_toolbox.m | 1,211 | utf_8 | 8c4cd313f33cb2c69fb10b3d71b6c22b | function package_toolbox
% Packages this toolbox as a Matlab Toolbox .mltbx file
%
% package_toolbox
%
% The project must be loaded on to the Matlab path in order for this to work.
tbxInfo = toolbox_info;
tbxName = tbxInfo.name;
if ~isfolder('dist')
mkdir('dist');
end
% Munge the project file
% Toolboxes don't sup... |
github | janklab/janklab-core-main | DataArray.m | .m | janklab-core-main/Mcode/classes/DataArray.m | 42,692 | utf_8 | a43115b864f6dcdf6b32225c94740f50 | classdef (Sealed) DataArray
%DataArray A multidimensional array with labeled indexes along its dims
%
% An DataArray is a multidimensional array that has coords along its
% dimensions. This allows you to label the positions along each dimension
% with significant domain/business values, instead of just using ... |
github | janklab/janklab-core-main | janklab.m | .m | janklab-core-main/Mcode/classes/+jl/janklab.m | 2,447 | utf_8 | adb74581cc8027f46043f15be81e88c2 | classdef janklab
%JANKLAB Central info and management for the Janklab library
methods(Static)
function init_janklab
%INIT_JANKLAB Runs Janklab initialization code
%
% This is for Janklab's internal use, to be called by the top-level
% INIT_JANKLAB.
% Do not call it yourself... |
github | janklab/janklab-core-main | view.m | .m | janklab-core-main/Mcode/classes/+jl/view.m | 1,893 | utf_8 | 9d285f7f1785c5765175ed2b5c0226ed | function view(x, varargin)
%VIEW View a data structure in a desktop GUI view window
%
% jl.view(x)
%
% Views the data structure X in a new window (possibly a figure window, possibly
% not). The type of display is dependent on the type of input.
%
% This function is intended for interactive use.
if isa(x, 'tabular')
... |
github | janklab/janklab-core-main | dumbView.m | .m | janklab-core-main/Mcode/classes/+jl/+ui/dumbView.m | 2,197 | utf_8 | f0ee2b39d99a04d80d15704cdf013460 | function dumbView(x)
%DUMBVIEW Show a simple viewer UI for the input data
%
% jl.ui.dumbView(x)
%
% Display a simple view of the given object in a new GUI window.
%
% This is just a placeholder for future functions. It is likey to be replaced
% and removed.
% Input conversions
if isnumeric(x)
if ~ismatrix(x)
... |
github | janklab/janklab-core-main | inhtreeForClass.m | .m | janklab-core-main/Mcode/classes/+jl/+types/inhtreeForClass.m | 1,928 | utf_8 | 692efa7fbe7b0b8a1c3c69d81a15450b | function inhtreeForClass(className)
%INHTREEFORCLASS Display inverse inheritance tree for named class
%
% See also:
% INHTREE
% This is a hack to allow you to pass in a class object directly, for
% convenience.
if isa(className, 'java.lang.Class')
klass = className;
tree = inhtreeForJavaClass(klass);
tree.... |
github | janklab/janklab-core-main | uuid.m | .m | janklab-core-main/Mcode/classes/+jl/+code/uuid.m | 17,017 | utf_8 | 7cf5a82c77d815ca7f3726f21471b041 | classdef uuid < jl.util.Displayable
%UUID An example UUID implementation using planar codegen
%
% Examples:
%
% @planarprecedence(hiBits, loBits)
properties
hiBits uint64 % @planar
loBits uint64 % @planar
isNaN logical = true % @planar @planarnanflag
end
... |
github | janklab/janklab-core-main | PlanarClassBase.m | .m | janklab-core-main/Mcode/classes/+jl/+code/PlanarClassBase.m | 21,710 | utf_8 | ab88127a4ebb93791621315eda18b869 | classdef (Abstract) PlanarClassBase
%PLANARCLASSBASE Abstract base class implementation for planar classes
%
% This class provides the logic for structural operations, set
% operations, and relational operations.
%
% Subclasses must implement:
% getPlanarFields()
% asgnPlanarFields()... |
github | janklab/janklab-core-main | CodeBase.m | .m | janklab-core-main/Mcode/classes/+jl/+code/CodeBase.m | 2,360 | utf_8 | 278079fedabc8802741ef8031573e931 | classdef CodeBase
%CODEBASE Analyzes an Mcode codebase
properties
% Paths to the code roots of this code base
paths = {};
% CodeRoot objects for the code roots
codeRoots jl.code.internal.CodeRoot
end
methods
function this = CodeBase(paths)
if nar... |
github | janklab/janklab-core-main | TestTwoFields.m | .m | janklab-core-main/Mcode/classes/+jl/+code/TestTwoFields.m | 19,450 | utf_8 | 279df3b1c584701631a1061cb7a72625 | classdef TestTwoFields
% @planarprecedence(foo, bar)
properties
foo = NaN; % @planar
bar = NaN; % @planar
end
methods
function this = TestTwoFields(foo, bar)
if nargin == 0
return;
end
this.foo = foo;
this.bar = bar;
... |
github | janklab/janklab-core-main | PlanarClassGenerator.m | .m | janklab-core-main/Mcode/classes/+jl/+code/+internal/PlanarClassGenerator.m | 45,342 | utf_8 | 93f41a036c6a83eda3ed0781c55136cc | classdef PlanarClassGenerator
%PLANARCLASSGENERATOR Generates boilerplate code for a planar-organized class
properties
boilerplateHeader string = '%%%%% START PLANAR-CLASS BOILERPLATE CODE %%%%%';
boilerplateFooter string = '%%%%% END PLANAR-CLASS BOILERPLATE CODE %%%%%';
boilerplateLocalFcnHeader st... |
github | janklab/janklab-core-main | CodeRoot.m | .m | janklab-core-main/Mcode/classes/+jl/+code/+internal/CodeRoot.m | 2,618 | utf_8 | 872316b46a554aa9a47ea7461fc1dbce | classdef CodeRoot
%CODEROOT Analyzes an Mcode codebase with a single source directory
properties
% The path to the root of the source tree
path
% A label for this code root to distinguish it from others
label char = '';
end
methods
function this = CodeRo... |
github | janklab/janklab-core-main | McodeFileParser.m | .m | janklab-core-main/Mcode/classes/+jl/+code/+internal/McodeFileParser.m | 2,952 | utf_8 | fbb3f38d366a235cc706995cd9668233 | classdef McodeFileParser
%MCODEFILEPARSER A very simple Mcode parser
%
% This is a parser that can extract a few pieces of information from an
% Mcode file. It does not understand the full grammar by any means; just
% enough to tell things like whether the file looks like a class, function,
% or... |
github | janklab/janklab-core-main | FtpClient.m | .m | janklab-core-main/Mcode/classes/+jl/+net/+ftp/FtpClient.m | 17,210 | utf_8 | 934a5fa944d04a6225d663a242f64146 | classdef FtpClient < handle
% FtpClient An alternative FTP client that supports PASV and other stuff
%
% jl.net.ftp.FtpClient is an FTP client that is an alternative to
% Matlab's own @ftp class. FtpClient supports the PASV and some other
% stuff.
%
% The interface for FtpClient is similar to Matlab's @ft... |
github | janklab/janklab-core-main | SpDb.m | .m | janklab-core-main/Mcode/classes/+jl/+examples/+table/SpDb.m | 1,806 | utf_8 | b6e669216f9fa1671791a83273afc056 | function varargout = SpDb
%SPDB The classic suppliers-parts example database
%
% s = jl.examples.table.SpDb
% [s, p, sp] = jl.examples.table.SpDb
%
% Constructs the classic C. J. Date Suppliers-Parts ("SP") example database
% as tables. This is the main example used in Date's "An Introduction to
% Database Systems" tex... |
github | janklab/janklab-core-main | parseOpts.m | .m | janklab-core-main/Mcode/classes/+jl/+util/parseOpts.m | 895 | utf_8 | 05ad51427b6a6ab49252bce621e15b83 | function out = parseOpts(opts, defaults)
%PARSEOPTS Parse a Janklab-style "option" argument
%
% out = jl.util.parseOpts(opts, defaults)
%
% Parses a Janklab-style "option" argument into a struct, optionally applying
% defaults. Generally you will want to supply a defaults with all fields
% present, so you don't have to... |
github | janklab/janklab-core-main | ZipEntry.m | .m | janklab-core-main/Mcode/classes/+jl/+util/ZipEntry.m | 4,221 | utf_8 | 1e022b2ff2b789b5df3f28c971ecf77d | classdef ZipEntry < jl.util.DisplayableHandle
%#ok<*PROP>
properties (Constant, Hidden)
UnixEpoch = datenum('1/1/1970');
end
properties (SetAccess = private)
% The underlying java.util.zip.ZipEntry object
j
end
properties (Dependent)
comment
compressedSize
crc
creatio... |
github | janklab/janklab-core-main | java.m | .m | janklab-core-main/Mcode/classes/+jl/+util/java.m | 9,266 | utf_8 | ce1228fbb84187059a94b18e64def1c3 | classdef java
%JAVA Java-related utilities
%
% Note: the methods with "private" in their names are dirty tricks that
% violate encapsulation and may break things. You probably shouldn't use
% them.
methods (Static)
function out = classForName(name)
% Get the java.lang.Class metaclass for a... |
github | janklab/janklab-core-main | Process.m | .m | janklab-core-main/Mcode/classes/+jl/+util/Process.m | 7,156 | utf_8 | 40142b17943327707927a10b50712c11 | classdef Process < jl.util.DisplayableHandle
% Process An external process that you can control and interact with
%
% This class allows you to create, control, and interact with a
% subprocess using M-code. This differs from the system() and ! commands
% in that your M-code can interact with the process while... |
github | janklab/janklab-core-main | ProcessBuilder.m | .m | janklab-core-main/Mcode/classes/+jl/+util/ProcessBuilder.m | 8,565 | utf_8 | b22df7dec33102a21a61480ba90f5566 | classdef ProcessBuilder < jl.util.DisplayableHandle
% ProcessBuilder Launcher for processes with redirection, env, etc
%
% A ProcessBuilder lets you build up a new Process with input/output
% redirection, environment setting, and so on. This is what you use if
% you want more control over your process's behav... |
github | janklab/janklab-core-main | tables.m | .m | janklab-core-main/Mcode/classes/+jl/+util/tables.m | 10,306 | utf_8 | a8970e3467b21d2642ab3f111000d69c | classdef tables
%TABLES Utilities for working with table objects
methods (Static = true)
function out = tableFromVectors(varargin)
%TABLEFROMVECTORS Construct a table from row or column vector inputs
%
% out = tableFromVectors(A, B, C, ...)
%
... |
github | janklab/janklab-core-main | DisplayableHandle.m | .m | janklab-core-main/Mcode/classes/+jl/+util/DisplayableHandle.m | 2,001 | utf_8 | e176deb0074a97735ca04d2c3bb36f6e | classdef DisplayableHandle < handle
%DISPLAYABLEHANDLE A mixin for defining custom display format using dispstrs()
%
% This defines custom disp(), display(), and dispstr() behavior in terms of
% dispstrs().
%
% Classes inheriting from this should implement a dispstrs() that conforms
% to its standard sign... |
github | janklab/janklab-core-main | Displayable.m | .m | janklab-core-main/Mcode/classes/+jl/+util/Displayable.m | 2,674 | utf_8 | b1ef8a2add4bd9b0ff848844346c9530 | classdef Displayable
%DISPLAYABLE A mixin for defining custom display format using dispstrs()
%
% This defines custom disp(), display(), and dispstr() behavior in terms of
% dispstrs().
%
% Classes inheriting from this should implement a dispstrs() that conforms
% to its standard signature.
%
% See al... |
github | janklab/janklab-core-main | CsvTableReader.m | .m | janklab-core-main/Mcode/classes/+jl/+etl/CsvTableReader.m | 6,535 | utf_8 | 66e41c6296e5b6f342bec3cb91e0b8f1 | classdef CsvTableReader < handle
%CSVTABLEREADER Can read tabular data from CSV files
%
% The CsvTableReader can read tabular data from CSV files or other CSV data
% sources. It is intended as an improvement on Matlab's csvread() function. It
% provides support for additional column types, including... |
github | janklab/janklab-core-main | CellRangeAddress.m | .m | janklab-core-main/Mcode/classes/+jl/+office/+excel/CellRangeAddress.m | 7,301 | utf_8 | 7a596cc6c2ba3805310c26f645e0b732 | classdef CellRangeAddress < jl.util.DisplayableHandle
% The address of a range of cells
%
% A CellRangeAddress specifies a range of cells (without specifying what sheet
% they are on), in terms of the starting and ending row and column.
%
% CellRangeAddress knows how to handle both numeric (row m, col n) an... |
github | janklab/janklab-core-main | Sheet.m | .m | janklab-core-main/Mcode/classes/+jl/+office/+excel/Sheet.m | 26,014 | utf_8 | 126bd25542e8fe23e18d7304c22b64a0 | classdef (Abstract) Sheet < jl.util.DisplayableHandle
% A sheet (worksheet) in an Excel workbook
% TODO: readTable()
% TODO: setAutoFilter
properties (SetAccess = protected)
% The underlying POI XSSFSheet object
j
% The parent workbook
workbook
% A FriendlyCellView into this sheet, whi... |
github | janklab/janklab-core-main | Connection.m | .m | janklab-core-main/Mcode/classes/+jl/+sql/Connection.m | 15,657 | utf_8 | f940b23001bf980cdc9bb8df8305ece0 | classdef Connection < handle
% A connection to a database
%
%
% Dev note: A Connection object "owns" the underlying jlConn and jdbConn
% objects. It will close them upon cleanup, and they cannot be shared with
% other objects.
properties
% The underlying janklab-java MDBC J... |
github | janklab/janklab-core-main | QueryBuilder.m | .m | janklab-core-main/Mcode/classes/+jl/+sql/QueryBuilder.m | 9,185 | utf_8 | 1c59f3cb0f8aaecdb3ef00c7e9472e0d | classdef QueryBuilder
%QUERYBUILDER Incrementally construct SQL queries
%
% This is like a sentence diagram for a simple SQL query. It
% lets you construct queries programmatically by conditionally adding
% items to each of the clauses in the query.
%
% The QueryBuilder represents an SQL sta... |
github | janklab/janklab-core-main | localtime.m | .m | janklab-core-main/Mcode/classes/+jl/+time/localtime.m | 15,178 | utf_8 | bcec030623cbfb51140c4b5312f83e6a | classdef localtime
%LOCALTIME A time of day, without a time zone.
%
% A localtime is a local (wall) time of day, without a time zone. It is precise to
% the nanosecond.
%
% The range is from 00:00:00 to 24:00:00. 24:00:00 is not necessarily
% well-defined, but it is included for compatibility with other systems
... |
github | janklab/janklab-core-main | localdate.m | .m | janklab-core-main/Mcode/classes/+jl/+time/localdate.m | 17,677 | utf_8 | 43afe2348e1bef4d4b8b79fa12da8edf | classdef localdate < jl.util.Displayable
%LOCALDATE A calendar date
%
% A calendar date without a time zone in the ISO-8601 calendar system.
%
% A LOCALDATE represents an entire calendar day, as opposed to a specific instant
% in time. A LOCALDATE has no time zone or time of day components. It is
% useful... |
github | janklab/janklab-core-main | bigdecimal.m | .m | janklab-core-main/Mcode/classes/+jl/+datastruct/bigdecimal.m | 8,417 | utf_8 | 5e6c9c6d904c7c5c4f9c49bf569cadd7 | classdef bigdecimal
%BIGDECIMAL Arbitrary-precision decimal values
%
% Bigdecimal represents arbitrary-precision exact decimal values. (As
% opposed to the approximate binary types double and float.)
%
% Bigdecimal is *slow*. It is much slower than doubles. Only use it if you
% really need it. Its major purpose ... |
github | janklab/janklab-core-main | NaryTree.m | .m | janklab-core-main/Mcode/classes/+jl/+datastruct/NaryTree.m | 2,369 | utf_8 | d93154dcc4ad9022c92b995ef1180bb0 | classdef NaryTree
%NARYTREE An n-ary tree, holding values at its nodes
%
% "N-ary" means that each node can have any number of children.
properties
rootNode jl.datastruct.NaryTreeNode
end
methods
function this = NaryTree(rootNode)
%NARYTREE Construct a new NaryT... |
github | janklab/janklab-core-main | init_janklab.m | .m | janklab-core-main/Mcode/toplevel/init_janklab.m | 4,072 | utf_8 | c62a3e341f48c2360f1a20b219e9006d | function init_janklab
% Detect Matlab vs Octave
v = ver;
ver_names = {v.Name};
is_octave = ismember('Octave', ver_names);
if ~is_octave
if verLessThan('matlab', '9.3.0')
error('Janklab requires Matlab version 9.3.0 (R2017b) or later. This is version %s.', ...
version);
end
end
% Get source files ... |
github | janklab/janklab-core-main | nop.m | .m | janklab-core-main/Mcode/toplevel/nop.m | 661 | utf_8 | b1d9bb9692906447b0242b17a455f9f8 | <<<<<<< HEAD
function nop(varargin)
%NOP Do nothing
%
% nop()
%
% NOP is a do-nothing ("no op") function that accepts any number of arguments
% and does nothing with them. This is useful as a placeholder or callback.
% Intentionally left blank
=======
function nop(varargin)
%NOP Do nothing
%
% Nop (short for no-ope... |
github | janklab/janklab-core-main | sprintfj.m | .m | janklab-core-main/Mcode/toplevel/sprintfj.m | 2,791 | utf_8 | e5e711975a68b3973440a87fa2255992 | function out = sprintfj(fmt, varargin)
% sprintff Sprintf, but using Java's extended formatting support
%
% out = sprintff(fmt, varargin)
%
% This lets you call sprintf in a way that uses Java's sprintf formatting
% (from java.lang.String.format) instead of Matlab's built-in sprintf. This
% supports formatting extensio... |
github | janklab/janklab-core-main | totable.m | .m | janklab-core-main/Mcode/toplevel/totable.m | 9,764 | utf_8 | 12a58c56c08d5068dc072bff974ccb4a | function out = totable(varargin)
% "To Table": convenience function for creating table arrays from other arrays.
%
% out = totable(aTable)
% out = totable(aDataset)
% out = totable(aStruct)
% out = totable(aThing)
%
% out = totable(variableNames, aMatrix)
% out = totable(variableNames, variableTypes, aMatrix)
%
% DESCR... |
github | janklab/janklab-core-main | identityProxy.m | .m | janklab-core-main/Mcode/toplevel/identityProxy.m | 1,902 | utf_8 | 235a55dd211cec20dda466c788317e64 | function [outA, outB] = identityProxy(a, b)
%IDENTITYPROXY Proxy values for identity tests on a set of values
%
% [outA, outB] = identityProxy(a, b)
%
% Transforms the input arrays in to double arrays which can be used as proxy
% values for doing equality and ordering operations on the inputs. This is
% useful for impl... |
github | janklab/janklab-core-main | mat2strjl.m | .m | janklab-core-main/Mcode/toplevel/mat2strjl.m | 5,428 | utf_8 | 4ff10396f386c7d4294ca259f7a0d3dc | function out = mat2strjl(x)
%MAT2STRJL An extension of mat2str that works on more types
%
% out = mat2strjl(x)
%
% MAT2STRJL is just like mat2str, except it works on more types, including
% cells, structs, datetimes, and categoricals.
%
% WARNING: The datetime conversion here is lossy! The datetime values are
% rounded... |
github | janklab/janklab-core-main | benchmarkConnectionChurn.m | .m | janklab-core-main/examples/misc/mdbc/benchmarkConnectionChurn.m | 1,542 | utf_8 | 3787c3a530afb906042c44d80394e85a | function benchmarkConnectionChurn(connInfo, nRuns)
% Benchmark connection churn performance on a database
if nargin < 2; nRuns = []; end
if isempty(nRuns); nRuns = 500; end
% Bench the connections
% MDBC version
mdbc_times = benchmarkRun(nRuns, @connectDb, connInfo);
% Database Toolbox version
dbtb_times = benchmarkR... |
github | janklab/janklab-core-main | ThreeFieldPlanar.m | .m | janklab-core-main/tests/Mcode/+jl/+test/+code/ThreeFieldPlanar.m | 19,586 | utf_8 | 0e0c8c491fda89828c60ee88847ea383 | classdef ThreeFieldPlanar
% @planarprecedence(foo, bar, baz)
% @planarsetops
properties
foo = NaN % @planar
bar = NaN % @planar
baz = NaN % @planar
end
methods
function this = ThreeFieldPlanar(foo, bar, baz)
this.foo = foo;
this.bar = ba... |
github | janklab/janklab-core-main | OneFieldPlanar.m | .m | janklab-core-main/tests/Mcode/+jl/+test/+code/OneFieldPlanar.m | 16,736 | utf_8 | a3d32d66330ab3c601725682f8940dbb | classdef OneFieldPlanar
% @planarprecedence(foo)
% @planarsetops
properties
foo % @planar
end
%%%%% START PLANAR-CLASS BOILERPLATE CODE %%%%%
% This section contains code auto-generated by Janklab's genPlanarClass.
% Do not edit code in this section manually... |
github | janklab/janklab-core-main | listJarExtInfo.m | .m | janklab-core-main/lib/matlab/matlab-jarext-inspector/matlab-jarext-inspector-1.0.1/Mcode/listJarExtInfo.m | 7,454 | utf_8 | 6096929ff2da5351d7f7692a0d0c121a | function [out,fullResults] = listJarExtInfo
%LISTJAREXTINFO Get info about the "external" JARs included with Matlab
%
% [out,fullResults] = jl.mlintrospect.listJarExtInfo
%
% Lists info about all the external (third-party) Java library JARs bundled
% with this distribution of Matlab. This can be used to assess
% compat... |
github | janklab/janklab-core-main | version.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/Mcode/+logger/version.m | 1,418 | utf_8 | 9dc79acc9848829e57f0e4fd19c06180 | function out = version
% VERSION Get version info for SLF4M
%
% logger.version
% v = logger.version
%
% Gets version info for the SLF4M library.
%
% If return value is not captured, displays version info for SLF4M and related
% libraries to the console.
%
% If return value is captured, returns the version of the SLF4M ... |
github | janklab/janklab-core-main | Logger.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/Mcode/+logger/Logger.m | 8,135 | utf_8 | 57119f3cbe0a079c9383a7bf57defcfb | classdef Logger
%LOGGER Main entry point through which logging happens
%
% The Logger class provides method calls for performing logging, and the ability
% to look up loggers by name. This is the main entry point through which all
% SLF4M logging happens.
%
% Usually you don't need to intera... |
github | janklab/janklab-core-main | initSLF4M.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/Mcode/+logger/initSLF4M.m | 1,388 | utf_8 | f32658c6bcc10077d35f4d1f294a72ba | function initSLF4M
%INITSLF4M Initialize SLF4M
%
% This function must be called once before you use SLF4M.
%
% Alternately, you can manually ensure that Dispstr is on the Matlab
% path. That's all the initialization does.
thisFile = mfilename('fullpath');
distDir = fileparts(fileparts(fileparts(thisFile)));
libDir = f... |
github | janklab/janklab-core-main | dispstr.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/dispstr.m | 2,887 | utf_8 | 224f2577f790e9844d012749fb599a26 | function out = dispstr(x, options)
%DISPSTR Display string for arrays
%
% out = dispstr(x, options)
%
% This returns a one-line string representing the input value, in a format
% suitable for inclusion into multi-element output. The output describes the
% entire input array in a single string (as opposed to dumping all... |
github | janklab/janklab-core-main | dispstrs.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/dispstrs.m | 2,909 | utf_8 | b4e283be3b4c2e47347fce0737445f97 | function out = dispstrs(x)
%DISPSTRS Display strings for array elements
%
% out = dispstrs(x, options)
%
% DISPSTRS returns a cellstr array containing display strings that represent the
% values in the elements of x. These strings are concise, single-line strings
% suitable for incorporation into multi-element output. ... |
github | janklab/janklab-core-main | parseOpts.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/private/parseOpts.m | 850 | utf_8 | af43d5ff46f75e19e3eea41a6cdc30f3 | function out = parseOpts(opts, defaults)
%PARSEOPTS Parse a Janklab-style "option" argument
%
% out = parseOpts(opts, defaults)
%
% Parses a Janklab-style "option" argument into a struct, optionally applying
% defaults. Generally you will want to supply a defaults with all fields
% present, so you don't have to check f... |
github | janklab/janklab-core-main | cellrec.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/private/cellrec.m | 999 | utf_8 | 65a45400fe5e16cdf14b92604bbcdcf0 | function out = cellrec(x)
%CELLREC Convert to cellrec
%
% Converts the input value to a "cellrec". A cellrec is an n-by-2 cell
% array with names in the first column that represents a list of name/value
% pairs.
if isstruct(x)
if ~isscalar(x)
error('Non-scalar structs cannot be converted to cellrec');
... |
github | janklab/janklab-core-main | DisplayableHandle.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/+dispstrlib/DisplayableHandle.m | 2,370 | utf_8 | d8081b3fa4221ee2ebed5e29aa1475d3 | classdef DisplayableHandle < handle
% A mix-in class for custom display with dispstr() and dispstrs(), for handles
%
% To use this, inherit from it, and define a custom dispstrs() method. It
% will be picked up and used by dispstr() and disp(), which will also make
% display() respect it.
%
% Examples:
... |
github | janklab/janklab-core-main | Displayable.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/+dispstrlib/Displayable.m | 3,192 | utf_8 | 840380295a2a67be4cdeb125027f0274 | classdef Displayable
% A mix-in class for custom display with dispstr() and dispstrs()
%
% To use this, inherit from it, and define a custom dispstrs() method. It
% will be picked up and used by dispstr() and disp(), which will also make
% display() respect it.
%
% Examples:
%
% classdef Birthday < di... |
github | janklab/janklab-core-main | prettyprint_array.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/+dispstrlib/+internal/prettyprint_array.m | 1,318 | utf_8 | 5739a27585e8264f227558ed3fb2159f | function out = prettyprint_array(strs)
%PRETTYPRINT_ARRAY Pretty-print an array from dispstrs
%
% out = prettyprint_array(strs)
%
% strs (cellstr) is an array of display strings of any size.
if ismatrix(strs)
out = prettyprint_matrix(strs);
else
sz = size(strs);
high_sz = sz(3:end);
high_ixs = {};
... |
github | janklab/janklab-core-main | prettyprint_tabular.m | .m | janklab-core-main/lib/matlab/SLF4M/SLF4M-1.2.2/lib/matlab/dispstr/dispstr-1.1.0/Mcode/+dispstrlib/+internal/prettyprint_tabular.m | 1,804 | utf_8 | f1b23a8f10805df9261c9f3061b5db7f | function out = prettyprint_tabular(t)
%PRETTYPRINT_TABULAR Tabular implementation of prettyprint
%TODO: Probably put quotes around strings
varNames = t.Properties.VariableNames;
nVars = numel(varNames);
if nVars == 0
out = sprintf('%s table with zero variables', dispstrlib.internal.size2str(size(t)));
return;... |
github | janklab/janklab-core-main | dispstr.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/dispstr.m | 2,926 | utf_8 | 2660d7109558f362829c39f12e426532 | function out = dispstr(x, options)
%DISPSTR Display string for arrays
%
% out = dispstr(x, options)
%
% This returns a one-line string representing the input value, in a format
% suitable for inclusion into multi-element output. The output describes the
% entire input array in a single string (as opposed to dumping all... |
github | janklab/janklab-core-main | dispstrs.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/dispstrs.m | 2,909 | utf_8 | b4e283be3b4c2e47347fce0737445f97 | function out = dispstrs(x)
%DISPSTRS Display strings for array elements
%
% out = dispstrs(x, options)
%
% DISPSTRS returns a cellstr array containing display strings that represent the
% values in the elements of x. These strings are concise, single-line strings
% suitable for incorporation into multi-element output. ... |
github | janklab/janklab-core-main | parseOpts.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/private/parseOpts.m | 850 | utf_8 | af43d5ff46f75e19e3eea41a6cdc30f3 | function out = parseOpts(opts, defaults)
%PARSEOPTS Parse a Janklab-style "option" argument
%
% out = parseOpts(opts, defaults)
%
% Parses a Janklab-style "option" argument into a struct, optionally applying
% defaults. Generally you will want to supply a defaults with all fields
% present, so you don't have to check f... |
github | janklab/janklab-core-main | cellrec.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/private/cellrec.m | 999 | utf_8 | 65a45400fe5e16cdf14b92604bbcdcf0 | function out = cellrec(x)
%CELLREC Convert to cellrec
%
% Converts the input value to a "cellrec". A cellrec is an n-by-2 cell
% array with names in the first column that represents a list of name/value
% pairs.
if isstruct(x)
if ~isscalar(x)
error('Non-scalar structs cannot be converted to cellrec');
... |
github | janklab/janklab-core-main | DisplayableHandle.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/+dispstrlib/DisplayableHandle.m | 2,370 | utf_8 | d8081b3fa4221ee2ebed5e29aa1475d3 | classdef DisplayableHandle < handle
% A mix-in class for custom display with dispstr() and dispstrs(), for handles
%
% To use this, inherit from it, and define a custom dispstrs() method. It
% will be picked up and used by dispstr() and disp(), which will also make
% display() respect it.
%
% Examples:
... |
github | janklab/janklab-core-main | Displayable.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/+dispstrlib/Displayable.m | 3,192 | utf_8 | 840380295a2a67be4cdeb125027f0274 | classdef Displayable
% A mix-in class for custom display with dispstr() and dispstrs()
%
% To use this, inherit from it, and define a custom dispstrs() method. It
% will be picked up and used by dispstr() and disp(), which will also make
% display() respect it.
%
% Examples:
%
% classdef Birthday < di... |
github | janklab/janklab-core-main | prettyprint_array.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/+dispstrlib/+internal/prettyprint_array.m | 1,318 | utf_8 | 5739a27585e8264f227558ed3fb2159f | function out = prettyprint_array(strs)
%PRETTYPRINT_ARRAY Pretty-print an array from dispstrs
%
% out = prettyprint_array(strs)
%
% strs (cellstr) is an array of display strings of any size.
if ismatrix(strs)
out = prettyprint_matrix(strs);
else
sz = size(strs);
high_sz = sz(3:end);
high_ixs = {};
... |
github | janklab/janklab-core-main | prettyprint_tabular.m | .m | janklab-core-main/lib/matlab/dispstr/dispstr-1.1.1/Mcode/+dispstrlib/+internal/prettyprint_tabular.m | 1,804 | utf_8 | f1b23a8f10805df9261c9f3061b5db7f | function out = prettyprint_tabular(t)
%PRETTYPRINT_TABULAR Tabular implementation of prettyprint
%TODO: Probably put quotes around strings
varNames = t.Properties.VariableNames;
nVars = numel(varNames);
if nVars == 0
out = sprintf('%s table with zero variables', dispstrlib.internal.size2str(size(t)));
return;... |
github | janklab/janklab-core-main | SwingHacks.m | .m | janklab-core-main/dev-kit/Mcode/SwingHacks.m | 1,949 | utf_8 | 886b7365eb5e3eb9ae7997fea0f18c11 | classdef SwingHacks
%SWINGHACKS Utils for debugging Swing GUIs
%
% This entire class is a big hack and work-in-progress, and is subject to change
% at any time. Don't use it.
methods
function bigOldBorder(this, c, color)
%BIGOLDBORDER Set a big colored border on the target component
%
... |
github | janklab/janklab-core-main | MlIdeIntrospector.m | .m | janklab-core-main/dev-kit/Mcode/MlIdeIntrospector.m | 1,384 | utf_8 | e2ba1390b70eed703b769c02e8d97691 | classdef MlIdeIntrospector
%MLIDEINTROSPECTOR A pile of hacks for working with the Matlab Desktop
%
% This entire class is a big hack and work-in-progress, and is subject to change
% at any time. Don't use it.
methods
function out = mlMainFrame(this) %#ok<MANU>
%MLMAINFRAME Get the main frame for t... |
github | krrish94/ASPnP_IRLS-master | ASPnP_IRLS_V2.m | .m | ASPnP_IRLS-master/ASPnP_IRLS_V2.m | 1,820 | utf_8 | d1d28890987b8e12ee0a8b55809e18e6 | function [R0, t0, cost] = ASPnP_IRLS_V2(U, u)
%
R = cat(3, rotx(pi/2), roty(pi/2), rotz(pi/2));
t = mean(U,2);
cost = inf;
C_est = [];
t_est = [];
for i = 1:3
% Make a random rotation
pp = R(:,:,i) * (U - repmat(t, 1, size(U,2)));
%case1
[C_est_i, t_est_i] = ASPnP_IRLS_Case1_V2(pp, u);
%... |
github | krrish94/ASPnP_IRLS-master | PnP_Reproj_NLS_Matlab.m | .m | ASPnP_IRLS-master/PnP_Reproj_NLS_Matlab.m | 1,819 | utf_8 | 6692d5de86e1d7b5eed63308253c6c91 | function [Rr tr] = PnP_Reproj_NLS_Matlab(U,u,R0,t0)
%to refine the column-triplet by using nonlinear least square
%it's much better than the fminunc used by CVPR12.
%there are three fractional formulations, anyone is equivalently good.
%there are two constrained formulations, yet neither is good.
%the reason is ... |
github | krrish94/ASPnP_IRLS-master | matrix2quaternion.m | .m | ASPnP_IRLS-master/matrix2quaternion.m | 2,067 | utf_8 | e217d68a3f53842c8370d92e8ba4ba14 | % MATRIX2QUATERNION - Homogeneous matrix to quaternion
%
% Converts 4x4 homogeneous rotation matrix to quaternion
%
% Usage: Q = matrix2quaternion(T)
%
% Argument: T - 4x4 Homogeneous transformation matrix
% Returns: Q - a quaternion in the form [w, xi, yj, zk]
%
% See Also QUATERNION2MATRIX
% Copyrigh... |
github | krrish94/ASPnP_IRLS-master | quaternion2matrix.m | .m | ASPnP_IRLS-master/quaternion2matrix.m | 1,470 | utf_8 | e0b5b302aec496ba4083d27f4cff59ad | % QUATERNION2MATRIX - Quaternion to a 4x4 homogeneous transformation matrix
%
% Usage: T = quaternion2matrix(Q)
%
% Argument: Q - a quaternion in the form [w xi yj zk]
% Returns: T - 4x4 Homogeneous rotation matrix
%
% See also MATRIX2QUATERNION, NEWQUATERNION, QUATERNIONROTATE
% Copyright (c) 2008 Pete... |
github | vkotaru/quad_geometric_control-master | flat2state.m | .m | quad_geometric_control-master/flat2state.m | 2,413 | utf_8 | 9f4c55d6ef7e8067bbb92498554f23cf | function [ref] = flat2state(params,flats)
%%
% Function to calculate the feedforward reference states and inputs for a
% given position trajectory using differential flatness
ref.x = flats.x;
ref.v = flats.dx;
ref.a = flats.d2x;
ref.da = flats.d3x;
ref.d2a = flats.d4x;
b1d = params.e1;
db1d = zeros(3,1);
d2b1d = zer... |
github | vkotaru/quad_geometric_control-master | progressbar.m | .m | quad_geometric_control-master/helper_functions/progressbar.m | 11,767 | utf_8 | 06705e480618e134da62478338e8251c | function progressbar(varargin)
% Description:
% progressbar() provides an indication of the progress of some task using
% graphics and text. Calling progressbar repeatedly will update the figure and
% automatically estimate the amount of time remaining.
% This implementation of progressbar is intended to be extreme... |
github | vkotaru/quad_geometric_control-master | struct_overlay.m | .m | quad_geometric_control-master/helper_functions/struct_overlay.m | 2,258 | utf_8 | 6b5fbdef966bd310d73af19ccdbb1e86 | %> @brief struct_overlay Overlay default fields with input fields
%> @author Eric Cousineau <eacousineau@gmail.com>
%> @note From optOverlay() on Mathworks, modified
function [opts] = struct_overlay(opts_default, opts_in, options)
% Simple cases
if iscell(opts_default)
opts_default = struct(opts_defaul... |
github | vkotaru/quad_geometric_control-master | flat2state.m | .m | quad_geometric_control-master/models/@Quadrotorload/flat2state.m | 5,217 | utf_8 | 3f881a77f93fb649e0be4a1c07341c0f | function [ref] = flat2state(obj,flats)
%%
% Function to calculate the feedforward reference states and inputs for a
% given position trajectory using differential flatness
ref.xL = flats.x;
ref.vL = flats.dx;
ref.aL = flats.d2x;
ref.daL = flats.d3x;
ref.d2aL = flats.d4x;
ref.d3aL = flats.d5x;
ref.d4aL = flats.d6x;
b... |
github | vkotaru/quad_geometric_control-master | animate.m | .m | quad_geometric_control-master/models/@Quadrotorload/animate.m | 6,987 | utf_8 | a6cd0e0e0e65adaaf1e1180c62337c34 | function animate(obj,opts_in)
% function to animate the quadrotor
%%
% default options
opts_default.RATE = 25;
opts_default.data.t = [];
opts_default.data.x = [];
opts_default.data.xd = [];
opts_default.data.td = [];
opts_default.vid.MAKE_MOVIE = 0;
opts_default.vid.filename = 'results/vid1';
opts_default.vid.Quality... |
github | vkotaru/quad_geometric_control-master | flat2state.m | .m | quad_geometric_control-master/models/@RigidPendulum/flat2state.m | 2,936 | utf_8 | 317886439b9e5dd13969d2f8d0bb2e28 | function [ref] = flat2state(obj,flats)
%%
% Function to calculate the feedforward reference states and inputs for a
% given position trajectory using differential flatness
% if (size(flats.x,1)==3 && size(flats.x,2)==1) || (size(flats.x,1)==1 && size(flats.x,2)==3)
if isfield(flats,'x')
ref.x = flats.x;
ref... |
github | vkotaru/quad_geometric_control-master | animate.m | .m | quad_geometric_control-master/models/@RigidPendulum/animate.m | 5,688 | utf_8 | 28f09fa6f84cd8ca8cbb57a5a0811c34 | function animate(obj,opts_in)
% function to animate the quadrotor
%%
% default options
opts_default.RATE = 25;
opts_default.data.t = [];
opts_default.data.x = [];
opts_default.data.xd = [];
opts_default.data.td = [];
opts_default.vid.MAKE_MOVIE = 0;
opts_default.vid.filename = 'results/vid1';
opts_default.vid.Quality... |
github | vkotaru/quad_geometric_control-master | flat2state.m | .m | quad_geometric_control-master/models/@Quadrotor/flat2state.m | 2,297 | utf_8 | 8ad137e2d14d084fde9cc8510b97ef0c | function [ref] = flat2state(obj,flats)
%%
% Function to calculate the feedforward reference states and inputs for a
% given position trajectory using differential flatness
ref.x = flats.x;
ref.v = flats.dx;
ref.a = flats.d2x;
ref.da = flats.d3x;
ref.d2a = flats.d4x;
b1d = obj.e1;
db1d = zeros(3,1);
d2b1d = zeros(3,1... |
github | vkotaru/quad_geometric_control-master | animate.m | .m | quad_geometric_control-master/models/@Quadrotor/animate.m | 6,935 | utf_8 | df20d1302726db4de52287cecc351683 | function animate(obj,opts_in)
% function to animate the quadrotor
%%
% default options
opts_default.RATE = 25;
opts_default.data.t = [];
opts_default.data.x = [];
opts_default.data.xd = [];
opts_default.data.td = [];
opts_default.vid.MAKE_MOVIE = 0;
opts_default.vid.filename = 'results/vid1';
opts_default.vid.Quality... |
github | vkotaru/quad_geometric_control-master | flat2state.m | .m | quad_geometric_control-master/models/@RigidbodyAttitude/flat2state.m | 2,885 | utf_8 | 8e993fc8ec7915f96fa2427642213ec1 | function [ref] = flat2state(obj,flats)
%%
% Function to calculate the feedforward reference states and inputs for a
% given position trajectory using differential flatness
if (size(flats.x,1)==3 && size(flats.x,2)==1) || (size(flats.x,1)==1 && size(flats.x,2)==3)
ref.x = flats.x;
ref.v = flats.dx;
ref.... |
github | vkotaru/quad_geometric_control-master | animate.m | .m | quad_geometric_control-master/models/@RigidbodyAttitude/animate.m | 6,976 | utf_8 | 5e46fd723624fb8bf614c7e3c1a94686 | function animate(obj,opts_in)
% function to animate the quadrotor
%%
% default options
opts_default.RATE = 25;
opts_default.data.t = [];
opts_default.data.x = [];
opts_default.data.xd = [];
opts_default.data.td = [];
opts_default.vid.MAKE_MOVIE = 0;
opts_default.vid.filename = 'results/vid1';
opts_default.vid.Quality... |
github | GuangmingZhu/C3D-ChaLearn-master | read_binary_blob.m | .m | C3D-ChaLearn-master/examples/c3d_feature_extraction/script/read_binary_blob.m | 840 | utf_8 | a322780be077a4c7623fe76154839a4c | %
% Licensed under the Creative Commons Attribution-NonCommercial 3.0
% License (the "License"). You may obtain a copy of the License at
% https://creativecommons.org/licenses/by-nc/3.0/.
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "... |
github | GuangmingZhu/C3D-ChaLearn-master | read_binary_blob_preserve_shape.m | .m | C3D-ChaLearn-master/examples/c3d_feature_extraction/script/read_binary_blob_preserve_shape.m | 2,064 | utf_8 | ca6b67177d4ff394b626e4970aecaa5a | %
% Licensed under the Creative Commons Attribution-NonCommercial 3.0
% License (the "License"). You may obtain a copy of the License at
% https://creativecommons.org/licenses/by-nc/3.0/.
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "... |
github | GuangmingZhu/C3D-ChaLearn-master | prepare_batch.m | .m | C3D-ChaLearn-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 | GuangmingZhu/C3D-ChaLearn-master | matcaffe_demo.m | .m | C3D-ChaLearn-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 | hyung8758/ANN_SVM_comparison-master | ANNtrain.m | .m | ANN_SVM_comparison-master/functions/ANNtrain.m | 998 | utf_8 | 2b547d987062792795177615834c92d5 | % 2016, spring semester team project.
% ANNtrain
%
% Hyungwon Yang
% 2016.06.10
% EMCS labs
function [net,accuracy] = ANNtrain(n... |
github | hyung8758/ANN_SVM_comparison-master | extracting_features.m | .m | ANN_SVM_comparison-master/functions/extracting_features.m | 4,338 | utf_8 | a396103a728b17c67d282703095a898a | % 2016, spring semester team project.
% extracting_features
%
% Hyungwon Yang
% 2016.05.22
% EMCS labs
% Feature extraction of tra... |
github | hyung8758/ANN_SVM_comparison-master | spreadTarget.m | .m | ANN_SVM_comparison-master/functions/spreadTarget.m | 475 | utf_8 | f1b31d3a0bbf83dc44877f5b23a66a23 | % 2016, spring semester team project.
% spreadTarget
%
% Hyungwon Yang
% 2016.06.10
% EMCS labs
function new_target = spreadTarge... |
github | hyung8758/ANN_SVM_comparison-master | hog_feature_vector.m | .m | ANN_SVM_comparison-master/functions/hog_feature_vector.m | 5,218 | utf_8 | a245948b40508dba67c3f60797b0a11b |
function [feature] = hog_feature_vector(im)
% The given code finds the HOG feature vector for any given image. HOG
% feature vector/descriptor can then be used for detection of any
% particular object. The Matlab code provides the exact implementation of
% the formation of HOG feature vector as detailed in the ... |
github | hyung8758/ANN_SVM_comparison-master | download_SVM.m | .m | ANN_SVM_comparison-master/functions/download_SVM.m | 1,225 | utf_8 | 30fe223bfd7c34df9a7f9c6da02f0acc | % 2016, spring semester team project.
% download_SVM
%
% Hyungwon Yang
% 2016. 06. 10
% EMCS labs
function download_SVM()
% Downlo... |
github | hyung8758/ANN_SVM_comparison-master | mat2libsvm.m | .m | ANN_SVM_comparison-master/functions/mat2libsvm.m | 1,109 | utf_8 | b28dd8151b4c12f25663261bd439cd4d | % 2016, spring semester team project.
% mat2libsvm
%
% Hyungwon Yang
% 2016.06.10
% EMCS labs
function mat2libsvm(train_data,tes... |
github | hyung8758/ANN_SVM_comparison-master | download_data.m | .m | ANN_SVM_comparison-master/functions/download_data.m | 3,361 | utf_8 | 28db7b780288a40f50f15fc9e04ec2ec | % 2016, spring semester team project.
% download_data
%
% Hyungwon Yang
% 2016.06.10
% EMCS labs
function download_data()
% Make... |
github | hyung8758/ANN_SVM_comparison-master | run_svm.m | .m | ANN_SVM_comparison-master/functions/run_svm.m | 3,858 | utf_8 | a678e0ba3945f507bf3a7ee5197bc317 | % 2016, spring semester team project.
% run_svm
%
% Hyungwon Yang
% 2016.06.10
% EMCS labs
function accuracy = run_svm(pa... |
github | hyung8758/ANN_SVM_comparison-master | download_ANN.m | .m | ANN_SVM_comparison-master/functions/download_ANN.m | 852 | utf_8 | 92269e0a6ee6c65c209873af15f510c7 | % 2016, spring semester team project.
% download_ANN
%
% Hyungwon Yang
% 2016.06.10
% EMCS labs
function download_ANN()
% downlo... |
github | renhuihhh/spx_android-master | echo_diagnostic.m | .m | spx_android-master/library/src/main/jni/libspeex/echo_diagnostic.m | 2,076 | utf_8 | 8d5e7563976fbd9bd2eda26711f7d8dc | % Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'o... |
github | albanie/LearningGrimacesByWatchingTV-master | grimaces_zoo.m | .m | LearningGrimacesByWatchingTV-master/emo-exps/grimaces_zoo.m | 9,751 | utf_8 | 65a37ead2a2b5150f0423100f39cb377 | function [dag, isPretrained] = grimaces_zoo(modelName, varargin)
%GRIMACES_ZOO - load an emotion classification CNN by name
% [DAG, ISPRETRAINED] = GRIMACES_ZOO(MODELNAME, VARARGIN) - loads an
% emotion classification CNN by its given name.
%
% GRIMACES_ZOO(..'name', value) accepts the following
% options:
%
% ... |
github | albanie/LearningGrimacesByWatchingTV-master | insertBNLayers.m | .m | LearningGrimacesByWatchingTV-master/emo-exps/insertBNLayers.m | 2,632 | utf_8 | d5ded0151723e01e9778ef4f19126650 | function dag = insertBNLayers(dag)
%INSERTBNLAYERS adds batch normalization to a network
% INSERTBNLAYERS(dag) inserts batch normalization
% layers directly after each convolutional layer in the
% the DagNN network
% First check if the network already contains batch norm
% layers - if so, make sure that the sha... |
github | albanie/LearningGrimacesByWatchingTV-master | cnn_emo_baselines.m | .m | LearningGrimacesByWatchingTV-master/emo-exps/cnn_emo_baselines.m | 10,329 | utf_8 | 5fae495bdee9b673244270c1a384632d | function [net, info] = cnn_emo_baselines(varargin)
% CNN_EMO_BASELINES train simple baselines on emotion recognition
% [NET, INFO] = CNN_EMO_BASELINES(VARARGIN)
%
% CNN_EMO_BASELINES(..'name', value) accepts the following
% options:
%
% `dropoutRate` :: 0.5
% If dropoutRate > 0, dropout layers with the given... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.