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
mdhumphries/NetworkNoiseRejection-master
LouvainCommunityUDnondeterm.m
.m
NetworkNoiseRejection-master/Network_Analysis_Functions/LouvainCommunityUDnondeterm.m
8,306
utf_8
bcf6db2080b5086006dc8133ebd01737
function [allC,allQ,allCn,allIters] = LouvainCommunityUDnondeterm(W,R,varargin) % LOUVAINCOMMUNITYUDnondeterm Louvain community detection algorithm, undirected % [C,Q,N,I] = LOUVAINCOMMUNITYUDnondeterm(W,R) for undirected, weighted network W; runs % the Louvain community detection algorithm from Blondel et al (2008). ...
github
mdhumphries/NetworkNoiseRejection-master
prep_A.m
.m
NetworkNoiseRejection-master/Network_Analysis_Functions/prep_A.m
780
utf_8
11ddb16a1035c6e17dce629d620f002c
function [W,ixRetain,Comps,Comp_sizes] = prep_A(W) % PREP_A get final weighted adjacency matrix % [W*,I,C,S] = PREP_A(W) given the undiredted weighted adjacency matrix W, % finds the largest component, and returns that as W*, the matrix to be % used in all further analyses. Also returns: % I: the index of retained n...
github
mdhumphries/NetworkNoiseRejection-master
KKFR.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/KKFR.m
17,239
utf_8
78b96601be8d4f6917f7529dc2b5f760
function [xynew]=KKFR(A,gn,epsilon, seed) % This code follows the algorithm in the article written by Tomihisa Kamada % and Satoru Kawai entitled "An Algorithm For Drawing General Undirected % Graphs" while respecting individual communities. It uses the Fructerman % and Reingold algorithm to place the nodes within ...
github
mdhumphries/NetworkNoiseRejection-master
fruc_rein.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/fruc_rein.m
2,258
utf_8
b009b89f770cc73d217e7e8e2bb95772
function [xy] = fruc_rein(A,eps, seed) % This function uses the Fruchterman-Reingold Algorithm to find the optimal % node placement for a given network. % %Inputs: % % A is the adjacency matrix for the network % % eps is the accuracy at which the algorith will act, .01 works well in % most cases. % %seed is the seed fo...
github
mdhumphries/NetworkNoiseRejection-master
FRKK.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/FRKK.m
14,897
utf_8
5718459cb737accf3c12f56dffc9c4a9
function [xynew, XY, xyc]=FRKK(A,gn,epsilon, seed, factor1, factor2) % This function uses the Fruchterman-Reingold Algorithm to find the optimal % node placement for a given network with respect to Communities. But then % uses the Kamada Kawai algorithm to place the nodes within each community. % % Inputs: % % A is t...
github
mdhumphries/NetworkNoiseRejection-master
drawForceCPie.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/drawForceCPie.m
4,479
utf_8
a015d8b692b8cee22fd4800b35ceff7c
function drawForceCPie(A,XY,scores,gn) gnu=unique(gn); CAM=commAdjMatrixSparse(gn,A); map=colormap; if min(scores)==0 map=[.7 .7 .7; map]; end colorsu=unique(scores); % colorsu(2:end)=colorsu(randperm(length(colorsu)-1)+1); % scores2=zeros(size(scores)); % for i=1:length(colorsu); % scores2(find(scores==color...
github
mdhumphries/NetworkNoiseRejection-master
Kamada.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/Kamada.m
5,546
utf_8
68b77d7040ad0b98de9e4633018c84dc
function xynew = Kamada(A,epsilon) % This code follows the algorithm in the article written by Tomihisa Kamada % and Satoru Kawai entitled "An Algorithm For Drawing General Undirected % Graphs." % % Inputs: % % A is the adjacency matrix of your network % % epsilon is the accuracy at which the algorithm acts, .01 works ...
github
mdhumphries/NetworkNoiseRejection-master
KamadaC.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/KamadaC.m
12,381
utf_8
8226f28985df1237a6b9a32bf74baec9
function [xynew]=KamadaC(A,gn,epsilon) % This code follows the algorithm in the article written by Tomihisa Kamada % and Satoru Kawai entitled "An Algorithm For Drawing General Undirected % Graphs" while respecting individual communities. % % This code outputs the xy coordinants for the nodes of a given network % A i...
github
mdhumphries/NetworkNoiseRejection-master
fruc_reinC.m
.m
NetworkNoiseRejection-master/Traud_Mucha_Porter_CommunityVisualisation/fruc_reinC.m
11,791
utf_8
81e65e30bad5ca50265d954462535985
function [xynew, XY, xyc] = fruc_reinC(A, gn, epsilon, seed, factor1, factor2) % This function uses the Fruchterman-Reingold Algorithm to find the optimal % node placement for a given network with respect to Communities. % Inputs: % % A is the adjacency matrix for the network % % gn are a vector of group numbers, i.e....
github
mdhumphries/NetworkNoiseRejection-master
weight_edges.m
.m
NetworkNoiseRejection-master/SyntheticModel/weight_edges.m
4,319
utf_8
cca7d52d112b2c5c63a79174d6aab001
function [W,varargout] = weight_edges(A,N,S,alpha,P) % WEIGHT_EDGES assign weights to edges given strength sequence % W = WEIGHT_EDGES(A,N,S,ALPHA) creates a weight matrix for a network, given % a n*n adjacency matrix A (entries {0,1}), the set % of sizes of each of the G modules N = [N1,N2,..,NG], and a n-length str...
github
mdhumphries/NetworkNoiseRejection-master
weight_edges_noise.m
.m
NetworkNoiseRejection-master/SyntheticModel/weight_edges_noise.m
2,191
utf_8
17f18c5ad46ca96ba9771616e193be4f
function [W] = weight_edges_noise(A,S) % WEIGHT_EDGES_NOISE assign weights to edges given strength sequence % W = WEIGHT_EDGES_NOISE(A,S) creates a weight matrix for a network, given % a n*n adjacency matrix A (entries {0,1}), and a n-length strength sequence % S. % % Returns the n*n weight matrix W % % % Notes: % ...
github
mdhumphries/NetworkNoiseRejection-master
setup_distr.m
.m
NetworkNoiseRejection-master/WSBM_v1.2/setup_distr.m
24,246
utf_8
35cfd82192b95a0b5a03a79981fdba4a
function [Distr] = setup_distr(distr_name,distr_prior,distr_para) %SETUP_DISTR creates a Distr Struct. % This is for advanced users. % % Syntax: % [Distr] = setup_distr(distr_name,distr_prior,distr_para) % % SETUP_DISTR is used to create Distr Structs for wsbm and generateEdges. % It can be used to creat...
github
mdhumphries/NetworkNoiseRejection-master
wsbm_driver.m
.m
NetworkNoiseRejection-master/WSBM_v1.2/private/wsbm_driver.m
24,295
utf_8
f42d8b02abacff3f820f48f08f3a4415
function [Model] = wsbm_driver(Raw_Data,R_Struct,varargin) % See 'help wsbm.m' or 'type wsbm.m' for information %-------------------------------------------------------------------------% % WSBM_Driver % Version 1.0 | December 2013 | Christopher Aicher % % Copyright 2013-2014 Christopher Aicher % % This program is...
github
mdhumphries/NetworkNoiseRejection-master
main_alg.m
.m
NetworkNoiseRejection-master/WSBM_v1.2/private/main_alg.m
13,994
utf_8
0d364cb89ee6f3a0fc4e94914a33b5b9
function [Para,Flags] = main_alg(Data,W_Distr,E_Distr,R_Struct,Seed,Options) %MAIN_ALG is a single run of a variational algorithm to infer the % parameters of the WSBM using a specified weight (W_Distr) and % edge (E_Distr) distribution and partitioning (R_Struct). % % The algorithm consists of two nested-loops. ...
github
mdhumphries/NetworkNoiseRejection-master
allevsplitConTransitive.m
.m
NetworkNoiseRejection-master/DevelopmentScripts/allevsplitConTransitive.m
15,063
utf_8
6c6040f549455c17744bab595bf9abaa
function [grps,Qmax,grpscon,Qcon,ctr,maxQ,varargout] = allevsplitConTransitive(A,varargin) % ALLEVSPLITCONTRANSITIVE partition graph eigenvectors of modularity matrix (with consensus) % [C,Qmax,Ccon,Qc,N,Q] = ALLEVSPLITCONTRANSITIVE(A) splits the vertices of the graph in adjacency matrix % A into multiple group...
github
mdhumphries/NetworkNoiseRejection-master
F_EmpiricalRndMat.m
.m
NetworkNoiseRejection-master/DevelopmentScripts/F_EmpiricalRndMat.m
3,162
utf_8
8a0453deae2f1e208a3f4bfa5bbc65bb
% clear all % close all % % % % ********************** % load Sep2711da01_40_120s_Sxy_Gaussian_1s % A = Sxyall{1}; % load polblogs % A = Problem.A; % N=1; % nrep = 10; % % ********************** % % %% % % % For negative weigthed matrix % % original = (rand(15)-.5)*3; % % mi = min(original(:)); % % orig = original - ...
github
prajesh93/Matlab-master
Haar.m
.m
Matlab-master/Haar/Haar.m
2,714
utf_8
62c9fb17d06d633fcdf452c7676122d6
%{ Author: Prajesh Jhumkhawala %} function Haar(img) %{ This function performs image compression on the image provided. It is based on the approach suggested by Colm Mulcahy in Image compression using the Haar wavelet transform ( https://www.eecis.udel.edu/~amer/CISC651/Haar.wavelets.paper.by.Mulcahy.pdf ) %...
github
prajesh93/Matlab-master
HOG_Feature_Matching.m
.m
Matlab-master/HOG/HOG_Feature_Matching.m
5,904
utf_8
5e18fc1011445c357b9db7a1153be456
%{ Author: Prajesh Jhumkhawala %} function HOG_Feature_Matching(image1,image2) %{ This function is the main function which calls other sub functions to perform feature mathing of the two images. We have pre-identified 5 key points which are the strongest feature points in the two images. You can al...
github
prajesh93/Matlab-master
Hybrid1.m
.m
Matlab-master/Hybrid/Hybrid1.m
3,011
utf_8
aa92ae6294f0ff04c07b0ee03a0c8fcc
%{ Author: Prajesh Jhumkhawala %} function Hybrid1(filename,filename2) %{ This function is the main function and calls the subfunctionsto generate the Hybrid image og the two supplied images. %} close all; h=hybridImage(filename,filename2); imshow(h); title('HYBRID'); end %Function to calculate the DFFT o...
github
prajesh93/Matlab-master
DCT.m
.m
Matlab-master/DCT/DCT.m
770
utf_8
590c6c40e04301e4c3ebee7ce4658638
%{ Author: Prajesh Jhumkhawala %} function DCT(Filename) %{ This function generates the discrete cosine transform for the image and then regenerates the image from the generated DCT of the image. %} close all; I=double(rgb2gray(imread(Filename))); Y=DCT_dimen(I); A=Y*I*Y'; imshow(A); title('Discrete Cosin...
github
prajesh93/Matlab-master
CartoonImage.m
.m
Matlab-master/Cartoon Image/CartoonImage.m
6,995
utf_8
98f15ee4154041df50dff9f40af48b4f
%{ Author: Prajesh Jhumkhawala %} function CartoonImage(image) %{ This function contains all the function required to generate the cartoon image. It will also calculate the RMSE of both Bilaterat Filter and Canny Edge Detection. %} close all; tic; img= imread(image); img=imresize(img,[267 400]); img = i...
github
orlitany/manifold_L21-master
prox_l21.m
.m
manifold_L21-master/prox_l21.m
150
utf_8
617a0c426881728655e5051cc3e12d30
%% The L2,1 proximal operator function V_new = prox_l21(V,c) alpha = max(0,1 - c./sqrt(sum(V.^2,1))); V_new = V*diag(alpha); end
github
joeyzhu0422/puke-reco-master
make.m
.m
puke-reco-master/matlab/make.m
888
utf_8
4a2ad69e765736f8cca8e3b721fb7ebd
% This make.m is for MATLAB and OCTAVE under Windows, Mac, and Unix function make() try % This part is for OCTAVE if (exist ('OCTAVE_VERSION', 'builtin')) mex libsvmread.c mex libsvmwrite.c mex -I.. svmtrain.c ../svm.cpp svm_model_matlab.c mex -I.. svmpredict.c ../svm.cpp svm_model_matlab.c % This part is fo...
github
xunilrj/sandbox-master
exercise.01.002.017.m
.m
sandbox-master/books/FundamentalsMatrixComputations/exercise.01.002.017.m
1,055
utf_8
e1d8d539e319a3c38cf99ad7f1701580
warning('off','all'); pkg load symbolic function result = newxi(i) result = sym(["u" num2str(i)]); endfunction x = arrayfun(@newxi, 0:8); l1 = ((x(4)-x(1))/0.1) - ((x(1)-x(2))/0.5) l2 = ((x(1)-x(2))/0.5) - ((x(5)-x(2))/0.5) - ((x(2)-x(3))/0.2) l3 = ((x(2)-x(3))/0.2) - ((x(6)-x(3))/0.1) l4 = ((x(7)-x(4))/0.2) - ((x(4)...
github
xunilrj/sandbox-master
exercise.01.002.016.m
.m
sandbox-master/books/FundamentalsMatrixComputations/exercise.01.002.016.m
859
utf_8
91e4f5c19385da77c8df8ae53b609c72
warning('off','all'); pkg load symbolic; function result = newui(i) result = sym(["u" num2str(i)]); endfunction function result = formula(m) syms x c d; u = arrayfun(@newui, 0:m); h = 1/m; A = zeros(m,m)*x; for i=2:m result = (-u(i+1) + 2*u(i) - u(i-1))/(h*h); result += -...
github
xunilrj/sandbox-master
Trmv_ln_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmv_ln_unb_var1.m
1,768
utf_8
b46eb84bc161c7c54e91c5e1d2116915
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ x_out ...
github
xunilrj/sandbox-master
Dot_unb.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Dot_unb.m
1,591
utf_8
d4d89a35fd081a0f00c4b048dd4dee3b
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ alpha_...
github
xunilrj/sandbox-master
Utrsv_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Utrsv_unb_var1.m
1,797
utf_8
28dcb7e1bf2699e83aa0ebc26a4e8730
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ b_out ...
github
xunilrj/sandbox-master
Trmvp_ln_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmvp_ln_unb_var1.m
2,228
utf_8
5c72ddcb2f389201a57b9788a82933ff
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Trmv_un_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmv_un_unb_var2.m
1,788
utf_8
2389da552f28f936fa4d50751b4e9b66
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ x_out ...
github
xunilrj/sandbox-master
UpperTriangularMatrix_unb.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/UpperTriangularMatrix_unb.m
1,281
utf_8
3c5e11af17f55f67027bfca9b85288f9
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ A_out ...
github
xunilrj/sandbox-master
Symv_u_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Symv_u_unb_var1.m
2,233
utf_8
d4ea06d740c2273ab3ef23debaa50ba0
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Symv_l_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Symv_l_unb_var1.m
2,301
utf_8
885b4fdbfbc9559bc86f7328fafba526
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Trmvp_un_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmvp_un_unb_var1.m
2,256
utf_8
0c1fe226a97269adb01b606400812559
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Mvmult_n_unb_var2B.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Mvmult_n_unb_var2B.m
2,296
utf_8
ddefa3ddc8f3fbc4255c921befeee41b
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ c_out ...
github
xunilrj/sandbox-master
Symv_l_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Symv_l_unb_var2.m
2,277
utf_8
b01a38b86b9f1b7e6d4e70725d04f82c
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Trmv_ln_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmv_ln_unb_var2.m
1,777
utf_8
9e952d367f69b3d193f059c46302b54e
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ x_out ...
github
xunilrj/sandbox-master
ForwardSubstitution.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/ForwardSubstitution.m
1,759
utf_8
0c5acf8e6d3d2867222534481ea798b2
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ b_out ...
github
xunilrj/sandbox-master
Ltrsv_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Ltrsv_unb_var1.m
1,754
utf_8
47721c613a73be4d96b48149602a1940
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ b_out ...
github
xunilrj/sandbox-master
Axpy_unb.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Axpy_unb.m
1,577
utf_8
2790ff0a9e366cd4bbfed5c6469f9df5
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ c_out ...
github
xunilrj/sandbox-master
Trmvp_ln_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmvp_ln_unb_var2.m
2,245
utf_8
490909ab6f9c8f64960beac86dc8a87c
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Trmv_un_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmv_un_unb_var1.m
1,800
utf_8
27e30a5043960a3e7137e95006a15987
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ x_out ...
github
xunilrj/sandbox-master
Symv_u_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Symv_u_unb_var2.m
2,281
utf_8
8995e6b2b8f94b6b5fdf7938c30936bb
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
Trtrmm_unb_var1 (1).m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trtrmm_unb_var1 (1).m
2,797
utf_8
caf0e088be651fd7f6215e351255cdba
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ C_out ...
github
xunilrj/sandbox-master
DiagonalMatrix_unb.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/DiagonalMatrix_unb.m
1,797
utf_8
534e3fe346f012c72d6a5a5bfb86e0cd
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ A_out ...
github
xunilrj/sandbox-master
Multv_n_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Multv_n_unb_var2.m
1,383
utf_8
750c12da5ae44626683b1f1289817499
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ c_out ...
github
xunilrj/sandbox-master
LU_unb_var5.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/LU_unb_var5.m
1,323
utf_8
3069fdbc6b4d3ec6251111c0cfebbd57
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ A_out ...
github
xunilrj/sandbox-master
Mvmult_t_unb_var1.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Mvmult_t_unb_var1.m
1,431
utf_8
484c3286da8a02206d35ee57e5574d28
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ c_out ...
github
xunilrj/sandbox-master
Mvmult_t_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Mvmult_t_unb_var2.m
1,529
utf_8
b119d2d55c0d2ad84010e86cdc756a64
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ c_out ...
github
xunilrj/sandbox-master
Trmvp_un_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/Trmvp_un_unb_var2.m
2,254
utf_8
37ef87c492c32c5e9e5c938af3d64416
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ y_out ...
github
xunilrj/sandbox-master
ZeroMatrix_unb.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/ZeroMatrix_unb.m
902
utf_8
1c3250a3694cb872a21509bce5100e2d
% Copyright 2017 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ A_out ]...
github
xunilrj/sandbox-master
Dot_unb.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/LAFF-2.0xM/Answers/Week01/Dot_unb.m
1,582
utf_8
78b2b8d6edee1baf16179ad0d0249846
% Copyright 2015 The University of Texas at Austin % % For licensing information see % http://www.cs.utexas.edu/users/flame/license.html % % Programmed by: Name of author % Email of author function [ alpha_...
github
xunilrj/sandbox-master
mvmult_unb_var2.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/LAFF-2.0xM/Answers/Week03/mvmult_unb_var2.m
1,110
utf_8
6a535ccfb144e5fb96b0e92eb846752c
\begin{verbatim} function [ y_out ] = Mvmult_n_unb_var2( A, x, y ) [ AL, AR ] = FLA_Part_1x2( A, ... 0, 'FLA_LEFT' ); [ xT, ... xB ] = FLA_Part_2x1( x, ... 0, 'FLA_TOP' ); while ( size( AL, 2 ) < size( A, 2 ) ) [ A0, a1, A2 ]= FLA_Repart_1x2_to_1...
github
xunilrj/sandbox-master
PrintMMProblem.m
.m
sandbox-master/courses/university-of-texas-linear-algebra/LAFF-2.0xM/Programming/Week04/PrintMMProblem.m
1,655
utf_8
e41b97af2cc4e9c224e1291f1e0f8be8
function [ error ] = PrintMMProblem( A, B ) output_string = ''; col = 1; [ m_A, n_A ] = size( A ); [ m_B, n_B ] = size( B ); for i=1:max( m_A, m_B ) if m_A == 1 & i== 1 outstring = '< '; elseif i == 1 outstring = '/ '; elseif i==m_A outstring = '\ '; elseif i<m_A outs...
github
xunilrj/sandbox-master
conv2.m
.m
sandbox-master/courses/NewYorkBuffalo-ComputerVision/conv2.m
2,583
utf_8
db6e9942754863d685d9d18a6e748613
%read the image img = imread('Davis_Hall.jpg'); I = rgb2gray(img); Gx = [-1 0 1; -2 0 2;-1 0 1]; Gy = [-1 -2 -1; 0 0 0;1 2 1]; Fx = myConv2(I, Gx, 'same'); Fy = myConv2(I, Gy, 'same'); FMag = sqrt(Fx.*Fx + Fy.*Fy); %uncomment the code as needed figure imshow(I); title('Original Image'); figure imshow((abs(Fx))./...
github
xunilrj/sandbox-master
colorTransfer.m
.m
sandbox-master/courses/NewYorkBuffalo-ComputerVision/colorTransfer.m
850
utf_8
915d9398439a62694c89359336366a1a
% based on % Reinhard, Erik, et al. "Color transfer between images." % IEEE Computer graphics and applications 21.5 (2001): 34-41. % https://ieeexplore.ieee.org/abstract/document/946629 function outChannel = colortransfer(sourceChannel,targetChannel) sourceMean = mean(sourceChannel(:)); sourceStDev = std(sou...
github
xunilrj/sandbox-master
GaussianLaplace.m
.m
sandbox-master/courses/NewYorkBuffalo-ComputerVision/GaussianLaplace.m
2,980
utf_8
032b9d336cf155cc3f6d6c8033accad6
% Feature Extraction and Image Processing % ISBN: 9780750650786 % % 3.4.4 Gaussian averaging operator % The Gaussian averaging operator has been considered to be optimal % for image smoothing. The template for the Gaussian operator has % values set by the Gaussian relationship. The Gaussian function % g at co-ordinates...
github
riyueshi/ocamcalib-plus-master
reprojectpoints.m
.m
ocamcalib-plus-master/ocamcalib/reprojectpoints.m
2,182
utf_8
74657103c52c8e95c0e8a8a66afe85e7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
omni_find_extrs_parameters.m
.m
ocamcalib-plus-master/ocamcalib/omni_find_extrs_parameters.m
2,314
utf_8
ec32b7900aa698fa625f5002a8594784
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
findinvpoly.m
.m
ocamcalib-plus-master/ocamcalib/findinvpoly.m
1,757
utf_8
2f701c21b6e7a02305a3e67ead605792
%FINDINVPOLY finds the inverse polynomial specified in the argument. % [POL, ERR, N] = FINDINVPOLY(SS, RADIUS, N) finds an approximation of the inverse polynomial specified in OCAM_MODEL.SS. % The returned polynomial POL is used in WORLD2CAM_FAST to compute the reprojected point very efficiently. % % SS is...
github
riyueshi/ocamcalib-plus-master
cam2world.m
.m
ocamcalib-plus-master/ocamcalib/cam2world.m
1,257
utf_8
1d8c75bf4c75ba7bd59936766d27c765
%CAM2WORLD Project a give pixel point onto the unit sphere % M=CAM2WORLD=(m, ocam_model) returns the 3D coordinates of the vector % emanating from the single effective viewpoint on the unit sphere % % m=[rows;cols] is a 2xN matrix containing the pixel coordinates of the image % points. % % "ocam_model"...
github
riyueshi/ocamcalib-plus-master
calibration.m
.m
ocamcalib-plus-master/ocamcalib/calibration.m
2,638
utf_8
2494347e428dbfa6094c0cae811352de
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
prova.m
.m
ocamcalib-plus-master/ocamcalib/prova.m
1,410
utf_8
f7dd42a985c1d2a038cde5de210d209e
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
click_ima_calib.m
.m
ocamcalib-plus-master/ocamcalib/click_ima_calib.m
2,623
utf_8
f536648df272c9e7eef22b6eb93d54d2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
world2cam.m
.m
ocamcalib-plus-master/ocamcalib/world2cam.m
865
utf_8
b6b96b90083850c280990ca7ce31dfb5
%WORLD2CAM projects a 3D point on to the image % m=WORLD2CAM(M, ocam_model) projects a 3D point on to the % image and returns the pixel coordinates. % % M is a 3xN matrix containing the coordinates of the 3D points: M=[X;Y;Z] % "ocam_model" contains the model of the calibrated camera. % m=[rows;cols]...
github
riyueshi/ocamcalib-plus-master
reproject_calib.m
.m
ocamcalib-plus-master/ocamcalib/reproject_calib.m
4,319
utf_8
7cf43f30a53be8022b1a89ce4ec3f5ce
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
ocam_calib_gui.m
.m
ocamcalib-plus-master/ocamcalib/ocam_calib_gui.m
4,504
utf_8
ac35e2d83608b6d598a166ea4b5069f7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
calibrate.m
.m
ocamcalib-plus-master/ocamcalib/calibrate.m
9,896
utf_8
88271ec7d1ba7c839b689d68b47a7fed
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as pub...
github
riyueshi/ocamcalib-plus-master
data_calib.m
.m
ocamcalib-plus-master/ocamcalib/data_calib.m
2,969
utf_8
a1f921ce379e6a3f14ddcbffffdc766f
%%% This function lets the user enter the name of the images (base name, numbering scheme,... function data_calib(calib_data) %clear all; set_up_global; % Checks that there are some images in the directory: l_ras = dir('*ras'); s_ras = size(l_ras,1); l_bmp = dir('*bmp'); s_bmp = size(l_bmp,1); l_tif = dir(...
github
riyueshi/ocamcalib-plus-master
check_directory.m
.m
ocamcalib-plus-master/ocamcalib/check_directory.m
5,221
utf_8
8939ecc9768879a0eb4b046d6e9ff5df
% This small script looks in the direcory and checks if the images are there. % % This works only on Matlab 5.x (otherwise, the dir commands works differently) % (c) Jean-Yves Bouguet - Dec. 27th, 1999 function [Nima_valid,image_numbers, type_numbering, N_slots] = check_directory(calib_data) l = dir([calib_da...
github
riyueshi/ocamcalib-plus-master
analyse_error.m
.m
ocamcalib-plus-master/ocamcalib/analyse_error.m
2,786
utf_8
62412b20b592518c9eb3287351414c4b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
undistort.m
.m
ocamcalib-plus-master/ocamcalib/undistort.m
2,066
utf_8
2e1bb21e20a82fdfead475d875066ae6
%UNDISTORT unwrap part of the image onto a plane perpendicular to the %camera axis % B = UNDISTORT(OCAM_MODEL, A, FC, DISPLAY) % A is the input image % FC is a factor proportional to the distance of the camera to the plane; % start with FC=5 and then tune the parameter to change the result. % DISPLAY vi...
github
riyueshi/ocamcalib-plus-master
prova3.m
.m
ocamcalib-plus-master/ocamcalib/prova3.m
1,471
utf_8
c42d1d08e6c22cd8aa5e37ce8499a5a4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
ginput3.m
.m
ocamcalib-plus-master/ocamcalib/ginput3.m
6,556
utf_8
b3d2253490baacd3934a082abf1c4939
function [out1,out2,out3] = ginput2(arg1) %GINPUT Graphical input from mouse. % [X,Y] = GINPUT(N) gets N points from the current axes and returns % the X- and Y-coordinates in length N vectors X and Y. The cursor % can be positioned using a mouse (or by using the Arrow Keys on some % systems). Data poi...
github
riyueshi/ocamcalib-plus-master
optimizefunction.m
.m
ocamcalib-plus-master/ocamcalib/optimizefunction.m
6,589
utf_8
b4b280e3f63c6b558f792ef27af9a70b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as pub...
github
riyueshi/ocamcalib-plus-master
recomp_corner_calib.m
.m
ocamcalib-plus-master/ocamcalib/recomp_corner_calib.m
2,911
utf_8
0af3a390138923544f8c55efe71b42c6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
click_calib.m
.m
ocamcalib-plus-master/ocamcalib/click_calib.m
10,618
utf_8
8446c4ada3ebab6b9e48bb985c57b3d6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licen...
github
riyueshi/ocamcalib-plus-master
loadppm.m
.m
ocamcalib-plus-master/ocamcalib/loadppm.m
2,469
utf_8
4b23c0e57d2cf050948e49583e7b8b94
%LOADPPM Load a PPM image % % I = loadppm(filename) % % Returns a matrix containing the image loaded from the PPM format % file filename. Handles ASCII (P3) and binary (P6) PPM file formats. % % If the filename has no extension, and open fails, a '.ppm' and % '.pnm' extension will be tried. % % SEE ALSO: sav...
github
riyueshi/ocamcalib-plus-master
prova1.m
.m
ocamcalib-plus-master/ocamcalib/prova1.m
1,317
utf_8
4ac119d37be48562c7d96dddd415f283
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
get_checkerboard_corners.m
.m
ocamcalib-plus-master/ocamcalib/get_checkerboard_corners.m
18,568
utf_8
9c93c0bcd7e3b747c17e4bc556c5a9f6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2009 Davide Scaramuzza % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either vers...
github
riyueshi/ocamcalib-plus-master
generate_sim_points.m
.m
ocamcalib-plus-master/ocamcalib/generate_sim_points.m
1,444
utf_8
34ab139e158577bf49d7b7cf8cc943a5
%CREATE_SIMULATION_POINTS % This script generates a simulation setup for calibrating a simulated % omnidirectional sensor, whose both intrinsic and extrinsic parameters % can be arbitrarily chosen by the user according to a real arrangement . % The following script must be executed before running the script...
github
riyueshi/ocamcalib-plus-master
imunwrap.m
.m
ocamcalib-plus-master/ocamcalib/imunwrap.m
2,166
utf_8
a0a1363ec3bdfc4c896047253327e999
%IMUNWRAP Unwrap an omnidirectional image into a cylindrical panorama %(cartesian to polar transformation). % uI = IMUNWRAP(I, center, Rmax, Rmin, bilinear) % I = input color image % center = coordinates of the circle center, center=[col;row] % Rmax = external radius of the omnidirectional image % Rmin = inne...
github
riyueshi/ocamcalib-plus-master
click_ima_calib_rufli.m
.m
ocamcalib-plus-master/ocamcalib/click_ima_calib_rufli.m
26,466
utf_8
68f9b74df2aa47db134c10fca79add22
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2007 MARTIN RUFLI % % Initially written by Martin Rufli and modified by Davide Scaramuzza % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Pub...
github
riyueshi/ocamcalib-plus-master
prova2.m
.m
ocamcalib-plus-master/ocamcalib/prova2.m
1,458
utf_8
385a57d54eaff336c457572c9405274d
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
create_simulation_points.m
.m
ocamcalib-plus-master/ocamcalib/create_simulation_points.m
4,340
utf_8
ea593d0ced448b818c42f4e3fcb423a0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
findcenter.m
.m
ocamcalib-plus-master/ocamcalib/findcenter.m
4,352
utf_8
d9e1b8676e5dd1d59f920dce8e09b1d4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
world2cam_fast.m
.m
ocamcalib-plus-master/ocamcalib/world2cam_fast.m
1,444
utf_8
7fe396c4d464383aadef693a9cfed55e
%WORLD2CAM projects a 3D point on to the image % m=WORLD2CAM_FAST(M, ocam_model) projects a 3D point on to the % image and returns the pixel coordinates. This function uses an approximation of the inverse % polynomial to compute the reprojected point. Therefore it is very fast. % % M is a 3xN matrix con...
github
riyueshi/ocamcalib-plus-master
prova_all.m
.m
ocamcalib-plus-master/ocamcalib/prova_all.m
1,692
utf_8
ea3cd13402211696f4dfc343040f7ae9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
loadpgm.m
.m
ocamcalib-plus-master/ocamcalib/loadpgm.m
1,927
utf_8
009ef1c0b3ff776f2fa331b119a5fff1
%LOADPGM Load a PGM image % % I = loadpgm(filename) % % Returns a matrix containing the image loaded from the PGM format % file filename. Handles ASCII (P2) and binary (P5) PGM file formats. % % If the filename has no extension, and open fails, a '.pgm' will % be appended. % % % Copyright (c) Peter Corke, 1...
github
riyueshi/ocamcalib-plus-master
optimizefunction_old.m
.m
ocamcalib-plus-master/ocamcalib/optimizefunction_old.m
5,486
utf_8
514a977ec9842ff4c877623a0b763f3b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Copyright (C) 2006 DAVIDE SCARAMUZZA % % Author: Davide Scaramuzza - email: davsca@tiscali.it % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Licens...
github
riyueshi/ocamcalib-plus-master
findinvpoly.m
.m
ocamcalib-plus-master/undistortFunctions/findinvpoly.m
1,757
utf_8
2f701c21b6e7a02305a3e67ead605792
%FINDINVPOLY finds the inverse polynomial specified in the argument. % [POL, ERR, N] = FINDINVPOLY(SS, RADIUS, N) finds an approximation of the inverse polynomial specified in OCAM_MODEL.SS. % The returned polynomial POL is used in WORLD2CAM_FAST to compute the reprojected point very efficiently. % % SS is...
github
blacksmithfan/DCDNN-master
interpolatePerf.m
.m
DCDNN-master/utility/interpolatePerf.m
735
utf_8
d9f98920b1bdbe3e74c8d2f07b5a2eb8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The precision at a specified recall level will be % bilinearly interpolated from neighboring precision values. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [v]=interpolatePerf(values, num, index) ...
github
blacksmithfan/DCDNN-master
calcAvgPerf_1.m
.m
DCDNN-master/utility/calcAvgPerf_1.m
850
utf_8
32a98d6cd6e5d1aa0cdc208678abd71d
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % calculate average performance, the micro average will be calculated. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [Precision]=calcAvgPerf_1(P_points,C, size) CUTOFF=2; SAMPLE=20; mean=zeros(1,SAMP...
github
vyoussofzadeh/CAMEG-master
matsel.m
.m
CAMEG-master/External functions/eeglab/matsel.m
3,756
utf_8
3779008d46e2601576fba59179f48a0c
% matsel() - select rows, columns, and epochs from given multi-epoch data matrix % % Usage: % >> [dataout] = matsel(data,frames,framelist); % >> [dataout] = matsel(data,frames,framelist,chanlist); % >> [dataout] = matsel(data,frames,framelist,chanlist,epochlist); % % Inputs: % data - input data...
github
vyoussofzadeh/CAMEG-master
axcopy.m
.m
CAMEG-master/External functions/eeglab/axcopy.m
3,176
utf_8
f425a07736a8472959fc9760a6f78f8f
% axcopy() - Copy a Matlab figure axis and its graphic objects to a new pop-up window % using the left mouse button. % % Usage: >> axcopy % >> axcopy(fig) % >> axcopy('noticks') % >> axcopy(fig, command) % % Notes: % 1) Clicking the left mouse button on a Matlab figure axis copies...
github
vyoussofzadeh/CAMEG-master
finputcheck.m
.m
CAMEG-master/External functions/eeglab/finputcheck.m
9,133
utf_8
fe838fecdd60e76a4006a13c7c1b20e4
% finputcheck() - check Matlab function {'key','value'} input argument pairs % % Usage: >> result = finputcheck( varargin, fieldlist ); % >> [result varargin] = finputcheck( varargin, fieldlist, ... % callingfunc, mode, verbose ); % Input: % varargin - Cell array ...
github
vyoussofzadeh/CAMEG-master
spectopo.m
.m
CAMEG-master/External functions/eeglab/spectopo.m
39,268
utf_8
f1a73ded83fafe9478d8f3a90b4d04e1
% spectopo() - Plot the mean log spectrum of a set of data epochs at all channels % as a bundle of traces. At specified frequencies, plot the relative % topographic distribution of power. If available, uses pwelch() from % the Matlab signal processing toolbox, else the EEGLAB s...
github
vyoussofzadeh/CAMEG-master
cfg_getfile.m
.m
CAMEG-master/External functions/spm/cfg_getfile.m
51,231
utf_8
2b8227dc8614e49e7c17ac2771988a19
function [t,sts] = cfg_getfile(varargin) % File selector % FORMAT [t,sts] = cfg_getfile(n,typ,mesg,sel,wd,filt,prms) % n - Number of files % A single value or a range. e.g. % 1 - Select one file % Inf - Select any number of files % [1 Inf] - Select 1 to Inf ...
github
vyoussofzadeh/CAMEG-master
initialise.m
.m
CAMEG-master/External functions/spm/@cfg_branch/initialise.m
2,320
utf_8
e33a8c7707d19f85627dd03955ff79cb
function item = initialise(item, val, dflag) % function item = initialise(item, val, dflag) % Initialise a configuration tree with values. If val is a job % struct/cell, only the parts of the configuration that are present in % this job will be initialised. % If val has the special value '<DEFAULTS>', the entire confi...
github
vyoussofzadeh/CAMEG-master
num2str.m
.m
CAMEG-master/External functions/spm/private/num2str.m
6,229
utf_8
35ba81d9ba6b78d182aa2136612ac3b2
function s = num2str(x, f) %NUM2STR Convert numbers to a string. % T = NUM2STR(X) converts the matrix X into a string representation T % with about 4 digits and an exponent if required. This is useful for % labeling plots with the TITLE, XLABEL, YLABEL, and TEXT commands. % % T = NUM2STR(X,N) converts the matr...