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 | FabricioS/ddebiftool-code-master | SetupPeriodDoubling.m | .m | ddebiftool-code-master/dde_biftool/ddebiftool_extra_psol/SetupPeriodDoubling.m | 416 | utf_8 | 837586aba2aafd412bfda54bf55d363f | %% SetupPeriodDoubling - Initialize continuation of period doubling bifurcation
%%
function [pdfuncs,pdbranch,suc]=SetupPeriodDoubling(funcs,branch,ind,varargin)
%%
% Simple wrapper around SetupTorusBifurcation to have a sensible name
% See <SetupTorusBifurcation.html> for description of input and output.
%
% <html>
%... |
github | FabricioS/ddebiftool-code-master | SetupPOfold.m | .m | ddebiftool-code-master/dde_biftool/ddebiftool_extra_psol/SetupPOfold.m | 5,090 | utf_8 | 2e3984c2450f6426af8a6f3a9e61cbf7 | %% SetupPOfold - Initialize continuation of folds of periodic orbits
%%
function [pfuncs,pbranch,suc]=SetupPOfold(funcs,branch,ind,varargin)
%% Inputs
%
% * |funcs|: functions used for DDE
% * |branch|: branch of psols along which fold was discovered
% * |ind|: index in points array that is closest to fold (for init... |
github | FabricioS/ddebiftool-code-master | SetupTorusBifurcation.m | .m | ddebiftool-code-master/dde_biftool/ddebiftool_extra_psol/SetupTorusBifurcation.m | 4,138 | utf_8 | d4f509490c9df850bcc47809ca9da55d | %% SetupTorusBifurcation - Initialize continuation of torus or period doubling bifurcations
%%
function [trfuncs,trbranch,suc]=SetupTorusBifurcation(funcs,branch,ind,varargin)
%% Inputs
%
% * |funcs|: functions used for DDE
% * |branch|: branch of psols along which bifurcation was discovered
%
% optional inputs
%
% * |... |
github | tiepvupsu/FISTA-master | nmf.m | .m | FISTA-master/spams/build/nmf.m | 3,099 | utf_8 | 04975453432077d74521a3a5fe37cf74 | %
% Usage: [U [,V]]=nmf(X,param);
%
% Name: nmf
%
% Description: mexTrainDL is an efficient implementation of the
% non-negative matrix factorization technique presented in
%
% "Online Learning for Matrix Factorization and Sparse Coding"
% by Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro
... |
github | tiepvupsu/FISTA-master | solverPoisson.m | .m | FISTA-master/spams/build/solverPoisson.m | 1,379 | utf_8 | 7014a88c59bc141f4d6797cace34999b | %
% Usage: [W, [optim]]=solverPoisson(Y,X,W0,param);
%
% Name: solverPoisson
%
% Description: solverPoisson solves the regularized Poisson regression
% problem for every column of Y:
%
% min_w \sum_i (x_i' w) + delta - y_i log( x_i' w + delta) + lambda psi(w) (1)
%
% delta should be positive. The method solves (... |
github | tiepvupsu/FISTA-master | nnsc.m | .m | FISTA-master/spams/build/nnsc.m | 2,793 | utf_8 | 0da189ba9a2a70fb4b6a3f1c39dc3b30 | %
% Usage: [U [,V]]=nnsc(X,param);
%
% Name: nmf
%
% Description: mexTrainDL is an efficient implementation of the
% non-negative sparse coding technique presented in
%
% "Online Learning for Matrix Factorization and Sparse Coding"
% by Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro
% ... |
github | GGonEsc/petpve12-master | cg_cleanup_gwc.m | .m | petpve12-master/Amap/cg_cleanup_gwc.m | 3,192 | utf_8 | f38d71571c824947fc226afa842f9097 | function [g,w,c] = cg_cleanup_gwc(g,w,c, level)
% use morphological operations to cleanup GM/WM/CSF
%__________________________________________________________________________
% Christian Gaser
% $Id: cg_cleanup_gwc.m 404 2011-04-11 10:03:40Z gaser $
rev = '$Rev: 404 $';
if nargin<4, level = 1; end;
th0 = 0.6;
mx_w... |
github | GGonEsc/petpve12-master | geg_createDRTLimport.m | .m | petpve12-master/Functions/geg_createDRTLimport.m | 21,037 | utf_8 | 4b3758acd647f7cf69342b3be21ac016 | function geg_createDRTLimport(job)
%
%_______________________________________________________________________
% Gabriel Gonzalez-Escamilla
% $Id: geg_createDRTLimport.m 001 2015-03-28 16:20:04Z $
%rev = '$Rev: 003 $';
S=job.resF;
for subj=1:length(S)
actres=S{subj};
[pth,nam,ext] = fileparts(actr... |
github | GGonEsc/petpve12-master | geg_image.m | .m | petpve12-master/Functions/geg_image.m | 26,984 | utf_8 | 541fd0dc8362d180a68445f98e99b71b | function geg_image(action,varargin)
% Image and header display
% FORMAT geg_image
% FORMAT geg_image('Display',fname)
%__________________________________________________________________________
%
% geg_image is an interactive facility that allows orthogonal sections from
% an image volume to be displayed, with t... |
github | GGonEsc/petpve12-master | geg_segment.m | .m | petpve12-master/Functions/geg_segment.m | 49,596 | utf_8 | 90dab607527eada59c98a3463e2e7466 | function varargout = geg_segment(job,arg)
% Segment a bunch of images
% FORMAT geg_segment(job)
%
% job is a structure containing the following fields:
% job.channel(n).vols{m}
% job.channel(n).biasreg
% job.channel(n).biasfwhm
% job.channel(n).write
% job.tissue(k).tpm
% job.tissue(k).ngaus
% job.tissue(k).... |
github | GGonEsc/petpve12-master | geg_check_cov.m | .m | petpve12-master/Functions/geg_check_cov.m | 18,771 | utf_8 | 9d6a8719c72a7cf43934cafa50084581 | function geg_check_cov(vargin)
%cg_check_cov to check covriance across sample
%
% Images have to be in the same orientation with same voxel size
% and dimension (e.g. normalized images)
% An output image will be save with SD at each voxel.
%_______________________________________________________________________
% Chris... |
github | GGonEsc/petpve12-master | geg_SSusingSegments.m | .m | petpve12-master/Functions/geg_SSusingSegments.m | 12,220 | utf_8 | 78b4671c70fbd7cc7ba84660fbdbe48a | function geg_SSusingSegments(job)
%
% Inputs:
% res matrix = fullfile(pth,[nam '_seg8.mat']),'file')
%
%
% Ask for the T1 or bias image, the tissue images (c1, c2,
% c3) and the res file
% If no res file as input, do michel procedure:
% skull-strip automatico: el MRI lo multiplico con una mascara (c1 + c2) > 0... |
github | GGonEsc/petpve12-master | geg_PVEcorrection2.m | .m | petpve12-master/Functions/geg_PVEcorrection2.m | 23,997 | utf_8 | b2cd2a5457046a355e407ba5eb13d5a7 | function geg_PVEcorrection2(job)
% geg_PVEcorrection2.m
%
% PVC VOI and Brain MR based: This correction correct for the spillover at
% multiple ROIs of the brain by using the so called geometric transfer
% matrix (GTM). The GTM describes the contribution of each source region to
% the measured regional activitie... |
github | GGonEsc/petpve12-master | SSGC.m | .m | petpve12-master/SSGC/SSGC.m | 17,609 | utf_8 | e3e37f67bb4a8a3f46f3c00caf84f1ac | function [src,cls,mask,TSEG,SLAB,opt] = SSGC(src,cls,res,opt)%GCBM
% SKULL-STRIPPING USING GRAPH-CUT
% _________________________________________________________________________
%
% scr (single) bias corrected T1 image after noise reduction
% cls (cell) 6 uint8 tissue class images (GM,WM,CSF,.,.,head)
% res (str... |
github | GGonEsc/petpve12-master | geg_iydeformation.m | .m | petpve12-master/Defs/geg_iydeformation.m | 10,289 | utf_8 | 6673735a673a34fba4eeefbc938edb16 | %==========================================================================
% Inverse Deformation utilities
%==========================================================================
function out = geg_iydeformation(job)
% applies the inversed deformation to the image, called 'pull'
% job - a struct with fields
... |
github | GGonEsc/petpve12-master | spm_invert_def.m | .m | petpve12-master/Defs/spm_invert_def.m | 3,077 | utf_8 | bf1e912d851e167cb2e99e7ddab5ea1a | function y = spm_invert_def(y,M1,d0,M0,args)
% Invert a deformation field
% FORMAT iY = spm_invert_def(Y,M,idim,iM,args)
% Y - input deformation field (floating point n1*n2*n3*3)
% M - voxel-to-world mapping of deformation field
% idim - dimensions of inverse deformation
% iM - voxel-to-world mapping of inverse... |
github | pmoulon/hpmvs-master | NLOPT_GN_ORIG_DIRECT.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_ORIG_DIRECT.m | 164 | utf_8 | 43ae70342fc7484716698f445981512b | % NLOPT_GN_ORIG_DIRECT: Original DIRECT version (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_ORIG_DIRECT
val = 6;
|
github | pmoulon/hpmvs-master | NLOPT_LN_BOBYQA.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_BOBYQA.m | 189 | utf_8 | 15ba6db5057c8907343184908e0ecf06 | % NLOPT_LN_BOBYQA: BOBYQA bound-constrained optimization via quadratic models (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_BOBYQA
val = 34;
|
github | pmoulon/hpmvs-master | NLOPT_GN_DIRECT.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_DIRECT.m | 137 | utf_8 | 915b9f3f3a223d681a10bfaa80318309 | % NLOPT_GN_DIRECT: DIRECT (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_DIRECT
val = 0;
|
github | pmoulon/hpmvs-master | NLOPT_LD_MMA.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_MMA.m | 155 | utf_8 | 7e4519526e6353452086a1cf929b12ad | % NLOPT_LD_MMA: Method of Moving Asymptotes (MMA) (local, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_MMA
val = 24;
|
github | pmoulon/hpmvs-master | NLOPT_GN_DIRECT_L.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_DIRECT_L.m | 143 | utf_8 | ae13ecf48a1ee6d222444643f59c2993 | % NLOPT_GN_DIRECT_L: DIRECT-L (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_DIRECT_L
val = 1;
|
github | pmoulon/hpmvs-master | NLOPT_LD_VAR1.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_VAR1.m | 168 | utf_8 | 45d4388965becdc240350c73a2779757 | % NLOPT_LD_VAR1: Limited-memory variable-metric, rank 1 (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_VAR1
val = 13;
|
github | pmoulon/hpmvs-master | NLOPT_GN_DIRECT_L_NOSCAL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_DIRECT_L_NOSCAL.m | 166 | utf_8 | c20477ea33399f3311ea6e533dc347ae | % NLOPT_GN_DIRECT_L_NOSCAL: Unscaled DIRECT-L (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_DIRECT_L_NOSCAL
val = 4;
|
github | pmoulon/hpmvs-master | NLOPT_LN_COBYLA.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_COBYLA.m | 189 | utf_8 | 2c95152f70105c8ca20929fba67d12a2 | % NLOPT_LN_COBYLA: COBYLA (Constrained Optimization BY Linear Approximations) (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_COBYLA
val = 25;
|
github | pmoulon/hpmvs-master | NLOPT_LN_AUGLAG_EQ.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_AUGLAG_EQ.m | 189 | utf_8 | 5432778c9b81b5fdcfb98ca1bbbd6486 | % NLOPT_LN_AUGLAG_EQ: Augmented Lagrangian method for equality constraints (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_AUGLAG_EQ
val = 32;
|
github | pmoulon/hpmvs-master | NLOPT_GN_DIRECT_L_RAND.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_DIRECT_L_RAND.m | 164 | utf_8 | 2135dc3891b556738f41c2a35009b227 | % NLOPT_GN_DIRECT_L_RAND: Randomized DIRECT-L (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_DIRECT_L_RAND
val = 2;
|
github | pmoulon/hpmvs-master | NLOPT_GN_MLSL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_MLSL.m | 169 | utf_8 | 93ab4e64e2760c4ca201fada42cb05c3 | % NLOPT_GN_MLSL: Multi-level single-linkage (MLSL), random (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_MLSL
val = 20;
|
github | pmoulon/hpmvs-master | NLOPT_GD_MLSL_LDS.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GD_MLSL_LDS.m | 180 | utf_8 | 7f41fd0094df543c2e45280f86c0b87b | % NLOPT_GD_MLSL_LDS: Multi-level single-linkage (MLSL), quasi-random (global, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GD_MLSL_LDS
val = 23;
|
github | pmoulon/hpmvs-master | NLOPT_LD_AUGLAG_EQ.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_AUGLAG_EQ.m | 186 | utf_8 | 41b81c30c553388e2ff1b6b1fb681618 | % NLOPT_LD_AUGLAG_EQ: Augmented Lagrangian method for equality constraints (local, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_AUGLAG_EQ
val = 33;
|
github | pmoulon/hpmvs-master | NLOPT_LD_CCSAQ.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_CCSAQ.m | 214 | utf_8 | 33892896fe470090edb583b50b9e7d93 | % NLOPT_LD_CCSAQ: CCSA (Conservative Convex Separable Approximations) with simple quadratic approximations (local, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_CCSAQ
val = 41;
|
github | pmoulon/hpmvs-master | NLOPT_LD_AUGLAG.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_AUGLAG.m | 155 | utf_8 | 2d7d515e911b5d0277490940a47f333e | % NLOPT_LD_AUGLAG: Augmented Lagrangian method (local, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_AUGLAG
val = 31;
|
github | pmoulon/hpmvs-master | NLOPT_GN_DIRECT_L_RAND_NOSCAL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_DIRECT_L_RAND_NOSCAL.m | 187 | utf_8 | 3287f776b0f2ac5e3495c2a4c95ba4e7 | % NLOPT_GN_DIRECT_L_RAND_NOSCAL: Unscaled Randomized DIRECT-L (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_DIRECT_L_RAND_NOSCAL
val = 5;
|
github | pmoulon/hpmvs-master | NLOPT_LN_SBPLX.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_SBPLX.m | 196 | utf_8 | c99ee02eb277898e9c509dd359740680 | % NLOPT_LN_SBPLX: Sbplx variant of Nelder-Mead (re-implementation of Rowan's Subplex) (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_SBPLX
val = 29;
|
github | pmoulon/hpmvs-master | NLOPT_GN_ISRES.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_ISRES.m | 173 | utf_8 | 2c12964785aed0828a5ac17fc416f5be | % NLOPT_GN_ISRES: ISRES evolutionary constrained optimization (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_ISRES
val = 35;
|
github | pmoulon/hpmvs-master | NLOPT_LD_VAR2.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_VAR2.m | 168 | utf_8 | 5ba0bd034c240547765a0fd4ce90c825 | % NLOPT_LD_VAR2: Limited-memory variable-metric, rank 2 (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_VAR2
val = 14;
|
github | pmoulon/hpmvs-master | NLOPT_AUGLAG_EQ.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_AUGLAG_EQ.m | 182 | utf_8 | 2f8b59b483a4f2621264c7de9df58365 | % NLOPT_AUGLAG_EQ: Augmented Lagrangian method for equality constraints (needs sub-algorithm)
%
% See nlopt_minimize for more information.
function val = NLOPT_AUGLAG_EQ
val = 37;
|
github | pmoulon/hpmvs-master | NLOPT_LN_NELDERMEAD.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_NELDERMEAD.m | 168 | utf_8 | 219928fdd3fc8317d321f9f0535d550f | % NLOPT_LN_NELDERMEAD: Nelder-Mead simplex algorithm (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_NELDERMEAD
val = 28;
|
github | pmoulon/hpmvs-master | NLOPT_LN_NEWUOA.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_NEWUOA.m | 185 | utf_8 | b318db6792885a5d23dcfd5b28fdc507 | % NLOPT_LN_NEWUOA: NEWUOA unconstrained optimization via quadratic models (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_NEWUOA
val = 26;
|
github | pmoulon/hpmvs-master | NLOPT_GN_CRS2_LM.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_CRS2_LM.m | 185 | utf_8 | 9a171159b83c77e07256a24704139d8a | % NLOPT_GN_CRS2_LM: Controlled random search (CRS2) with local mutation (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_CRS2_LM
val = 19;
|
github | pmoulon/hpmvs-master | NLOPT_LN_PRAXIS.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_PRAXIS.m | 153 | utf_8 | c7d354e0602183d0d3a7ff71641ab7b4 | % NLOPT_LN_PRAXIS: Principal-axis, praxis (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_PRAXIS
val = 12;
|
github | pmoulon/hpmvs-master | NLOPT_LD_SLSQP.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_SLSQP.m | 164 | utf_8 | e767cc9cde902065e67a31664a571819 | % NLOPT_LD_SLSQP: Sequential Quadratic Programming (SQP) (local, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_SLSQP
val = 40;
|
github | pmoulon/hpmvs-master | NLOPT_G_MLSL_LDS.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_G_MLSL_LDS.m | 187 | utf_8 | dfafcdb44b43c59aa5e4d5b73542dc50 | % NLOPT_G_MLSL_LDS: Multi-level single-linkage (MLSL), quasi-random (global, needs sub-algorithm)
%
% See nlopt_minimize for more information.
function val = NLOPT_G_MLSL_LDS
val = 39;
|
github | pmoulon/hpmvs-master | NLOPT_LD_TNEWTON.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_TNEWTON.m | 152 | utf_8 | 5e00532d1e34e85f395f6ace048d7d64 | % NLOPT_LD_TNEWTON: Truncated Newton (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_TNEWTON
val = 15;
|
github | pmoulon/hpmvs-master | NLOPT_LD_LBFGS_NOCEDAL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_LBFGS_NOCEDAL.m | 184 | utf_8 | 7b1380ab03a2272b6e3f1c0f49e4babf | % NLOPT_LD_LBFGS_NOCEDAL: original NON-FREE L-BFGS code by Nocedal et al. (NOT COMPILED)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_LBFGS_NOCEDAL
val = 10;
|
github | pmoulon/hpmvs-master | NLOPT_GD_STOGO.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GD_STOGO.m | 137 | utf_8 | 1b374b07cc8dd1fd43998c8f60f49267 | % NLOPT_GD_STOGO: StoGO (global, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_GD_STOGO
val = 8;
|
github | pmoulon/hpmvs-master | NLOPT_AUGLAG.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_AUGLAG.m | 151 | utf_8 | a4a6ef23ad60f4ceab26caae4276c02d | % NLOPT_AUGLAG: Augmented Lagrangian method (needs sub-algorithm)
%
% See nlopt_minimize for more information.
function val = NLOPT_AUGLAG
val = 36;
|
github | pmoulon/hpmvs-master | NLOPT_GD_MLSL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GD_MLSL.m | 166 | utf_8 | 3735615f01a5de64ba710bfa7b7eba3a | % NLOPT_GD_MLSL: Multi-level single-linkage (MLSL), random (global, derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GD_MLSL
val = 21;
|
github | pmoulon/hpmvs-master | NLOPT_GN_DIRECT_NOSCAL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_DIRECT_NOSCAL.m | 160 | utf_8 | 9f11af031bd7ca9c9348de64f7169482 | % NLOPT_GN_DIRECT_NOSCAL: Unscaled DIRECT (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_DIRECT_NOSCAL
val = 3;
|
github | pmoulon/hpmvs-master | NLOPT_LN_AUGLAG.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_AUGLAG.m | 158 | utf_8 | ec49cb21c2b454870a401a1c5afd1058 | % NLOPT_LN_AUGLAG: Augmented Lagrangian method (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_AUGLAG
val = 30;
|
github | pmoulon/hpmvs-master | NLOPT_GN_ESCH.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_ESCH.m | 130 | utf_8 | 6cad4da90ce4145ad2b1dafcf286286f | % NLOPT_GN_ESCH: ESCH evolutionary strategy
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_ESCH
val = 42;
|
github | pmoulon/hpmvs-master | NLOPT_G_MLSL.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_G_MLSL.m | 173 | utf_8 | fd60012f2c05bdeb027ee6dee44175fb | % NLOPT_G_MLSL: Multi-level single-linkage (MLSL), random (global, needs sub-algorithm)
%
% See nlopt_minimize for more information.
function val = NLOPT_G_MLSL
val = 38;
|
github | pmoulon/hpmvs-master | nlopt_minimize_constrained.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/nlopt_minimize_constrained.m | 5,174 | utf_8 | 2093a6be53db585559168905f1fc1e4a | % Usage: [xopt, fmin, retcode] = nlopt_minimize_constrained
% (algorithm, f, f_data,
% fc, fc_data, lb, ub,
% xinit, stop)
%
% Minimizes a nonlinear multivariable function f(x, f_data{:}), subjec... |
github | pmoulon/hpmvs-master | NLOPT_LN_NEWUOA_BOUND.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LN_NEWUOA_BOUND.m | 207 | utf_8 | 67ca43d03f5347c97069a86e3e73a7e4 | % NLOPT_LN_NEWUOA_BOUND: Bound-constrained optimization via NEWUOA-based quadratic models (local, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_LN_NEWUOA_BOUND
val = 27;
|
github | pmoulon/hpmvs-master | nlopt_minimize.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/nlopt_minimize.m | 3,978 | utf_8 | f71b68688b460e0440ff89bdf086d2a7 | % Usage: [xopt, fmin, retcode] = nlopt_minimize(algorithm, f, f_data, lb, ub,
% xinit, stop)
%
% Minimizes a nonlinear multivariable function f(x, f_data{:}), where
% x is a row vector, returning the optimal x found (xopt) along with
% the minimum function value (fmin = f(x... |
github | pmoulon/hpmvs-master | NLOPT_GN_ORIG_DIRECT_L.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_ORIG_DIRECT_L.m | 170 | utf_8 | d61c095f05bf7fd4fbbf2ddbe22c58a4 | % NLOPT_GN_ORIG_DIRECT_L: Original DIRECT-L version (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_ORIG_DIRECT_L
val = 7;
|
github | pmoulon/hpmvs-master | NLOPT_LD_TNEWTON_RESTART.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_TNEWTON_RESTART.m | 184 | utf_8 | a482ddde1f6d6b386a3810fc142829a2 | % NLOPT_LD_TNEWTON_RESTART: Truncated Newton with restarting (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_TNEWTON_RESTART
val = 16;
|
github | pmoulon/hpmvs-master | NLOPT_LD_TNEWTON_PRECOND_RESTART.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_TNEWTON_PRECOND_RESTART.m | 215 | utf_8 | 1082f147b249cc1f7e564aa3b2462048 | % NLOPT_LD_TNEWTON_PRECOND_RESTART: Preconditioned truncated Newton with restarting (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_TNEWTON_PRECOND_RESTART
val = 18;
|
github | pmoulon/hpmvs-master | NLOPT_LD_TNEWTON_PRECOND.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_TNEWTON_PRECOND.m | 183 | utf_8 | 167e47e5e372152ffba7552308e1193f | % NLOPT_LD_TNEWTON_PRECOND: Preconditioned truncated Newton (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_TNEWTON_PRECOND
val = 17;
|
github | pmoulon/hpmvs-master | NLOPT_GD_STOGO_RAND.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GD_STOGO_RAND.m | 170 | utf_8 | fea04c6327afd49e02ff536330527f60 | % NLOPT_GD_STOGO_RAND: StoGO with randomized search (global, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_GD_STOGO_RAND
val = 9;
|
github | pmoulon/hpmvs-master | NLOPT_LD_LBFGS.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_LD_LBFGS.m | 160 | utf_8 | 02936ac48fc420cd73b5a6848808dd68 | % NLOPT_LD_LBFGS: Limited-memory BFGS (L-BFGS) (local, derivative-based)
%
% See nlopt_minimize for more information.
function val = NLOPT_LD_LBFGS
val = 11;
|
github | pmoulon/hpmvs-master | NLOPT_GN_MLSL_LDS.m | .m | hpmvs-master/thirdLibs/nlopt-2.4.2/octave/NLOPT_GN_MLSL_LDS.m | 183 | utf_8 | 0fb34e2ebed6204b06925782f5fc2417 | % NLOPT_GN_MLSL_LDS: Multi-level single-linkage (MLSL), quasi-random (global, no-derivative)
%
% See nlopt_minimize for more information.
function val = NLOPT_GN_MLSL_LDS
val = 22;
|
github | xwasco/GTNMF-master | symnmf_newton.m | .m | GTNMF-master/symnmf2/symnmf_newton.m | 6,452 | utf_8 | be6b2de8ef2779f6259dc6c54a4dc012 | function [H, iter, obj] = symnmf_newton(A, k, params)
%SYMNMF_NEWTON Newton-like algorithm for Symmetric NMF (SymNMF)
% [H, iter, obj] = symnmf_newton(A, k, params) optimizes
% the following formulation:
%
% min_H f(H) = ||A - HH'||_F^2 subject to H >= 0
%
% where A is a n*n symmetric matrix,
% H is a n... |
github | xwasco/GTNMF-master | nnlsm_blockpivot.m | .m | GTNMF-master/symnmf2/nnlsm_blockpivot.m | 7,142 | utf_8 | 271eef3299d1d1eb6bd0cbfd42ff2888 | % Nonnegativity Constrained Least Squares with Multiple Righthand Sides
% using Block Principal Pivoting method
%
% This software solves the following problem: given A and B, find X such that
% minimize || AX-B ||_F^2 where X>=0 elementwise.
%
% Reference:
% Jingu Kim and Haesun Park, Toward Fas... |
github | xwasco/GTNMF-master | munkres.m | .m | GTNMF-master/utils/munkres.m | 6,971 | utf_8 | d287696892e8ef857858223a49ad48fd | function [assignment,cost] = munkres(costMat)
% MUNKRES Munkres (Hungarian) Algorithm for Linear Assignment Problem.
%
% [ASSIGN,COST] = munkres(COSTMAT) returns the optimal column indices,
% ASSIGN assigned to each row and the minimum COST based on the assignment
% problem represented by the COSTMAT, where the (i,j... |
github | xwasco/GTNMF-master | nnls1_asgivens.m | .m | GTNMF-master/nmf_anls/nnls1_asgivens.m | 4,652 | utf_8 | fe4f132c0c6503c13c348aa65cc9e7ef | function [ x,y,success,iter ] = nnls1_asgivens( A,b,overwrite, isInputProd, init )
% Nonnegativity-constrained least squares for single righthand side : minimize |Ax-b|_2
% Jingu Kim (jingu.kim@gmail.com)
%
% Reference:
% Jingu Kim and Haesun Park. Fast Nonnegative Matrix Factorization: An Activeset-like Method an... |
github | xwasco/GTNMF-master | nmf.m | .m | GTNMF-master/nmf_anls/nmf.m | 23,253 | utf_8 | 4c097da365cb2e520d061c2262204588 | % Nonnegative Matrix Factorization Algorithms Toolbox
%
% Written by Jingu Kim (jingu.kim@gmail.com)
% Work done at
% School of Computational Science and Engineering
% College of Computing, Georgia Institute of Technology
%
% Please send bug reports, comments, or questions to Jingu Kim.... |
github | xwasco/GTNMF-master | nnlsm_blockpivot.m | .m | GTNMF-master/nmf_anls/nnlsm_blockpivot.m | 4,542 | utf_8 | 376a788b205edbb0344ec40fc5afbf9f | % Nonnegativity Constrained Least Squares with Multiple Righthand Sides
% using Block Principal Pivoting method
%
% This software solves the following problem: given A and B, find X such that
% minimize || AX-B ||_F^2 where X>=0 elementwise.
%
% Reference:
% Jingu Kim and Haesun Park. Fast Nonne... |
github | xwasco/GTNMF-master | nnlsm_activeset.m | .m | GTNMF-master/nmf_anls/nnlsm_activeset.m | 5,185 | utf_8 | 96f73fcf70f7083cd2d2a9bd9f71767a | % Nonnegativity Constrained Least Squares with Multiple Righthand Sides
% using Active Set method
%
% This software solves the following problem: given A and B, find X such that
% minimize || AX-B ||_F^2 where X>=0 elementwise.
%
% Reference:
% Charles L. Lawson and Richard J. Hanson, Solving Leas... |
github | xwasco/GTNMF-master | ncp.m | .m | GTNMF-master/nmf_anls/ncp.m | 16,647 | utf_8 | df3152474b11ed175c957cdd192dce79 | % Nonnegative Tensor Factorization (Canonical Decomposition / PARAFAC)
%
% Written by Jingu Kim (jingu.kim@gmail.com)
% School of Computational Science and Engineering,
% Georgia Institute of Technology
%
% This software implements nonnegativity-constrained low-rank approximation of tensors in PAR... |
github | kloewe/mod-fconn-m-master | volClustPermTest.m | .m | mod-fconn-m-master/volClustPermTest.m | 6,961 | utf_8 | e5ae388976045309b079ea1bcbafa15f | function c = volClustPermTest(vol,volperm,thr,cstat,alpha,varargin)
%VOLCLUSTPERMTEST FWE-corrected cluster-level p values based on permutations.
%
% C = VOLCLUSTPERMTEST(V,VP,THR,CSTAT,ALPHA) assesses the statistical
% significance of the clusters in V with respect to the specified cluster
% statistic CSTAT usin... |
github | YuvalNirkin/face_video_segment-master | produce_pascal_voc_db.m | .m | face_video_segment-master/interfaces/matlab/produce_pascal_voc_db.m | 6,042 | utf_8 | 03bfef747ea89fdbbc3a7c1140e529a4 | function produce_pascal_voc_db(varargin)
%PRODUCE_PASCAL_VOC_DB Convert the generated ground truth to a dataset in
%PASCAL VOC format.
% Input:
% inDir - Path to genrated ground truth directory
% outDir - Path to output directory
%
% Optional:
% indices (=[]) - Video indices to process
% max_scale (=0) - Th... |
github | YuvalNirkin/face_video_segment-master | fvs_extract_list.m | .m | face_video_segment-master/interfaces/matlab/fvs_extract_list.m | 1,606 | utf_8 | 24bb7cf971fcd3c9802e5d7236e36a3b | function fvs_extract_list(inDir, outDir, listFile)
%FVS_EXTRACT_LIST Summary of this function goes here
% Detailed explanation goes here
%% Read list
include = readList(listFile);
%% Extract trainval file
trainvalFile = fullfile(inDir, 'trainval.csv');
if(exist(trainvalFile) == 2)
T = readtable(trainvalFile,'De... |
github | YuvalNirkin/face_video_segment-master | add_pascal_voc_db.m | .m | face_video_segment-master/interfaces/matlab/add_pascal_voc_db.m | 2,540 | utf_8 | 42bf70ab54be01b238f7004b8d962503 | function add_pascal_voc_db(varargin)
%ADD_PASCAL_VOC_DB Summary of this function goes here
% Detailed explanation goes here
%% Parse input arguments
p = inputParser;
addRequired(p, 'imgDir', @ischar);
addRequired(p, 'segDir', @ischar);
addRequired(p, 'trainvalDir', @ischar);
addRequired(p, 'dbDir', @ischar);
parse(p... |
github | YuvalNirkin/face_video_segment-master | face_fcn_train.m | .m | face_video_segment-master/interfaces/matlab/face_fcn_train.m | 3,428 | utf_8 | 25c3769c765921424a0ebb38ab4fc1f0 | function face_fcn_train(varargin)
%FACE_FCN_TRAIN Train FCN model using MatConvNet
% Detailed explanation goes here
%% Initialize options
matconvnetPath = 'D:\Dev\Matlab\Shared\matconvnet';
run(fullfile(matconvnetPath, 'matlab/vl_setupnn'));
addpath(fullfile(matconvnetPath, 'examples'));
addpath 'D:\Dev\Matlab\Share... |
github | YuvalNirkin/face_video_segment-master | face_video_seg_batch.m | .m | face_video_segment-master/interfaces/matlab/face_video_seg_batch.m | 5,677 | utf_8 | b3e0c7d7c60d358813f27bfd6ec47c09 | function face_video_seg_batch(varargin)
%FACE_VIDEO_SEG_BATCH Face Video Segmentation automatic pipeline.
% Input:
% inDir - Path to input video directory
% outDir - Path to output directory
% landmarks - Path to the landmarks model file
%
% Optional:
% indices (=[]) - Video indices to process
% minWidth ... |
github | YuvalNirkin/face_video_segment-master | face_fcn_test.m | .m | face_video_segment-master/interfaces/matlab/face_fcn_test.m | 7,286 | utf_8 | ccb5f1a5e88770b5c245944a5276ed38 | function info = face_fcn_test(varargin)
%% Initialize options
matconvnetPath = 'D:\Dev\Matlab\Shared\matconvnet';
run(fullfile(matconvnetPath, 'matlab/vl_setupnn'));
addpath(fullfile(matconvnetPath, 'examples'));
addpath 'D:\Dev\Matlab\Shared\matconvnet-fcn'
% experiment and data paths
opts.expDir = 'D:\Dev\Matlab\Sh... |
github | YuvalNirkin/face_video_segment-master | face_pascal_voc_setup.m | .m | face_video_segment-master/interfaces/matlab/face_pascal_voc_setup.m | 3,990 | utf_8 | d775e818a6f69d84eb5f0c5ac1069146 | function imdb = face_pascal_voc_setup(varargin)
%FACE_PASCAL_VOC_SETUP Summary of this function goes here
% Detailed explanation goes here
opts.edition = '07' ;
opts.dataDir = fullfile('data','voc07') ;
opts.archiveDir = fullfile('data','archives') ;
opts.includeDetection = false ;
opts.includeSegmentation = false ;
... |
github | ginestrab/Network-Geometry-with-Flavor-master | NGF_d2.m | .m | Network-Geometry-with-Flavor-master/NGF_d2.m | 4,364 | utf_8 | 1987688dbe2ce9f72fa73ccffd986c93 |
function [a,kn,kl,SC] = NGF_d2(N,s,beta,figure_l)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% If you use this code, please cite
% G. Bianconi and C. Rahmede
% "Network geometry with flavour: from complexity to quantum geometry"
%Physical Review E 93, 032315 (2016).
%%%%%%%%%%%%%%%... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | rectres_tm.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/rectres_tm.m | 791 | utf_8 | a05cdad8773c3e435466e2639e522210 | % Filename : rectres_tm.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 矩形空腔谐振器 TM 模
function [ex,ey,ez,hx,hy,hz] = rectres_tm(x,y,z,m,n,p,a,b,l,omega,A,epsilon_r,mu_r)
epsilon=8.854187817*1e-12*epsilon_r;
mu=4*... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | rectwg_te.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/rectwg_te.m | 906 | utf_8 | 72367b6e6b2615cf283b7df6e2b748df | % Filename : rectwg_te.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 矩形波导 TE 模场量公式
function [ex,ey,ez,hx,hy,hz] = rectwg_te(x,y,z,t,m,n,a,b,omega,A,epsilon_r,mu_r)
epsilon=8.854187817*1e-12*epsilon_r;
mu=4*pi*... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | cyli2cart.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/cyli2cart.m | 425 | utf_8 | 5b5a4567a39430f198959dd9dc04711a | % Filename : cyli2cart.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 柱坐标转换
function [x y ex ey hx hy]=cyli2cart(phi,rho,ephi,erho,hphi,hrho)
[x y]=pol2cart(phi,rho);
ex=cos(phi).*erho-sin(phi).*ephi;
ey=sin(p... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | cirwg_te.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/cirwg_te.m | 885 | utf_8 | fdff16d0efc5fb64a1e4ba24935cf8a4 | % Filename : cirwg_te.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 原型波导
function [ephi,erho,ez,hphi,hrho,hz]=cirwg_te(phi,rho,z,t,m,n,a,omega,A,epsilon_r,mu_r)
epsilon=8.854187817*1e-12*epsilon_r;
mu=4*pi*1e-... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | rectwg_gather.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/rectwg_gather.m | 1,108 | utf_8 | a7d555f3d3e54b259a519f7c9fa828d2 | % Filename : rectwg_gather.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 所有模式的场量叠加
function [ex,ey,ez,hx,hy,hz,jx,jy,jz]=rectwg_gather(mode_list,x,y,z,t,f,a,b,A,epsilon_r,mu_r)
m=mode_list{1}(1);
n=mode_list{1... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | dynamic_func.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/dynamic_func.m | 1,584 | utf_8 | 788b3d44ee0c03da12bf374600f59ba3 | % Filename : visualization_func.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 可视化函数
function [az el]=dynamic_func(types,content,mode_list,a,b,l,steps,m,n,p,f,A,epsilon_r,mu_r,az,el,time)
timelist=0:1/f/30:1/f;
... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | rectres_te.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/rectres_te.m | 777 | utf_8 | 34021791f6efc9f5b3d75fc60b4218fb | % Filename : rectres_te.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 矩形空腔谐振器 TE 模
function [ex,ey,ez,hx,hy,hz] = rectres_te(x,y,z,m,n,p,a,b,l,omega,A,epsilon_r,mu_r)
epsilon=8.854187817*1e-12*epsilon_r;
mu=4*... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | zerobess.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/zerobess.m | 5,240 | utf_8 | 3577c214dd6248cb6e2aa7c558b2dec9 | function x = zerobess(funstr,nu,m)
%ZEROBESS Zeros of Bessel functions/derivatives of 1st and 2nd kind.
% X = ZEROBESS('J',NU,M) finds M positive zeros of the Bessel function
% of the 1st kind, J_nu(X). The order NU is a real number in the range
% 0 to 1e7. Default is NU = 0 and M = 5.
%
% ZEROBESS('Y',NU,M) - ... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | rectwg_tm.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/rectwg_tm.m | 841 | utf_8 | 65c2566cc9bf7c1b76e262f840d17e13 | % Filename : rectwg_tm.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 矩形波导 TM 模场量公式
function [ex,ey,ez,hx,hy,hz] = rectwg_tm(x,y,z,t,m,n,a,b,omega,A,epsilon_r,mu_r)
epsilon=8.854187817*1e-12*epsilon_r;
mu=4*pi*... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | rectres_gather.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/rectres_gather.m | 1,205 | utf_8 | 8360c544c2f23cc512b92ea26ceed74e | % Filename : rectres_gather.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 所有模式的场量叠加
function [ex,ey,ez,hx,hy,hz,jx,jy,jz]=rectres_gather(mode_list,x,y,z,f,a,b,l,A,epsilon_r,mu_r)
m=mode_list{1}(1);
n=mode_list... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | cirwg_tm.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/cirwg_tm.m | 890 | utf_8 | c675d4a48a883327c06db7f4106490f9 | % Filename : cirwg_tm.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 圆波导 TM 模场量分布
function [ephi,erho,ez,hphi,hrho,hz]=cirwg_tm(phi,rho,z,t,m,n,a,omega,A,epsilon_r,mu_r)
epsilon=8.854187817*1e-12*epsilon_r;
mu=... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | wave_visual.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/wave_visual.m | 19,967 | utf_8 | 8f6fa6dcb5d5c2a3c6b24f3c62a48fcc | function varargout = wave_visual(varargin)
% WAVE_VISUAL MATLAB code for wave_visual.fig
% WAVE_VISUAL, by itself, creates a new WAVE_VISUAL or raises the existing
% singleton*.
%
% H = WAVE_VISUAL returns the handle to a new WAVE_VISUAL or the handle to
% the existing singleton*.
%
% WAVE_VISU... |
github | lkwq007/Vector-Filed-Visualization-in-Waveguide-and-Resonator-master | cirwg_gather.m | .m | Vector-Filed-Visualization-in-Waveguide-and-Resonator-master/cirwg_gather.m | 1,122 | utf_8 | acd87b654c107becb49b6ecf617eadeb | % Filename : cirwg_gather.m
% Author : Lnyan
% Email : i@llonely.com
% =============================================================================
% Description :
% 圆波导场量叠加
function [ephi,erho,ez,hphi,hrho,hz,jphi,jrho,jz]=rectwg_gather(mode_list,phi,rho,z,t,f,a,A,epsilon_r,mu_r)
m=mode_list{1}(1);
n=... |
github | jmmonteiro/spls-master | spls.m | .m | spls-master/spls.m | 7,096 | utf_8 | 9b7a6583a6f77cac3a17ca14d8102755 | function [u, v, success] = spls(X, Y, cu, cv, e, itr_lim)
%
% Sparse PLS algorithm, please check Monteiro et al. 2016 for details:
% doi:10.1016/j.jneumeth.2016.06.011
%
% Inputs: X, Y - data matrices in the form: samples x features. These
% should have each feature with mean = 0 and std = ... |
github | McMaster-University-Library/Digital-Archive-Tools-master | xml2struct.m | .m | Digital-Archive-Tools-master/georeferencing-tools/xml2struct.m | 6,351 | utf_8 | 0feee43c103f51c376a7dab2ac8457d0 | function outStruct = xml2struct(input)
%XML2STRUCT converts xml file into a MATLAB structure
%
% outStruct = xml2struct2(input)
%
% xml2struct2 takes either a java xml object, an xml file, or a string in
% xml format as input and returns a parsed xml tree in structure.
%
% Please note that the following characters... |
github | McMaster-University-Library/Digital-Archive-Tools-master | DA_make_georef_matls.m | .m | Digital-Archive-Tools-master/BulkTools/DA_make_georef_matls.m | 10,231 | utf_8 | b2ef520e15cd600708fe46b08442da8d | function [] = DA_make_georef_matls(top_path,ingested_list)
% This function checks if items in the Digital Archive have GCP and README files.
% If it does not, it attempts to find a corresponding GCP file and create the readme file, and move both items to /ToIngest_Georef/
%%% Example Usage:
% DA_make_georef_matls('H:\... |
github | McMaster-University-Library/Digital-Archive-Tools-master | xml2struct.m | .m | Digital-Archive-Tools-master/BulkTools/xml2struct.m | 6,349 | utf_8 | 49a128755c8cd99af0878de3cc5a3175 | function outStruct = xml2struct(input)
%XML2STRUCT converts xml file into a MATLAB structure
%
% outStruct = xml2struct(input)
%
% xml2struct takes either a java xml object, an xml file, or a string in
% xml format as input and returns a parsed xml tree in structure.
%
% Please note that the following characters a... |
github | McMaster-University-Library/Digital-Archive-Tools-master | DA_check_ingested.m | .m | Digital-Archive-Tools-master/BulkTools/DA_check_ingested.m | 4,733 | utf_8 | e922730a3ea8a97bd5010497f5c1bd4e | function [macrepo_id] = DA_check_ingested(top_path,ingested_list)
%%% This function checks items in the Digital Archive to ensure that they
%%% contain all derivative files.
%%% Derivatives include:
%%% The output consists of two tables -- a list of all items reviewed, and
%%% a list of items failing the check stage.
%... |
github | sabinz/DCO-Modelling-of-Deep-Time-Atmospheric-Carbon-Flux-from-Subduction-Zone-Interactions-master | wavelet.m | .m | DCO-Modelling-of-Deep-Time-Atmospheric-Carbon-Flux-from-Subduction-Zone-Interactions-master/wavelet_analysis/grinsted-wavelet-coherence-d987ea4/private/wavelet.m | 5,820 | utf_8 | f48c1d1d0c53b9b5ca499a3251f771a0 | %WAVELET 1D Wavelet transform with optional singificance testing
%
% [WAVE,PERIOD,SCALE,COI] = wavelet(Y,DT,PAD,DJ,S0,J1,MOTHER,PARAM)
%
% Computes the wavelet transform of the vector Y (length N),
% with sampling rate DT.
%
% By default, the Morlet wavelet (k0=6) is used.
% The wavelet basis is normalized t... |
github | sabinz/DCO-Modelling-of-Deep-Time-Atmospheric-Carbon-Flux-from-Subduction-Zone-Interactions-master | wave_signif.m | .m | DCO-Modelling-of-Deep-Time-Atmospheric-Carbon-Flux-from-Subduction-Zone-Interactions-master/wavelet_analysis/grinsted-wavelet-coherence-d987ea4/private/wave_signif.m | 6,564 | utf_8 | 902dbc3d1fb367cd50c144a31dffef4a | %WAVE_SIGNIF Significance testing for the 1D Wavelet transform WAVELET
%
% [SIGNIF,FFT_THEOR] = ...
% wave_signif(Y,DT,SCALE,SIGTEST,LAG1,SIGLVL,DOF,MOTHER,PARAM)
%
% INPUTS:
%
% Y = the time series, or, the VARIANCE of the time series.
% (If this is a single number, it is assumed to be the variance..... |
github | sabinz/DCO-Modelling-of-Deep-Time-Atmospheric-Carbon-Flux-from-Subduction-Zone-Interactions-master | wave_bases.m | .m | DCO-Modelling-of-Deep-Time-Atmospheric-Carbon-Flux-from-Subduction-Zone-Interactions-master/wavelet_analysis/grinsted-wavelet-coherence-d987ea4/private/wave_bases.m | 2,932 | utf_8 | 0006a97e31ea35ae0a9abd0d3a2e03e0 | %WAVE_BASES 1D Wavelet functions Morlet, Paul, or DOG
%
% [DAUGHTER,FOURIER_FACTOR,COI,DOFMIN] = ...
% wave_bases(MOTHER,K,SCALE,PARAM);
%
% Computes the wavelet function as a function of Fourier frequency,
% used for the wavelet transform in Fourier space.
% (This program is called automatically by WAVELE... |
github | BerkeleyLab/Global-Feedback-Simulator-master | dc_matrix.m | .m | Global-Feedback-Simulator-master/source/test_dc_matrix/dc_matrix.m | 2,075 | utf_8 | 51c79ce9038c070be3ae0f7564e25d81 | %%% Function to generate a generalized response matrix according to
%%% the BBFB settings defined in ../top_level/bbf_config.m.
%%% Each row of bbf.measurements represents a particular output of
%%% double compress (e.g. Energy deviation, bunch length deviation,
%%% etc.). First row of bbf.corrections represents amplit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.