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
JonBoley/F31-master
read_parmV.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/read_parmV.m
13,657
utf_8
cfa1bd1639500ea22dfde6ac12773d1f
function [parameterblock] = read_parmV(fptr) % reads and decodes NEL datafile param block and puts them into a struct % pb = read_parmV(fptr) <- reads file open on fptr into structure pb. % Complete contents of structure documented below. % NOTE: this m-file expects an open file on entry and does not close th...
github
JonBoley/F31-master
read_parm1.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/read_parm1.m
9,211
utf_8
521cd07be5e65e23abae45cedde6f009
function [parameterblock] = read_parm1(fptr) % reads and decodes NEL datafile param block and puts them into a struct % pb = read_parm1(fptr) <- reads file open on fptr into structure pb. % Complete contents of structure documented below. % NOTE: this m-file expects an open file on entry and does not close th...
github
JonBoley/F31-master
read_parm.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/read_parm.m
9,330
utf_8
169a4c8d0cbf15b58f321b891cb12829
function [parameterblock] = read_parm(filename) % reads and decodes NEL datafile param block and puts them into a struct % pb = read_parm('a3') <- reads a3.DAT into structure pb. % Complete contents of structure documented in the m file. % PK 10/2/97, EDY 12/8/97 % NOTE: this m-file opens and closes the data...
github
JonBoley/F31-master
pstm.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/pstm.m
9,073
utf_8
ad1add4a172e3d92de0c84f239f22434
function pstm(str) % PSTM('a4') - computes and displays PST histograms of data in the file 'a4.DAT' % which should be in the lab standard format. % PSTM('a4b0.5f7') computes a PST histogram with binwidth 0.5 ms and filters % it with a triangular window of width 7 bins. % Filename must be first, but binwidth and ...
github
JonBoley/F31-master
pst.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/pst.m
4,476
utf_8
01daebac2b28cfd11718d929d7d26b04
function [psth_dat,time,stim_string]=pst(fn) % PSTH maker: PK 12/20/98 % 'a4-7,12,15-17b2f7t400z50-51z100-102' % where % a4-7,12,15-17 means process P. Nos. 4-7, 12, 15-17 % b2 means use a binwidth of 2 ms (optional) % f7 means filter with a 7-bin wide triangular filter (optional) % t400 means f...
github
JonBoley/F31-master
btq2.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/btq2.m
2,411
utf_8
a8bb0e9a75d004ec8a20c23622ce2dff
%function used to find Q10 of TC, requires colomn vectors 'frequency' and 'intensity' %which uses a slightly different method and takes into account cases in which either or both %side of TC end before reaching 10dB above threshold. %original program by Elizateth Allegretto (1998), modified by Teng Ji (1999) func...
github
JonBoley/F31-master
read_tc_cal3.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/read_tc_cal3.m
4,192
utf_8
f6536934c7536b9fef7fee8c21e7e9af
%[tcdata,bf,thresh]=read_tc_cal(filename,calfile) % Usage: type [tcdata,bf,thresh]=read_tc_cal('a3','a2') to read tuning curve % data from tuning curve file a3.DAT, with a2.DAT as the % calibration file. Program outputs tuning curve values, bf, threshold function [tcdata_cal,bf,thresh]=read_tc_cal(filename,cal...
github
JonBoley/F31-master
read_tc_cal.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/read_tc_cal.m
3,632
utf_8
3b4937ee8bb4e9ea8ca5e577a819f398
%[tcdata,bf,thresh]=read_tc_cal(filename,calfile) % Usage: type [tcdata,bf,thresh]=read_tc_cal('a3','a2') to read tuning curve % data from tuning curve file a3.DAT, with a2.DAT as the % calibration file. Program outputs tuning curve values, bf, threshold function [tcdata_cal,bf,thresh]=read_tc_cal(filename,cal...
github
JonBoley/F31-master
psth(old).m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/psth(old).m
24,149
utf_8
04ffebf637c59e56454290e3e5fe306d
function pst(str); % PST('a4-6,9') - computes and displays PST histograms of data in the files % a4.DAT, a5.DAT, a6.DAT, a9.DAT which should be in the lab standard format. % PST('a4b0.5f7') computes a PST histogram with binwidth 0.5 ms and filters % it with a triangular window of width 7 bins. % Filename must be ...
github
JonBoley/F31-master
ratep.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/ratep.m
24,242
utf_8
44c13d037f07bd059e65d7a0b18a5813
function [drat,srat,abval,npts,nralvs]=ratep(str) % RATEP('a4-7,15[s][f]') - computes and displays rate versus level functions % for driven and spontaneous rates from the files specified, which should % be in standard lab format. % Options: s - superimposes files, otherwise are averaged together % f...
github
JonBoley/F31-master
getII.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/getII.m
3,547
utf_8
448f29190eb81658bb3faee083908d15
function [nthr,spont,nlocr,nhicr,dynr,rmax,hislope,hioff,nhi1,nhi2] = ... getII(drate,absc,thrin,abmxin,abmnin); % Function computes dynamic range and high frequency slope for type II and similar % units. Proceeds by: % 1. Finds threshold as first point 3 sd above average rate % 2. Finds max value withi...
github
JonBoley/F31-master
ratepV.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/ratepV.m
26,921
utf_8
dd7bb5bd57d32c2e2023bbecde6f23d3
function [drat,srat,abval,npts,nralvs]=ratepV(str) % RATEPV('a4-7,15[s][f]') - computes and displays rate versus level functions % for driven and spontaneous rates from the files specified, which should % be in standard lab format. Also reads PRE_GNUSYS files. % Options: s - superimposes files, otherwise are av...
github
JonBoley/F31-master
read_parmV.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/read_parmV.m
13,657
utf_8
cfa1bd1639500ea22dfde6ac12773d1f
function [parameterblock] = read_parmV(fptr) % reads and decodes NEL datafile param block and puts them into a struct % pb = read_parmV(fptr) <- reads file open on fptr into structure pb. % Complete contents of structure documented below. % NOTE: this m-file expects an open file on entry and does not close th...
github
JonBoley/F31-master
read_parm1.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/read_parm1.m
9,211
utf_8
521cd07be5e65e23abae45cedde6f009
function [parameterblock] = read_parm1(fptr) % reads and decodes NEL datafile param block and puts them into a struct % pb = read_parm1(fptr) <- reads file open on fptr into structure pb. % Complete contents of structure documented below. % NOTE: this m-file expects an open file on entry and does not close th...
github
JonBoley/F31-master
read_parm.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/read_parm.m
9,330
utf_8
169a4c8d0cbf15b58f321b891cb12829
function [parameterblock] = read_parm(filename) % reads and decodes NEL datafile param block and puts them into a struct % pb = read_parm('a3') <- reads a3.DAT into structure pb. % Complete contents of structure documented in the m file. % PK 10/2/97, EDY 12/8/97 % NOTE: this m-file opens and closes the data...
github
JonBoley/F31-master
pstm.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/pstm.m
9,073
utf_8
ad1add4a172e3d92de0c84f239f22434
function pstm(str) % PSTM('a4') - computes and displays PST histograms of data in the file 'a4.DAT' % which should be in the lab standard format. % PSTM('a4b0.5f7') computes a PST histogram with binwidth 0.5 ms and filters % it with a triangular window of width 7 bins. % Filename must be first, but binwidth and ...
github
JonBoley/F31-master
pst.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/pst.m
4,476
utf_8
01daebac2b28cfd11718d929d7d26b04
function [psth_dat,time,stim_string]=pst(fn) % PSTH maker: PK 12/20/98 % 'a4-7,12,15-17b2f7t400z50-51z100-102' % where % a4-7,12,15-17 means process P. Nos. 4-7, 12, 15-17 % b2 means use a binwidth of 2 ms (optional) % f7 means filter with a 7-bin wide triangular filter (optional) % t400 means f...
github
JonBoley/F31-master
btq2.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/EDYfiles/origs/btq2.m
2,411
utf_8
a8bb0e9a75d004ec8a20c23622ce2dff
%function used to find Q10 of TC, requires colomn vectors 'frequency' and 'intensity' %which uses a slightly different method and takes into account cases in which either or both %side of TC end before reaching 10dB above threshold. %original program by Elizateth Allegretto (1998), modified by Teng Ji (1999) func...
github
JonBoley/F31-master
mat2text.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/AFfunctions/mat2text.m
3,820
utf_8
6267fe42f1bc91fccc509bcac893f8f6
function mat2text(x,fid,level) % MAT2TEXT - writes a matlab variable to a text file in a matlab mfile format. % The variable can be retrieved by evaluating (executing) the file. % The variable can be of any intrinsic matlab format (struct, cell, % ND array, string and sparse). % ...
github
JonBoley/F31-master
struct2str.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/AFfunctions/struct2str.m
4,888
utf_8
27820a0b3f813efb09d58124e1ea5432
function [str,cur_line] = struct2str(s,units,max_width,max_struct_elem, ident_str,total_ident_len,str,cur_line) % % AF 11/6/01 if (exist('units','var') ~= 1) units = struct([]); end if (exist('max_width','var') ~= 1) max_width = Inf; end if (exist('max_struct_elem','var') ~= 1) max_struct_elem =...
github
JonBoley/F31-master
rescale_waveform.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/NEL_TDT_Mfiles/rescale_waveform.m
596
utf_8
de7c7e5f088154e1b4c7440fb60b6f7c
%########################################################################################## function out_wave = rescale_waveform(in_wave,Level_dBSPL,dBreTONE) % x.Stimuli.BASELINE.dBreTONE % x.Stimuli.Condition.Level_dBSPL %########################################################################################## ...
github
JonBoley/F31-master
window_waveform.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/NEL_TDT_Mfiles/window_waveform.m
739
utf_8
f2e0f7dc24932d2b2ffd250867140649
%########################################################################################## function out_wave = window_waveform(in_wave,ur_Hz,dur_ms) %########################################################################################## stimOn_sec = dur_ms / 1000; rf_time_sec = default_rise_time(stimOn_sec * 1...
github
JonBoley/F31-master
refit_waveform.m
.m
F31-master/Vowel_STMP/Mfiles/MATLAB Mfiles/NEL_TDT_Mfiles/refit_waveform.m
1,041
utf_8
51ddd498526abe46f4555077cdc865fc
%########################################################################################## function out_wave = refit_waveform(in_wave,ur_Hz,dur_ms) %########################################################################################## stimOn_sec = dur_ms / 1000; required_nSamples = floor(ur_Hz*stimOn_sec); c...
github
JonBoley/F31-master
plot_EHINrlfs.m
.m
F31-master/Vowel_STMP/Mfiles/STMPfunctions/plot_EHINrlfs.m
4,297
utf_8
0a9f8cdc615fb4b3d14ca27970bd81c3
function dBAtt_2_SNR = plot_EHINrlfs(RLFpics,CALpic) % File: plot_EHINrlfs.m % Modified from: quick_EHINrlfs.m (to clean up for ISH) % Modified (MHeinz 18Apr2005) to plot vs noise Attenuation % M.Heinz: 11Nov2004 (From GE: quick_vowel) % For NOHR % % USAGE:quick_vowel(RLFpics,CALpic) [e.g., quick_vowel([2 3],1)...
github
JonBoley/F31-master
plot_EHrlfs.m
.m
F31-master/Vowel_STMP/Mfiles/STMPfunctions/plot_EHrlfs.m
5,820
utf_8
5ac7d020e85ca1264548d19741d2ecea
function dBAtt_2_SPL = plot_EHrlfs(RLFpics,CALpic,FIGnum) % File plot_EHrlfs.m % Modified from: quick_EHrlfs.m (to clean up for ISH) % M.Heinz: 11Nov2004 (From GE: quick_vowel) % For NOHR % % USAGE:quick_vowel(RLFpics,CALpic) [e.g., quick_vowel([2 3],1)] % Plots RLFs for a set of vowel features % % RLFpics: v...
github
JonBoley/F31-master
doNOHRmex.m
.m
F31-master/Vowel_STMP/Mfiles/newMfiles/doNOHRmex.m
995
utf_8
9f4d276001e67952eef05bb699eebd38
function doNOHRmex(fnames,dist,debug) % DOMEX calls mex % AF 10/15/01 global NOHR_dir root_dir=fullfile(NOHR_dir,'Data Analysis','NOHR Mfiles'); if (exist('dist','var') ~= 1) dist = 0; end if (exist('debug','var') ~=1) debug = 0; end orig_dir = cd([root_dir '\mexsource']); mexdir = [root_dir]; if (isce...
github
JonBoley/F31-master
CCCanal_6.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_6.m
47,226
utf_8
8c1afeaec0d423a455b08ccb0a60a6f4
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_6(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have no...
github
JonBoley/F31-master
CCCanal_3a.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_3a.m
29,993
utf_8
e3a9de0f6ddb2d0d39abec317ffe8bed
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_3(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % CCCanal_0: 1 basic RUN using all spike REPs % CCCanal_1: Use all spike REPs, run 5 RS reps, avg PSDs, compute 1 CCC % CCCanal_2: Use all spike REPs, r...
github
JonBoley/F31-master
Copy of CCCanal_3.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/Copy of CCCanal_3.m
31,977
utf_8
fb983698856e309c1652e6fa77ad98e6
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_3(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have no...
github
JonBoley/F31-master
CCCanal_1.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_1.m
24,380
utf_8
1d74bb7225b7fdb96a680109497c5945
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_1(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % CCCanal_0: 1 basic RUN using all spike REPs % CCCanal_1: Use all spike REPs, run 5 RS reps, avg PSDs, compute 1 CCC % CCCanal_2: Use all spike REPs, r...
github
JonBoley/F31-master
CCCanal_0.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_0.m
23,102
utf_8
df6d74910dee3076eec8190d88375428
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_0(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal_0.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % CCCanal_0: 1 basic RUN using all spike REPs % CCCanal_1: Use all spike REPs, run 5 RS reps, avg PSDs, compute 1 CCC % CCCanal_2: Use all spike REPs,...
github
JonBoley/F31-master
CCCanal_2.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_2.m
24,789
utf_8
9a9041e3d1778162a3be092a421687c1
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_2(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % CCCanal_0: 1 basic RUN using all spike REPs % CCCanal_1: Use all spike REPs, run 5 RS reps, avg PSDs, compute 1 CCC % CCCanal_2: Use all spike REPs, r...
github
JonBoley/F31-master
CCCanal_4.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_4.m
31,873
utf_8
c34819f606865b9491887ae69df35ac6
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_4(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have no...
github
JonBoley/F31-master
CCCanal_3.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_3.m
40,031
utf_8
1317926f77229b1c0f97f98bc44adae6
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_3(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have no...
github
JonBoley/F31-master
CCCanal_5.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/CCCanal_5.m
40,463
utf_8
61a5ce1e748e7fb66275889476596950
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_3(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have no...
github
JonBoley/F31-master
CCCanal_ORIG.m
.m
F31-master/Vowel_STMP/Mfiles/SCCfunctions/OLD/CCCanal_ORIG.m
22,649
utf_8
343ea949f93a393933a402a1c3ebfab0
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % General function for neural cross-correlation analyses/metrics. % % this program computes the envelope and fine structure coding and % correlations from...
github
JonBoley/F31-master
calcCDreBF_manual.m
.m
F31-master/Vowel_STMP/Model/calcCDreBF_manual.m
12,283
utf_8
d1d2b3d3ba175cb78f65f748d82df77d
function varargout = calcCDreBF_manual(varargin) % CALCCDREBF_MANUAL M-file for calcCDreBF_manual.fig % CALCCDREBF_MANUAL, by itself, creates a new CALCCDREBF_MANUAL or raises the existing % singleton*. % % H = CALCCDREBF_MANUAL returns the handle to a new CALCCDREBF_MANUAL or the handle to % the ex...
github
JonBoley/F31-master
rescale_waveform.m
.m
F31-master/Vowel_STMP/Model/Neural metrics/NEL_TDT_Mfiles/rescale_waveform.m
596
utf_8
de7c7e5f088154e1b4c7440fb60b6f7c
%########################################################################################## function out_wave = rescale_waveform(in_wave,Level_dBSPL,dBreTONE) % x.Stimuli.BASELINE.dBreTONE % x.Stimuli.Condition.Level_dBSPL %########################################################################################## ...
github
JonBoley/F31-master
window_waveform.m
.m
F31-master/Vowel_STMP/Model/Neural metrics/NEL_TDT_Mfiles/window_waveform.m
739
utf_8
f2e0f7dc24932d2b2ffd250867140649
%########################################################################################## function out_wave = window_waveform(in_wave,ur_Hz,dur_ms) %########################################################################################## stimOn_sec = dur_ms / 1000; rf_time_sec = default_rise_time(stimOn_sec * 1...
github
JonBoley/F31-master
refit_waveform.m
.m
F31-master/Vowel_STMP/Model/Neural metrics/NEL_TDT_Mfiles/refit_waveform.m
1,049
utf_8
9dc5cd3974f6fa82f804848946021639
%########################################################################################## function out_wave = refit_waveform(in_wave,ur_Hz,dur_ms) %########################################################################################## stimOn_sec = dur_ms / 1000; required_nSamples = floor(ur_Hz*stimOn_sec); c...
github
JonBoley/F31-master
CCCanal_4.m
.m
F31-master/Vowel_STMP/Model/Neural metrics/SCCfunctions/CCCanal_4.m
31,250
utf_8
1fe922760cb0745d579fb28f21a75059
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_4(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have not been ...
github
JonBoley/F31-master
CCCanal_3.m
.m
F31-master/Vowel_STMP/Model/Neural metrics/SCCfunctions/CCCanal_3.m
31,321
utf_8
3fa8957d8a16f3c6c85c6c35df8e92d7
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal_3(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % Modified: July 29, 2008 to generalize SCadjpeak and CCCenv comps based on % different frequency regions. % *** MODIFIED CCCanal_3 ONLY, 0, 1, 2 have not been ...
github
JonBoley/F31-master
CCCanal.m
.m
F31-master/Vowel_STMP/Model/Neural metrics/SCCfunctions/CCCanal.m
20,427
utf_8
f6546c55b8164d7f15764ac137165d34
function [SACSCCfunctions,SACSCCmetrics,paramsOUT] = CCCanal(SpikeTrains,paramsIN,PLOT_15panel) % File: CCCanal.m % M. Heinz/ J. Swaminathan % May 20, 2008 % % General function for neural cross-correlation analyses/metrics. % % this program computes the envelope and fine structure coding and % correlations from...
github
fkloosterman/matlab-master
segcount.m
.m
matlab-master/fkSegments/segcount.m
1,176
utf_8
77dd6d5ebc9d1f3d29f371fb12147716
function c = segcount( segs, x ) %SEGCOUNT cumulative count of segments % % fcn=SEGCOUNT(segments) returns a handle to a function that accepts a % single argument and returns the cumulative count of segments at the % values in the argument. (i.e. the function counts the number of % segments which contain the value ...
github
fkloosterman/matlab-master
inclPoints.m
.m
matlab-master/fkUtilities/inclPoints.m
3,057
utf_8
4c362b99bb475650753ed370c325a590
function validpts = inclPoints(points, include, exclude) %INCLPOINTS select 2D coordinates based on inclusive and exclusive regions % % b=INCLPOINTS(coordinates,include) for a nx2 matrix of 2d coordinates % returns true if the coordinate lies within the include boundaries and % false otherwise. Include boundaries ca...
github
fkloosterman/matlab-master
struct2param.m
.m
matlab-master/fkUtilities/struct2param.m
1,054
utf_8
b44fcd44d242b7c67f12e12337ee71f2
function p = struct2param( s, expand ) %STRUCT2PARAM convert structure to parameter/value pairs % % p=STRUCT2PARAM(struct) returns a cell array of parameter/value pairs % based on the structure. % % p=STRUCT2PARAM(struct,expand) expands substructures % % Copyright 2005-2008 Fabian Kloosterman %check input argumen...
github
fkloosterman/matlab-master
nanquad.m
.m
matlab-master/fkUtilities/nanquad.m
4,920
utf_8
7cb627f3fb2e060467fae6d4d26d7adc
function [Q,fcnt] = nanquad(funfcn,a,b,tol,trace,varargin) %NANQUAD evaluate integral, ignoring NaNs % % [...]=NANQUAD(...) same as quad, but ignores NaNs % % See also QUAD % %QUAD Numerically evaluate integral, adaptive Simpson quadrature. % Q = QUAD(FUN,A,B) tries to approximate the integral of function % FU...
github
fkloosterman/matlab-master
super.m
.m
matlab-master/fkUtilities/super.m
1,116
utf_8
9954d1eb9c3d45fbe6ec5774cbaf473f
function superobj = super(obj, base) %SUPER super object of object % % superobj=SUPER(obj) returns the super object of an object or [] if % none exists. Only works for single inheritance. % % superobj=SUPER(obj,1) returns the super base object of an object. Only % works for single inheritance. % % super -- Super-...
github
fkloosterman/matlab-master
fill_dvd.m
.m
matlab-master/fkUtilities/fill_dvd.m
4,608
utf_8
bf7fd1b3dbd0c11777282fd8428a7470
function fill_dvd( rootdir, varargin ) %FILL_DVD create dvd file lists for data backup % % FILL_DVD(rootdir) constructs multiple lists of files searched in all % rootdir and all its subdirectories. Each list contains files that % together could fill a DVD. % % FILL_DVD(rootdir,parm1,val1,...) specifies optional par...
github
fkloosterman/matlab-master
binsearch.m
.m
matlab-master/fkUtilities/binsearch.m
2,861
utf_8
753f7921666cdc5ff1c9365137b3a6b7
function v = binsearch( data, value, bias ) %BINSEARCH binary vector search % % idx=BINSEARCH(data,value) find the index of the element in the % data vector that is nearest to the requested value using a fast % binar search algorithm. Data should be sorted; this is not % checked however (for performance reasons) % ...
github
fkloosterman/matlab-master
struct_union.m
.m
matlab-master/fkUtilities/struct_union.m
2,205
utf_8
d357ecf3fe4fe67a2d8d8448825b0779
function S = struct_union( S1, S2 ) %STRUCT_UNION return the union of two structures % % s=STRUCT_UNION(s1,s2) returns the union of two structures. If a field % is present in both s1 and s2 and at least one of the fields is not a % struct then the field from s2 is added. If both fields are structs the % function re...
github
fkloosterman/matlab-master
binfcn_gen.m
.m
matlab-master/fkUtilities/binfcn_gen.m
5,492
utf_8
15927945ddd60d956dd175586f5cd95d
function f = binfcn_gen( option, varargin ) %BINFCN_GEN generator of binning functions % % f=BINFCN_GEN(fcn_type,...) This function generates a function handle % for a binning function. Arguments two and up are passed on to the % binning function. The signature for a binning function is: binedges = % fcn( time_wind...
github
fkloosterman/matlab-master
dump.m
.m
matlab-master/fkUtilities/@configobj/dump.m
2,828
utf_8
72c30cf3b0e361c2feedbf30dd08e3ee
function val = dump( C, name, level ) %DUMP dump configobj to a string % % s=DUMP(c) dumps the contents of a configobj to a string. This function % calls itself recursively for all nested sections. % % s=DUMP(c,name) internal use only, specify the name of the current % section that is written to the string. % % s=...
github
fkloosterman/matlab-master
complex_track.m
.m
matlab-master/fkEnvironment/complex_track.m
13,173
utf_8
9a6e82dc513bef488a823a488a52fabf
classdef complex_track < env_base & linearization_base properties (Hidden=true) edges = zeros(0,2) %list of (v1,v2) vertices vertices = zeros(0,2) %list of (x,y) coordinates vertex_labels = {}; polylines = zeros(0,2) %list of polylines corresponding to the edges graph = ...
github
fkloosterman/matlab-master
multi_track.m
.m
matlab-master/fkEnvironment/multi_track.m
7,720
utf_8
7fe596336d0cb18207341369c4ef46f1
classdef multi_track < env_base & linearization_base properties (Hidden=true) tracks end properties (Dependent=true,SetAccess=protected) length track_lengths end methods function obj=multi_track(tracks) if nargin<1 t...
github
sakov/gridutils-c-master
viewbound.m
.m
gridutils-c-master/gridutils/test/viewbound.m
518
utf_8
53e463e33479f86df02ea0bac53e77a5
function viewbound(file); [x, y] = fload(file); plot(x,y,'k.-'); axis equal; hold on; return; function [x,y] = fload(fname); f = fopen(fname); if f < 0 return; end x = []; y = []; str = fgetl(f); while str >= 0 if str(1) ~= '#' xy = ss...
github
sakov/gridutils-c-master
viewbathydata.m
.m
gridutils-c-master/gridutils/test/viewbathydata.m
1,221
utf_8
889e3e78607d91f3e2cf50a870ced132
function viewbathydata(fname, zmax, txt); p = load(fname); doprint = 0; if exist('txt', 'var') if txt ~= 0 doprint = 1; end end if exist('zmax', 'var') p = p(find(p(:,3) < zmax),:); else zmax = max(p(:,3)); end zmin = min(0.0, min(p(:,3)...
github
sakov/gridutils-c-master
vb.m
.m
gridutils-c-master/gridutils/test/vb.m
5,131
utf_8
b49c62d56e41814614fe1a096449e77a
function vb(fname_z, fname_x, fname_y, nce1, nce2, zmax); if ~exist(fname_z, 'file') fprintf(1, '"%s" not found\n', fname_z); return end if ~exist(fname_x, 'file') fprintf(1, '"%s" not found\n', fname_x); return end if ~exist(fname_y, 'file') fprintf(1, '"%s" ...
github
sakov/gridutils-c-master
viewgrid.m
.m
gridutils-c-master/gridutils/test/viewgrid.m
1,967
utf_8
9721a2e3254f9a00ef0c1d85fd50ef0a
function viewgrid(fname, f, i0, j0) [nx, ny, x, y] = fload(fname); xmin = min(x); xmax = max(x); ymin = min(y); ymax = max(y); xdiff = xmax - xmin; ydiff = ymax - ymin; diff = max([xdiff ydiff]) / 20.0; xmin = xmin - diff; xmax = xmax + diff; ymin = ymin - diff; ymax = y...
github
1nfused/lcr-meter-app-master
interactive_led_bar_graph.m
.m
lcr-meter-app-master/Examples/Matlab/interactive_led_bar_graph.m
2,940
utf_8
d819f6d4271cc5f9a27dddf0dff67361
function sliderDemo f = figure(1); global p %// initialize the slider h = uicontrol(... 'parent' , f,... 'units' , 'normalized',... %// pixels settings 'style' , 'slider',... 'position', [0.05 0.05 0.9 0.05],... '...
github
1nfused/lcr-meter-app-master
interactive_voltage_setting_on_slow_analog_output.m
.m
lcr-meter-app-master/Examples/Matlab/interactive_voltage_setting_on_slow_analog_output.m
2,091
utf_8
648ebf76d2b7e69479d077a458325649
function sliderDemo f = figure(1); global p %// initialize the slider h = uicontrol(... 'parent' , f,... 'units' , 'normalized',... %// pixels settings 'style' , 'slider',... 'position', [0.05 0.05 0.9 0.05],... 'min' , 1,......
github
WickedShell/ardupilot-master
RotToQuat.m
.m
ardupilot-master/libraries/AP_NavEKF/Models/Common/RotToQuat.m
288
utf_8
9239706354267c8f5f2a29f992c07de9
% convert froma rotation vector in radians to a quaternion function quaternion = RotToQuat(rotVec) vecLength = sqrt(rotVec(1)^2 + rotVec(2)^2 + rotVec(3)^2); if vecLength < 1e-6 quaternion = [1;0;0;0]; else quaternion = [cos(0.5*vecLength); rotVec/vecLength*sin(0.5*vecLength)]; end
github
WickedShell/ardupilot-master
NormQuat.m
.m
ardupilot-master/libraries/AP_NavEKF/Models/Common/NormQuat.m
198
utf_8
ed913e87efc9194a2c52b266fced8da7
% normalise the quaternion function quaternion = normQuat(quaternion) quatMag = sqrt(quaternion(1)^2 + quaternion(2)^2 + quaternion(3)^2 + quaternion(4)^2); quaternion(1:4) = quaternion / quatMag;
github
WickedShell/ardupilot-master
QuatToEul.m
.m
ardupilot-master/libraries/AP_NavEKF/Models/Common/QuatToEul.m
436
utf_8
c19c9235052d99b8b943a7157e83fc94
% Convert from a quaternion to a 321 Euler rotation sequence in radians function Euler = QuatToEul(quat) Euler = zeros(3,1); Euler(1) = atan2(2*(quat(3)*quat(4)+quat(1)*quat(2)), quat(1)*quat(1) - quat(2)*quat(2) - quat(3)*quat(3) + quat(4)*quat(4)); Euler(2) = -asin(2*(quat(2)*quat(4)-quat(1)*quat(3))); Euler(3) =...
github
CaptainFalco/OpenPilot-master
analyzeINSGPS.m
.m
OpenPilot-master/ground/openpilotgcs/src/experimental/SerialLogger/analyzeINSGPS.m
2,192
utf_8
5ff25ac538c86ff94edb1627e47f29aa
function [q gyro accel rpy time] = analyzeINSGPS(fn) % Analyzes data collected from SerialLogger while DUMP_FRIENDLY % enabled in AHRS % % [q gyro accel time] = analyzeINSGPS(fn) fid = fopen(fn); i = 1; data(i).block = -1; tline = fgetl(fid); while ischar(tline) && ~isempty(tline) switch(tline(1)) case 'q...
github
CaptainFalco/OpenPilot-master
OPPlots.m
.m
OpenPilot-master/ground/openpilotgcs/src/plugins/uavobjects/OPPlots.m
4,727
utf_8
7c4904e8a2cea9eaefc753da7cd5b467
function OPPlots() [FileName,PathName,FilterIndex] = uigetfile('*.mat'); matfile = strcat(PathName,FileName); load(matfile); %load('specificfilename') TimeVA = [VelocityState.timestamp]/1000; VA = [[VelocityState.North] [VelocityState.East] [VelocityState.Down]]...
github
CaptainFalco/OpenPilot-master
openpilot2kml.m
.m
OpenPilot-master/matlab/revo/openpilot2kml.m
7,123
utf_8
8d376a92373813a3ea2042b8291d9b1f
function openpilot2kml(matfile) if ~exist('ge_colorbar', 'file') msg=['Google Earth Toolbox must be present and included in the Matlab path. For example:'... 10 ' path(path, ''/Users/ponthy/googleearth''']; error(msg) end if nargin==0 [FileName,PathName] = uigetfile('*.mat'); matfile = strcat(PathName,FileName)...
github
hyginn/Systemikon-master
RandIndex.m
.m
Systemikon-master/FIND/SNF/RandIndex.m
1,662
utf_8
5d251e24a80f1a5997dc747861bee777
function [AR,RI,MI,HI]=RandIndex(c1,c2) %RANDINDEX - calculates Rand Indices to compare two partitions % ARI=RANDINDEX(c1,c2), where c1,c2 are vectors listing the % class membership, returns the "Hubert & Arabie adjusted Rand index". % [AR,RI,MI,HI]=RANDINDEX(c1,c2) returns the adjusted Rand index, % the unadjusted R...
github
hyginn/Systemikon-master
SNF.m
.m
Systemikon-master/FIND/SNF/SNF.m
1,204
utf_8
04c1988b84cc2561999d4cd0aa63890f
function [W]=SNF(Wall,K,t,ALPHA) if nargin < 2 K = 20; end if nargin < 3 t = 20; end if nargin < 4 ALPHA = 1; end C = length(Wall); [m,n]=size(Wall{1}); for i = 1 : C Wall{i} = Wall{i}./repmat(sum(Wall{i},2),1,n); Wall{i} = (Wall{i} + Wall{i}')/2; end for i = 1 : C newW{i} = FindDominateSet(...
github
hyginn/Systemikon-master
litekmeans.m
.m
Systemikon-master/FIND/SNF/SNFmatlab_v2.1/litekmeans.m
15,116
utf_8
f9a76a4de4f1e8bf56e3e4030be316b6
function [label, center, bCon, sumD, D] = litekmeans(X, k, varargin) %LITEKMEANS K-means clustering, accelerated by matlab matrix operations. % % label = LITEKMEANS(X, K) partitions the points in the N-by-P data matrix % X into K clusters. This partition minimizes the sum, over all % clusters, of the within-clus...
github
hyginn/Systemikon-master
SPARAFAC_TT.m
.m
Systemikon-master/FIND/SNF/GraphFuse/SPARAFAC_TT.m
3,008
utf_8
c5ffd5b8f205821c6edb9696af213537
function [A B C cost]=SPARAFAC_TT(X,F,lambda) %Sparse PARAFAC decomposition with Non-negativity Constraints, for balanced %sparsity %Nikos Sidiropoulos, Vagelis Papalexakis, 2011 % SMALLNUMBER = 10^8*eps; SMALLNUMBER=10^-4; MAXNUMITER = 20; s = size(X); I=s(1);J=s(2);K=s(3); factors = cp_nmu(X,F); A=sparse(factors.U...
github
hyginn/Systemikon-master
cp_apr.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/cp_apr.m
7,920
utf_8
5e7833d58cab0d616e25f7d89a374e1d
function [M,Minit,output] = cp_apr(X, R, varargin) %CP_APR Compute nonnegative CP with alternating Poisson regression. % % M = CP_APR(X, R) computes an estimate of the best rank-R % CP model of a tensor X using an alternating Poisson regression. % The input X can be a tensor, sptensor, ktensor, or ttensor. The % ...
github
hyginn/Systemikon-master
export_data.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/export_data.m
2,285
utf_8
538198494bec6a8dff8f7556fb6f8255
function export_data(A, fname) %EXPORT_DATA Export tensor-related data to a file. % % EXPORT(A,FNAME) exports object A to the file named FNAME in plain ASCII % text. Export currently supports exporting the following data types: % % - tensor % - matrix % % In the case of a tensor, the first three line...
github
hyginn/Systemikon-master
cp_nmu.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/cp_nmu.m
4,976
utf_8
633d7166c5a07d5533e57ba3ccb25162
function [P,Uinit] = cp_nmu(X,R,opts) %CP_NMU Compute nonnegative CP with multiplicative updates. % % P = CP_NMU(X,R) computes an estimate of the best rank-R PARAFAC % model of a tensor X with nonnegative constraints on the factors. % This version uses the Lee & Seung multiplicative updates from % their NMF alg...
github
hyginn/Systemikon-master
tt_combinator.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/tt_combinator.m
12,324
utf_8
9a8339d3a109b275537a2e5a3e9e3c9e
function [A] = tt_combinator(N,K,s1,s2) %TT_COMBINATOR Perform basic permutation and combination samplings. % COMBINATOR will return one of 4 different samplings on the set 1:N, % taken K at a time. These samplings are given as follows: % % PERMUTATIONS WITH REPETITION/REPLACEMENT % COMBINATOR(N,K,'p','r') -...
github
hyginn/Systemikon-master
import_data.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/import_data.m
1,738
utf_8
a654bb87c41d4fa404de6c65787299ab
function A = import_data(fname) %IMPORT_DATA Import tensor-related data to a file. % % A = IMPORT_DATA(FNAME) imports an object A from the file named FNAME. % The supported data types and formatting of the file are explained in % EXPORT_DATA. % % See also TENSOR, EXPORT_DATA % %MATLAB Tensor Toolbox. %Copyrigh...
github
hyginn/Systemikon-master
create_problem.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/create_problem.m
12,523
utf_8
2ce0a9e79d83fb24168da4552f52c44a
function [info,params] = create_problem(varargin) %CREATE_PROBLEM Create test problems for tensor factorizations. % % INFO = CREATE_PROBLEM('Param',value,...) creates a tensor factorization % test problem. It generates a solution corresponding to a ktensor or a % ttensor, and then it generates an example data ten...
github
hyginn/Systemikon-master
renumber.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/@sptensor/private/renumber.m
1,606
utf_8
b0e7ca64b6641a9f0ac50bef3e9ae5ef
function [newsubs, newsz] = renumber(subs, sz, range) %RENUMBER indices for sptensor subsref % % [NEWSUBS,NEWSZ] = RENUMBER(SUBS,SZ,RANGE) takes a set of % original subscripts SUBS with entries from a tensor of size % SZ. All the entries in SUBS are assumed to be within the % specified RANGE. These subscripts are t...
github
hyginn/Systemikon-master
tucker_me.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/met/tucker_me.m
4,560
utf_8
3216bec3b59aecd3b4a11c8e4c559039
function [T, max_mem, Uinit] = tucker_me(X, R, esz, opts) %TUCKER_ME Memory-efficient Tucker higher-order orthogonal iteration. % % T = TUCKER_ME(X,R,ESZ) computes the best rank(R1,R2,..,Rn) % approximation of tensor X, according to the specified dimensions % in vector R. ESZ specifies the number of dimensions th...
github
hyginn/Systemikon-master
tucker_me_test.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/met/tucker_me_test.m
3,079
utf_8
7cd5d5bf56ea1d8a82ef189d3c71d564
function tucker_me_test %TUCKER_ME_TEST Very simple tests of tucker_me. % Code by Tamara Kolda and Jimeng Sun, 2008. % % Based on the paper: % T. G. Kolda and J. Sun. Scalable Tensor Decompositions for Multi-aspect % Data Mining. In: ICDM 2008: Proceedings of the 8th IEEE International % Conference on Data M...
github
hyginn/Systemikon-master
ttm_me.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/met/ttm_me.m
4,085
utf_8
241d426fee6a1d228fd2ca6c01db66b1
function Y = ttm_me(X, U, edims, sdims, tflag) %TTM_ME Memory-efficient sptensor times matrix. % % Y = TTM_ME(X, U, EDIMS, SDIMS, TFLAG) handles some dimensions % elementwise and others in the standard way. Here, X is a sparse tensor % (sptensor), U is a cell array of matrices of length ndims(X), % EDIMS speci...
github
hyginn/Systemikon-master
fixsigns.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/@ktensor/fixsigns.m
3,162
utf_8
8a24ae047737b6b7c2b6e62347dcd2d0
function K = fixsigns(K,K0) %FIXSIGNS Fix sign ambiguity of a ktensor. % % K = FIXSIGNS(K) makes it so that the largest magnitude entries for % each vector in each factor of K are positive, provided that the % sign on *pairs* of vectors in a rank-1 component can be flipped. % % K = FIXSIGNS(K,K0) returns a vers...
github
hyginn/Systemikon-master
datadisp.m
.m
Systemikon-master/FIND/SNF/GraphFuse/tensor_toolbox_2.5/@ktensor/datadisp.m
3,162
utf_8
0b9d29cbfc884a9dbb6eec3a8729b7b1
function datadisp(T, dimlabels, opts) %DATADISP Special display of a ktensor. % % DATADISP(T,LABELS) displays the largest positive entries of each rank-1 % factor of T using the corresponding labels. LABELS is a cell array of % size ndims(T) such that LABELS{n} is a string cell array of length % size(T,n). % %...
github
hyginn/Systemikon-master
mcl.m
.m
Systemikon-master/FIND/SNF/knowceans-mcl-src-20060805/mcl.m
1,087
utf_8
f165141ca94d764c02fff83551ee9a79
function m = mcl(m) % test the explanations in stijn van dongens thesis. % % @author gregor :: arbylon . net if nargin < 1 % m contains T(G3 + I) as stochastic matrix load -ascii m.txt end p = 1.5; minval = 0.001; e = 1.; emax = 0.001; while e > emax fprintf('iteration %i before expansion:\n', i); ...
github
hyginn/Systemikon-master
myOctaveVersion.m
.m
Systemikon-master/FIND/SNF/rasmusbergpalm-DeepLearnToolbox-9faf641/util/myOctaveVersion.m
169
utf_8
d4603482a968c496b66a4ed4e7c72471
% return OCTAVE_VERSION or 'undefined' as a string function result = myOctaveVersion() if isOctave() result = OCTAVE_VERSION; else result = 'undefined'; end
github
hyginn/Systemikon-master
isOctave.m
.m
Systemikon-master/FIND/SNF/rasmusbergpalm-DeepLearnToolbox-9faf641/util/isOctave.m
108
utf_8
4695e8d7c4478e1e67733cca9903f9ef
%detects if we're running Octave function result = isOctave() result = exist('OCTAVE_VERSION') ~= 0; end
github
hyginn/Systemikon-master
makeLMfilters.m
.m
Systemikon-master/FIND/SNF/rasmusbergpalm-DeepLearnToolbox-9faf641/util/makeLMfilters.m
1,895
utf_8
21950924882d8a0c49ab03ef0681b618
function F=makeLMfilters % Returns the LML filter bank of size 49x49x48 in F. To convolve an % image I with the filter bank you can either use the matlab function % conv2, i.e. responses(:,:,i)=conv2(I,F(:,:,i),'valid'), or use the % Fourier transform. SUP=49; % Support of the largest filter (must be...
github
hyginn/Systemikon-master
caenumgradcheck.m
.m
Systemikon-master/FIND/SNF/rasmusbergpalm-DeepLearnToolbox-9faf641/CAE/caenumgradcheck.m
3,618
utf_8
6c481fc15ab7df32e0f476514100141a
function cae = caenumgradcheck(cae, x, y) epsilon = 1e-4; er = 1e-6; disp('performing numerical gradient checking...') for i = 1 : numel(cae.o) p_cae = cae; p_cae.c{i} = p_cae.c{i} + epsilon; m_cae = cae; m_cae.c{i} = m_cae.c{i} - epsilon; [m_cae, p_cae] = caerun(m_cae, p_cae, x...
github
rgwave/RTIMULib-master
mag_fit_display.m
.m
RTIMULib-master/RTEllipsoidFit/mag_fit_display.m
1,220
utf_8
12d8d12ef7f37e898204f4486f64cb9f
%// %// Copyright (c) 2014, richards-tech %// %// This file is part of RTEllipsoidFit %// %// RTEllipsoidFit 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 %// (...
github
lewisli/RSFSRC-master
test_dgt.m
.m
RSFSRC-master/user/pyang/test_dgt.m
3,445
UNKNOWN
521effe52c3a9af0d2f39c421cf8edb2
function test_dgt %dgt.m: This programme is used to compute dual frame and reconstruct % the original signal. % % Reference: Qian, Shie, and Dapang Chen. "Discrete gabor transform." % Signal Processing, IEEE Transactions on 41.7 (1993): 2429-2438. % % Copyright (C) 2010 Xi'an Jiaotong University (P...
github
lewisli/RSFSRC-master
demo_tau_method.m
.m
RSFSRC-master/user/pyang/demo_tau_method.m
2,201
utf_8
cdfc7076867b1278b1949a7f635456f6
function demo_tau_method %% Copyright (c) Xi'an Jiaotong University 2014 % % Originally written by Guowei Zhang, adapted by Pengliang Yang % % % % Reference: Joakim O. Blanch, Johan O.A. Robertsson, and William W. Symmes, % % Modeling of a constant Q: methodology and algorithm for an efficient and % % optimall...
github
lewisli/RSFSRC-master
test_dlct2.m
.m
RSFSRC-master/user/pyang/test_dlct2.m
6,027
utf_8
90744ad4292b8cf0f4dd5d14404f72f6
function test_dlct2 % Description: matlab exmaple of DLCT % Reference: % Alkishriwo, Osama A., and Luis F. Chaparro. "A discrete % linear chirp transform (DLCT) for data compression." % 11th International Conference on Information Science, Signal % Processing and their Applications (ISSPA) IEEE, 2012. % % Cop...
github
lewisli/RSFSRC-master
test_dlct1.m
.m
RSFSRC-master/user/pyang/test_dlct1.m
2,325
utf_8
8123c2761ea3397f10bcdb24172557a7
function test_dlct1 % Description: matlab exmaple of DLCT % Reference: % Alkishriwo, Osama A., and Luis F. Chaparro. "A discrete % linear chirp transform (DLCT) for data compression." % 11th International Conference on Information Science, Signal % Processing and their Applications (ISSPA) IEEE, 2012. % % Cop...
github
lewisli/RSFSRC-master
cg_avo.m
.m
RSFSRC-master/user/mehdi/cg_avo.m
618
utf_8
62588e64baf7e41bef6d2dcba02a0419
% by Mehdi Eftekhari Far %last updated: 12/3/2010 function [weight]=cg_avo(n_unknown,cons,bkbm,tolerancer,itmax,I) M=n_unknown; w=zeros(1,M); B=cons'; g=-B; p=g; A=bkbm; for i=1:I alpha=sum(g.*g)/sum(p'.*(A*p')); z=g.*g; w=w-alpha.*p; g=g-alpha.*(A*p')'; d=g.*g; beta=d/z; ...
github
lewisli/RSFSRC-master
replace.m
.m
RSFSRC-master/book/rsf/manual/replace.m
4,178
utf_8
a5e18aec198aaf97df77efbaec9d5e12
function replace(oldtxt,newtxt,file) % REPLACE will lookinto a file and change all occurrences of a string with another string. % This function is extremely fragile and untested (and dangerous). Use with extreme caution. % % Use \\ to produce a backslash character and %% to produce the percent % character. % % SYNTAX ...
github
lewisli/RSFSRC-master
SolveISTc.m
.m
RSFSRC-master/book/slim/geo2008NewInsightsPareto/Matfcts/SolveISTc.m
4,763
utf_8
ef1677ada13e87bf0a03523cceadefa4
function [x, xnorms, rnorms, lambdas] = SolveISTc(A, y, Iters, InnerIters, x, fullPath) % SolveISTc: Iterative Soft Thresholding with cooling % %--------------------------------------------------------------- % Solve the basis pursuit (BP) problem % % min ||x||_1 s.t. Ax=y % %------------------------------------...
github
lewisli/RSFSRC-master
SolveIRLS.m
.m
RSFSRC-master/book/slim/geo2008NewInsightsPareto/Matfcts/SolveIRLS.m
5,437
utf_8
f8ff121a615a72c075d727c3325c949f
function [x, xnorms, rnorms] = SolveIRLS(A, y, Iters, InnerIters, a, sigma, damp, x, fullPath) % SolveIRLS: Iterative Reweighted least-squares % %--------------------------------------------------------------- % Solve % % min 1/2||y-Ax||_2^2 + damp*||Wx||_2^2 % %----------------------------------------------------...
github
lewisli/RSFSRC-master
SolveIST.m
.m
RSFSRC-master/book/slim/geo2008NewInsightsPareto/Matfcts/SolveIST.m
4,357
utf_8
6bd35ee25f68d9e56cf45e22eb0146dd
function [x, xnorms, rnorms] = SolveIST(A, y, Iters, lambda, x, fullPath) % SolveIST: Iterative Soft Thresholding % %--------------------------------------------------------------- % Solve % % min 1/2||y-Ax|| + lambda*||x||_1 % %--------------------------------------------------------------- % % INPUTS % ====== % ...
github
lewisli/RSFSRC-master
lsqr.m
.m
RSFSRC-master/book/slim/geo2008NewInsightsPareto/Matfcts/private/lsqr.m
11,849
utf_8
b60925c5944249161e00049c67d30868
function [ x, istop, itn, r1norm, r2norm, anorm, acond, arnorm, xnorm, var ]... = lsqr( m, n, A, b, damp, atol, btol, conlim, itnlim, show ) % % [ x, istop, itn, r1norm, r2norm, anorm, acond, arnorm, xnorm, var ]... % = lsqr( m, n, A, b, damp, atol, btol, conlim, itnlim, show ); % % LSQR solves Ax = b or mi...
github
lewisli/RSFSRC-master
fx_emdpf.m
.m
RSFSRC-master/book/tccs/emdpf/matfun/fx_emdpf.m
4,054
utf_8
199aa0468a64f2e00f637f04d30cac1b
function [ D1 ] = fx_emdpf(D,flow,fhigh,dt,N, lf, mu) %FXEMDPF: F-X domain empirical mode decomposition predictive filtering % IN D: intput data % flow: processing frequency range (lower) % fhigh: processing frequency range (higher) % dt: temporal sampling interval % N: number of IMF...