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
khemrajiitk/Rapidly-exploring-Random-Tree-RRT--master
rough.m
.m
Rapidly-exploring-Random-Tree-RRT--master/rough.m
3,932
utf_8
12e14596070002217eb943efa823e496
function main %obstical1 radius1 = 9; cen1.x = 25; cen1.y= 75; t=0:0.01:2*pi; global xo1; xo1 = cen1.x+cos(t)*radius1; global yo1; yo1 = cen1.y+sin(t)*radius1; %storing obstical1 as obst1 object obst1 = {}; obst1{1}=cen1; obst1{2} =radius1; %obstical2 radius2 = 8; cen2.x = 81; cen2.y= 30; t=0:0.01:...
github
khemrajiitk/Rapidly-exploring-Random-Tree-RRT--master
main.m
.m
Rapidly-exploring-Random-Tree-RRT--master/main.m
5,729
utf_8
15e3bc86581e2b408990937894fd2553
function main %obsticale 1 N = 40; thetavec = linspace(0,pi,N); phivec = linspace(0,2*pi,2*N); [th, ph] = meshgrid(thetavec,phivec); radius1 = 13; % should be your R(theta,phi) surface in general cen1.x = 25; cen1.y = 75; cen1.z = 65; global xo1; xo1 = cen1.x + radius1.*sin(th).*cos(ph); global yo1; yo1 =...
github
jorgecote/DIstill-column-master
distill.m
.m
DIstill-column-master/distill.m
2,434
utf_8
49c81487b1801bc7ab55edad787de1f5
%*******************************************************************% % Binary Distillation Column model for water-etanol mix % % variables: % % t --> time % % x --> mole fraction of A at each ...
github
arunsais/Expxorcist-master
bounded_gaussian.m
.m
Expxorcist-master/data/bounded_gaussian.m
1,442
utf_8
47eadad3ed002b50f3651a74089e022a
% method to sample data from a gaussian graph. function [] = bounded_gaussian(n, p, exNum, graph) rng(p); % generate covariance matrix if(strcmp(graph, 'chain')) sigma = eye(p); rho = -0.8; for i = 1 : p for j = 1 : p sigma(i,j) = rho^abs(i - j); end end omega = inv(sigma...
github
arunsais/Expxorcist-master
bounded_nongaussian.m
.m
Expxorcist-master/data/bounded_nongaussian.m
3,049
utf_8
d62af227a3febf19b13053b538ac0c58
% sample data from non gaussian distributions function bounded_nongaussian(n, p, exNum, graph) rng(p); % generate interaction terms matrix if(strcmp(graph, 'chain')) omega = zeros(p,p); rho = 1; for i = 1 : p-1 omega(i,i+1) = rho; omega(i+1,i) = rho; end elseif(strcmp(graph, 'grid')) ...
github
arunsais/Expxorcist-master
exponential.m
.m
Expxorcist-master/data/exponential.m
2,071
utf_8
74645c17849b2c9376b0cd165f4de089
% instead sample from a multivariate exponential distribution function exponential(n, p, exNum, graph) rng(p); % generate interaction terms matrix if(strcmp(graph, 'chain')) omega = zeros(p,p); rho = 0.1; for i = 1 : p-1 omega(i,i+1) = rho; omega(i+1,i) = rho; end elseif(strcmp(graph, 'g...
github
arunsais/Expxorcist-master
npglm.m
.m
Expxorcist-master/algorithm/basis_expansion/npglm.m
4,365
utf_8
f569956cc0c98866453cdd4faab6f825
%% INPUTS % X: data matrix - n by p matrix; n - number of samples, p - number of nodes in the graph. % Xtest: test data matrix - ntest by p matrix % lambda: regularization parameter for group sparse regularized node conditional MLEs. % d: truncation parameter for basis expansion. % base_measure_type: specifies which ba...
github
arunsais/Expxorcist-master
btls.m
.m
Expxorcist-master/algorithm/basis_expansion/btls.m
945
utf_8
24450ff5b69531fb6e527c8b2a7d1f2c
% back tracking line search % computes a step size that guarantees decrease in function value % details of the algorithm can be found at % http://people.eecs.berkeley.edu/~elghaoui/Teaching/EE227A/lecture18.pdf (slide 29) % f - function % gradf - gradient of the function % prox - proximal operator % x - current p...
github
arunsais/Expxorcist-master
accproxgd.m
.m
Expxorcist-master/algorithm/basis_expansion/accproxgd.m
558
utf_8
044db932cf333f3e308f9dc500174729
% FISTA - accelerated proximal gradient descent % x - starting point % T - number of iterations % eta - step size function x = accproxgd(f, gradf, prox, x, T, eta) gammaO = 1; x0 = x; [eta, ~] = btls(f, gradf, prox, x, eta, f(x)); for i = 1 : T t = eta/sqrt(i); xt = prox(x - t * gradf...
github
arunsais/Expxorcist-master
l.m
.m
Expxorcist-master/algorithm/basis_expansion/l.m
770
utf_8
c5515333c675be598d4798ced30749cc
% negative node conditional log likelihood function % psi - basis expansion matrices % s : node at which to compute the conditional log likelihood % params : parameters for node s. function v = l(psi, s, params, args) [~,n,~] = size(psi); tmp = sum(permute(repmat(params, 1,1,n), [1,3,2]).*psi, 3); fs = tmp(s,:)'...
github
arunsais/Expxorcist-master
prox_gl.m
.m
Expxorcist-master/algorithm/basis_expansion/prox_gl.m
234
utf_8
1099dda1ff9c36b583bde2b9ee50a941
% proximal operator for group lasso function v = prox_gl(x, lambda) norms = sum(x.^2, 2).^0.5; shrinkage = 1 - lambda./norms; shrinkage(norms <= lambda) = 0; v = sparse(1:numel(shrinkage), 1:numel(shrinkage), shrinkage)*x; end
github
arunsais/Expxorcist-master
gradl.m
.m
Expxorcist-master/algorithm/basis_expansion/gradl.m
1,859
utf_8
d33115ed777775c63a4ace7c7c9dd890
% gradient of negative node conditional log likelihood % psi - basis expansion matrices % s : node at which to compute the gradient % opt_s : flag denoting if the gradient should be computed for variables corresponding to node s. % params : parameters for node s. % returns d x 1 matrix. function v = gradl(psi, ...
github
arunsais/Expxorcist-master
basis_matrix.m
.m
Expxorcist-master/algorithm/basis_expansion/basis_matrix.m
672
utf_8
59d5e5cf512dfa37c74722eadaa1095e
function v = basis_matrix(X, d, xmins, xmaxs) [n, p] = size(X); v = zeros(p,n,d); for i = 1 : p if numel(xmins) == 1 xmin = xmins; xmax = xmaxs; else xmin = xmins(i); xmax = xmaxs(i); end v(i,:,:) = basis_matrix_h(X(:,i), d, xmi...
github
arunsais/Expxorcist-master
alt_min.m
.m
Expxorcist-master/algorithm/basis_expansion/alt_min.m
1,257
utf_8
3d0dbed834d074fa0f9dcc009d9e21d3
% Alternating optimization of the regularized node conditional log likelihood function params = alt_min(psi, s, params, lambda, args) alt_min_iters = 25; for i = 1 : alt_min_iters %% optimization of node specific params % create anonymous functions f = @(Z) l_h(psi, s, 1, params, Z, args); gradf = @(Z...
github
FDYdarmstadt/BoSSS-master
pdftops.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/pdftops.m
2,947
utf_8
cac024fcdfff373b191140816149e0c2
function varargout = pdftops(cmd) %PDFTOPS Calls a local pdftops executable with the input command % % Example: % [status result] = pdftops(cmd) % % Attempts to locate a pdftops executable, finally asking the user to % specify the directory pdftops was installed into. The resulting path is % stored for future refere...
github
FDYdarmstadt/BoSSS-master
isolate_axes.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/isolate_axes.m
3,198
utf_8
9d34430569940dca9f8c324f61f22fbf
%ISOLATE_AXES Isolate the specified axes in a figure on their own % % Examples: % fh = isolate_axes(ah) % fh = isolate_axes(ah, vis) % % This function will create a new figure containing the axes specified, and % also their associated legends and colorbars. The axes specified must all % be in the same figure, but t...
github
FDYdarmstadt/BoSSS-master
pdf2eps.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/pdf2eps.m
1,473
utf_8
cb8bb442a3d65a64025c32693704d89e
%PDF2EPS Convert a pdf file to eps format using pdftops % % Examples: % pdf2eps source dest % % This function converts a pdf file to eps format. % % This function requires that you have pdftops, from the Xpdf suite of % functions, installed on your system. This can be downloaded from: % http://www.foolabs.com/xpdf ...
github
FDYdarmstadt/BoSSS-master
print2array.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/print2array.m
5,963
utf_8
c34d89e7caa47b1ffff7af835726459b
%PRINT2ARRAY Exports a figure to an image array % % Examples: % A = print2array % A = print2array(figure_handle) % A = print2array(figure_handle, resolution) % A = print2array(figure_handle, resolution, renderer) % [A bcol] = print2array(...) % % This function outputs a bitmap image of the given figure, at t...
github
FDYdarmstadt/BoSSS-master
eps2pdf.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/eps2pdf.m
5,017
utf_8
bc81caea32035f06d8cb08ea1ccdc81f
%EPS2PDF Convert an eps file to pdf format using ghostscript % % Examples: % eps2pdf source dest % eps2pdf(source, dest, crop) % eps2pdf(source, dest, crop, append) % eps2pdf(source, dest, crop, append, gray) % eps2pdf(source, dest, crop, append, gray, quality) % % This function converts an eps file to pdf f...
github
FDYdarmstadt/BoSSS-master
copyfig.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/copyfig.m
814
utf_8
1844a9d51dbe52ce3927c9eac5ee672e
%COPYFIG Create a copy of a figure, without changing the figure % % Examples: % fh_new = copyfig(fh_old) % % This function will create a copy of a figure, but not change the figure, % as copyobj sometimes does, e.g. by changing legends. % % IN: % fh_old - The handle of the figure to be copied. Default: gcf. % % OU...
github
FDYdarmstadt/BoSSS-master
user_string.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/user_string.m
2,339
utf_8
f9b2326571e9d13eccc99ce441efd788
%USER_STRING Get/set a user specific string % % Examples: % string = user_string(string_name) % saved = user_string(string_name, new_string) % % Function to get and set a string in a system or user specific file. This % enables, for example, system specific paths to binaries to be saved. % % IN: % string_name - ...
github
FDYdarmstadt/BoSSS-master
export_fig.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/export_fig.m
28,666
utf_8
4a599b3b631aee3eee5a84473d8ceb83
%EXPORT_FIG Exports figures suitable for publication % % Examples: % im = export_fig % [im alpha] = export_fig % export_fig filename % export_fig filename -format1 -format2 % export_fig ... -nocrop % export_fig ... -transparent % export_fig ... -native % export_fig ... -m<val> % export_fig ... -r<val...
github
FDYdarmstadt/BoSSS-master
ghostscript.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/ghostscript.m
4,076
utf_8
b19fc1688d3306608d35f159509a910d
function varargout = ghostscript(cmd) %GHOSTSCRIPT Calls a local GhostScript executable with the input command % % Example: % [status result] = ghostscript(cmd) % % Attempts to locate a ghostscript executable, finally asking the user to % specify the directory ghostcript was installed into. The resulting path % is s...
github
FDYdarmstadt/BoSSS-master
print2eps.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig/print2eps.m
6,118
utf_8
d51322b49255fd17900b2a402b760e8e
%PRINT2EPS Prints figures to eps with improved line styles % % Examples: % print2eps filename % print2eps(filename, fig_handle) % print2eps(filename, fig_handle, options) % % This function saves a figure as an eps file, with two improvements over % MATLAB's print command. First, it improves the line style, makin...
github
FDYdarmstadt/BoSSS-master
pdftops.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/pdftops.m
7,301
utf_8
8ada403c52d45d5dad03264fcfcec4b7
function varargout = pdftops(cmd) %PDFTOPS Calls a local pdftops executable with the input command % % Example: % [status result] = pdftops(cmd) % % Attempts to locate a pdftops executable, finally asking the user to % specify the directory pdftops was installed into. The resulting path is % stored for future refere...
github
FDYdarmstadt/BoSSS-master
crop_borders.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/crop_borders.m
4,976
utf_8
c814ff486afb188464069b51e4b5ed8a
function [A, vA, vB, bb_rel] = crop_borders(A, bcol, padding, crop_amounts) %CROP_BORDERS Crop the borders of an image or stack of images % % [B, vA, vB, bb_rel] = crop_borders(A, bcol, [padding]) % %IN: % A - HxWxCxN stack of images. % bcol - Cx1 background colour vector. % padding - scalar indicating how much...
github
FDYdarmstadt/BoSSS-master
isolate_axes.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/isolate_axes.m
5,225
utf_8
a19c59a5f2c180ebe01ec4d766192eff
function fh = isolate_axes(ah, vis) %ISOLATE_AXES Isolate the specified axes in a figure on their own % % Examples: % fh = isolate_axes(ah) % fh = isolate_axes(ah, vis) % % This function will create a new figure containing the axes/uipanels % specified, and also their associated legends and colorbars. The objects %...
github
FDYdarmstadt/BoSSS-master
im2gif.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/im2gif.m
7,413
utf_8
f09a59e5fd22ac4e0674b3c89bb053b2
%IM2GIF Convert a multiframe image to an animated GIF file % % Examples: % im2gif infile % im2gif infile outfile % im2gif(A, outfile) % im2gif(..., '-nocrop') % im2gif(..., '-nodither') % im2gif(..., '-ncolors', n) % im2gif(..., '-loops', n) % im2gif(..., '-delay', n) % % This function converts a mu...
github
FDYdarmstadt/BoSSS-master
read_write_entire_textfile.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/read_write_entire_textfile.m
924
utf_8
779e56972f5d9778c40dee98ddbd677e
%READ_WRITE_ENTIRE_TEXTFILE Read or write a whole text file to/from memory % % Read or write an entire text file to/from memory, without leaving the % file open if an error occurs. % % Reading: % fstrm = read_write_entire_textfile(fname) % Writing: % read_write_entire_textfile(fname, fstrm) % %IN: % fname - Pathn...
github
FDYdarmstadt/BoSSS-master
pdf2eps.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/pdf2eps.m
1,648
utf_8
cbf3ee6801a32b1e1b87764248465760
%PDF2EPS Convert a pdf file to eps format using pdftops % % Examples: % pdf2eps source dest % % This function converts a pdf file to eps format. % % This function requires that you have pdftops, from the Xpdf suite of % functions, installed on your system. This can be downloaded from: % http://xpdfreader.com % % Inp...
github
FDYdarmstadt/BoSSS-master
print2array.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/print2array.m
15,841
utf_8
798ce7a86701e75be2f05fa42b7d45bf
function [A, bcol, alpha] = print2array(fig, res, renderer, gs_options) %PRINT2ARRAY Exports a figure to a bitmap RGB image array % % Examples: % A = print2array % A = print2array(figure_handle) % A = print2array(figure_handle, resolution) % A = print2array(figure_handle, resolution, renderer) % A = print2ar...
github
FDYdarmstadt/BoSSS-master
append_pdfs.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/append_pdfs.m
5,766
utf_8
a50efac82c3db7107b801335fe5de03d
function append_pdfs(varargin) %APPEND_PDFS Appends/concatenates multiple PDF files % % Example: % append_pdfs(outputFilename, inputFilename1, inputFilename2, ...) % append_pdfs(outputFilename, inputFilenames_list{:}) % append_pdfs(outputFilename, inputFilenames_cell_or_string_array) % append_pdfs output.pdf in...
github
FDYdarmstadt/BoSSS-master
using_hg2.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/using_hg2.m
1,064
utf_8
a1883d15c4304cd0ac406c117e3047ea
%USING_HG2 Determine if the HG2 graphics engine is used % % tf = using_hg2(fig) % %IN: % fig - handle to the figure in question. % %OUT: % tf - boolean indicating whether the HG2 graphics engine is being used % (true) or not (false). % 19/06/2015 - Suppress warning in R2015b; cache result for improved per...
github
FDYdarmstadt/BoSSS-master
eps2pdf.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/eps2pdf.m
12,417
utf_8
ed3a1249a325dd22b79b3c5de74fa436
function eps2pdf(source, dest, crop, append, gray, quality, gs_options) %EPS2PDF Convert an eps file to pdf format using ghostscript % % Examples: % eps2pdf source dest % eps2pdf(source, dest, crop) % eps2pdf(source, dest, crop, append) % eps2pdf(source, dest, crop, append, gray) % eps2pdf(source, dest, crop...
github
FDYdarmstadt/BoSSS-master
export_fig.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/export_fig.m
114,187
utf_8
60eebe0aeb4a134ee0f596a8eba2c27e
function [imageData, alpha] = export_fig(varargin) %#ok<*STRCL1> %EXPORT_FIG Exports figures in a publication-quality format % % Examples: % imageData = export_fig % [imageData, alpha] = export_fig % export_fig filename % export_fig filename -format1 -format2 % export_fig ... -nocrop % export_fig ... -c[<v...
github
FDYdarmstadt/BoSSS-master
ghostscript.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/ghostscript.m
8,296
utf_8
4f0e9071f894361b54efeec2a89de95c
function varargout = ghostscript(cmd) %GHOSTSCRIPT Calls a local GhostScript executable with the input command % % Example: % [status result] = ghostscript(cmd) % % Attempts to locate a ghostscript executable, finally asking the user to % specify the directory ghostcript was installed into. The resulting path % is s...
github
FDYdarmstadt/BoSSS-master
fix_lines.m
.m
BoSSS-master/examples/Oscillating-Droplet/plotData/export_fig-master/fix_lines.m
6,290
utf_8
8437006b104957762090e3d875688cb6
%FIX_LINES Improves the line style of eps files generated by print % % Examples: % fix_lines fname % fix_lines fname fname2 % fstrm_out = fixlines(fstrm_in) % % This function improves the style of lines in eps files generated by % MATLAB's print function, making them more similar to those seen on % screen. Grid ...
github
FDYdarmstadt/BoSSS-master
UXStagMap.m
.m
BoSSS-master/examples/PrintingNip/UXStagMap.m
3,577
utf_8
d53d105117d8a405e6a773708facebd8
clc clear all % create figure 11 in Pressure and shear flow singularities: fluid splitting and printing nip hydrodynamics % Matthias Elia Rieckmann, Pauline Brumm, Hans Martin Sauer, Edgar Doersam, Florian Kummer % Physics of Fluids, 2023 opts = detectImportOptions('PrintingNip-Part4.csv'); % preview('PrintingNip-Par...
github
FDYdarmstadt/BoSSS-master
CounterDiffusionFlameMain.m
.m
BoSSS-master/src/L4-application/XNSEC2/Worksheets/Jupyter/CounterFlowFlameMatlabCode/CounterDiffusionFlameMain.m
7,612
utf_8
8e42a5476f7fd7dd50e67defbda010a4
close all;clear; clc; %% Problem geometry description C.L = 0.02; % Domain length, m C.cp = 1.3; % Heat capacity; C.initialCellNumber = 100; useBoSSSForInitialization = true; C.chemActive = true; C.variableKineticParameters = true; velocityMultiplier = 11; %% Boundary conditions if useBoSSSForInitialization % Re...
github
FDYdarmstadt/BoSSS-master
CounterFlowFlame_FullChemistry.m
.m
BoSSS-master/src/L4-application/XNSEC2/Worksheets/Jupyter/CounterFlowFlameMatlabCode/CounterFlowFlame_FullChemistry.m
9,872
utf_8
7d2c1703e9d63766b0709fc2da980ec7
%%Initial solution is [v,U1,U2,TO0,Y1_1,Y2_1,Y3_1,Y4_1,Y5_1] %% Solves the one-dimensional countrflow diffusion flame in cartesian coordinates function [xint, Sxint, calculatedStrain, maxTemperature] = CounterFlowFlame_FullChemistry2(C, newSolution, xinit, lambda) %% Solver configuration cpconstant = true; chemActive ...
github
FDYdarmstadt/BoSSS-master
getComponentCp.m
.m
BoSSS-master/src/L4-application/XNSEC2/Worksheets/Jupyter/CounterFlowFlameMatlabCode/nasapolynomials/getComponentCp.m
1,901
utf_8
99aa6723a33c4ba5baaf099df7ac76a4
function cp = getComponentCp(T, component ) R = 8.314; %KJ/KgK [mycoef, MW]= getCoefficients(T,component); cp_R = mycoef(1) + mycoef(2)*T + mycoef(3)*T^2+ mycoef(4)*T^3+ mycoef(5)*T^4; cp = cp_R*R/MW; end function [coef, MW] = getCoefficients(T, component) limit =1000; switch c...
github
wenjiegroup/DeepRed-master
supervisedstackedAEPredict.m
.m
DeepRed-master/Matlab_code_of_DeepRed/supervisedstackedAEPredict.m
1,559
utf_8
a0c8343f0fbdfdb7056c7582c6f44050
function [pred,M2] = supervisedstackedAEPredict(theta, hiddenSize, numClasses, netconfig, data) % stackedAEPredict: Takes a trained theta and a test data set, % and returns the predicted labels for each example. % theta: trained weights...
github
wenjiegroup/DeepRed-master
emgm.m
.m
DeepRed-master/Matlab_code_of_DeepRed/emgm.m
3,012
utf_8
3e33f09eae2378fb4c43bac397dcedbf
function [label, model, llh] = emgm(X, init) % Perform EM algorithm for fitting the Gaussian mixture model. % X: d x n data matrix % init: k (1 x 1) or label (1 x n, 1<=label(i)<=k) or center (d x k) % Written by Michael Chen (sth4nth@gmail.com). %% initialization fprintf('EM for Gaussian mixture: running ... \n');...
github
wenjiegroup/DeepRed-master
supervisedstackedAECost.m
.m
DeepRed-master/Matlab_code_of_DeepRed/supervisedstackedAECost.m
3,980
utf_8
f18b7bda7d257c34ba8570deeb696070
function [ cost, grad ] = supervisedstackedAECost(theta, hiddenSize, ... numClasses, netconfig, ... lambda, data, labels) % stackedAECost: Takes a trained softmaxTheta and a training dat...
github
wenjiegroup/DeepRed-master
unsupervisedstackedAEPredict.m
.m
DeepRed-master/Matlab_code_of_DeepRed/unsupervisedstackedAEPredict.m
1,455
utf_8
e6e4f928fd00f181d643913558de16f0
function [data] = unsupervisedstackedAEPredict(theta, netconfig, data) % stackedAEPredict: Takes a trained theta and a test data set, % and returns the predicted labels for each example. % theta: trained weights from the autoencoder % h...
github
wenjiegroup/DeepRed-master
WolfeLineSearch.m
.m
DeepRed-master/Matlab_code_of_DeepRed/minFunc/WolfeLineSearch.m
11,106
utf_8
f97d9ca0bf8aab87df9aa65e74f98589
function [t,f_new,g_new,funEvals,H] = WolfeLineSearch(... x,t,d,f,g,gtd,c1,c2,LS,maxLS,tolX,debug,doPlot,saveHessianComp,funObj,varargin) % % Bracketing Line Search to Satisfy Wolfe Conditions % % Inputs: % x: starting location % t: initial step size % d: descent direction % f: function value at starting lo...
github
wenjiegroup/DeepRed-master
minFunc_processInputOptions.m
.m
DeepRed-master/Matlab_code_of_DeepRed/minFunc/minFunc_processInputOptions.m
3,551
utf_8
ea7fbcf303b9cafeca4045921adad934
function [verbose,verboseI,debug,doPlot,maxFunEvals,maxIter,tolFun,tolX,method,... corrections,c1,c2,LS_init,LS,cgSolve,qnUpdate,cgUpdate,initialHessType,... HessianModify,Fref,useComplex,numDiff,LS_saveHessianComp,... DerivativeCheck,Damped,HvFunc,bbType,cycle,... HessianIter,outputFcn,useMex,useNegCu...
github
wandgibaut/GA_ELM-master
gen_k_folds.m
.m
GA_ELM-master/ELM/gen_k_folds.m
1,071
utf_8
fc334b7e3f8168ba8404252080669a36
% 31/05/2017 - FEEC/Unicamp % gen_k_folds.m % Generation of k folds from a single dataset containing X and S % function [] = gen_k_folds(filename,k) load(filename); N = length(X(:,1)); n_elem = floor(N/k); excess = mod(N,k); order = randperm(N); ind = 1; excess1 = excess; for i=1:k, for j=1:n_elem, ...
github
wandgibaut/GA_ELM-master
process.m
.m
GA_ELM-master/ELM/process.m
1,146
utf_8
94a2a8c33c73d2acce628696527058af
% 05/05/2012 % function [Ew,dEw,Ewv,eqm,eqmv] = process(X,S,Xv,Sv,w1,w2,n,m,N,Nv) % Output: Ew: Squared error for the training dataset % dEw: Gradient vector for the training dataset % Ewv: Squared error for the validation dataset % Presentation of input-output patterns: batch mode % All neurons ...
github
wandgibaut/GA_ELM-master
qmean.m
.m
GA_ELM-master/ELM/qmean.m
242
utf_8
920ee8f9f07c5fe3cd8f614cac3bb688
% 05/05/2012 % qmean.m % Gives the root mean square (quadratic mean) for the elements of % one vector or one matrix. % function [rms] = qmean(w) [nr,nc] = size(w); v = reshape(w,nr*nc,1); n_v = length(v); rms = sqrt(sum(v.*v)/n_v);
github
wandgibaut/GA_ELM-master
hprocess.m
.m
GA_ELM-master/ELM/hprocess.m
821
utf_8
a11949516b4e20b4345e561ca5963896
% % function [s] = hprocess(X,S,w1,w2,p1,p2) % s = product H*p (computed exactly) % function [s] = hprocess(X,S,w1,w2,p1,p2) [N,n_in] = size(X); n_hid = length(w1(:,1)); n_out = length(S(1,:)); x1 = [X ones(N,1)]; rx1 = zeros(N,n_in+1); y1 = tanh(x1*w1'); ry1 = (x1*p1'+rx1*w1').*(1.0-y1.*y1); x2 = [y1 ones(...
github
wandgibaut/GA_ELM-master
qmean2.m
.m
GA_ELM-master/ELM/qmean2.m
331
utf_8
f8482b9fd3969940424c13fa914c787a
% 05/05/2012 % qmean2.m % Gives a kind of root mean square (quadratic mean) for the elements of % two matrices, taken together. % function [rms] = qmean2(w1,w2) [nr1,nc1] = size(w1); v1 = reshape(w1,nr1*nc1,1); [nr2,nc2] = size(w2); v2 = reshape(w2,nr2*nc2,1); v = [v1;v2]; n_v = length(v); rms = sqrt(sum(v....
github
wandgibaut/GA_ELM-master
process_options.m
.m
GA_ELM-master/ELM/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
wandgibaut/GA_ELM-master
__ga_problem__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_problem__.m
4,683
utf_8
6c87b89209dd136875213e1acc4f8dd8
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
gacreationuniform.m
.m
GA_ELM-master/Octave_GA_Package/gacreationuniform.m
2,006
utf_8
67debabecd04ecfd9bb83db91ae8c8a8
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
__ga_problem_private_state__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_problem_private_state__.m
2,146
utf_8
893eb63244d15752210761db85c60b8c
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
selectionstochunif.m
.m
GA_ELM-master/Octave_GA_Package/selectionstochunif.m
1,618
utf_8
87ac6650e2429e58f96db39a403276e9
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
fitscalingrank.m
.m
GA_ELM-master/Octave_GA_Package/fitscalingrank.m
1,908
utf_8
bd97cb739f2daf62e15ad4a969936b28
## Copyright (C) 2008, 2009 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ...
github
wandgibaut/GA_ELM-master
ga.m
.m
GA_ELM-master/Octave_GA_Package/ga.m
15,185
utf_8
23597e35bae5ce410cdb52ab98972bc0
## Copyright (C) 2008, 2010, 2012 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later ver...
github
wandgibaut/GA_ELM-master
gaoptimset.m
.m
GA_ELM-master/Octave_GA_Package/gaoptimset.m
4,063
utf_8
46b7597649d783633f30acd9ce5f5b0d
## Copyright (C) 2008, 2009, 2010 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later ver...
github
wandgibaut/GA_ELM-master
crossoverscattered.m
.m
GA_ELM-master/Octave_GA_Package/crossoverscattered.m
1,680
utf_8
698869bc98516ecc5c198b58eb033ec5
## Copyright (C) 2008, 2009, 2011 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later ver...
github
wandgibaut/GA_ELM-master
__ga_selectionfcn__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_selectionfcn__.m
952
utf_8
026c5478931e97701612fe06e3a49d46
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
__ga_problem_state_selection__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_problem_state_selection__.m
1,392
utf_8
0aef374341c65d3b13b8576932f64e2e
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
rastriginsfcn.m
.m
GA_ELM-master/Octave_GA_Package/rastriginsfcn.m
1,699
utf_8
725e76ddbfb107653df2227561cf0364
## Copyright (C) 2008, 2009, 2010, 2012 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any lat...
github
wandgibaut/GA_ELM-master
__ga_scores__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_scores__.m
2,052
utf_8
6d15bb39ebed458bfa7614898207a0c5
## Copyright (C) 2008, 2010 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ...
github
wandgibaut/GA_ELM-master
__ga_initial_population__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_initial_population__.m
3,743
utf_8
579d807d29e60e12ff66b41cb6b4a6eb
## Copyright (C) 2008, 2010 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ...
github
wandgibaut/GA_ELM-master
__gaoptimset_default_options__.m
.m
GA_ELM-master/Octave_GA_Package/__gaoptimset_default_options__.m
2,759
utf_8
7402f2ba9c19e10c5f76e27a241bae8b
## Copyright (C) 2008, 2009, 2010 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later ver...
github
wandgibaut/GA_ELM-master
__ga_crossoverfcn__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_crossoverfcn__.m
1,307
utf_8
f1d436df0343bf3a94cdcb9f12b75e43
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
mutationgaussian.m
.m
GA_ELM-master/Octave_GA_Package/mutationgaussian.m
2,017
utf_8
a6b09d87d973e9079bc72dc013297750
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
__ga_popinitrange__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_popinitrange__.m
1,121
utf_8
f98dae69d0cd512e69ac3eb6377c54e1
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
__ga_problem_update_state_at_each_generation__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_problem_update_state_at_each_generation__.m
2,203
utf_8
586dff9dd0d38a2fc88633cd01617b11
## Copyright (C) 2008, 2010 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ...
github
wandgibaut/GA_ELM-master
__ga_stop__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_stop__.m
1,368
utf_8
b34fdecdf33b5422089dc5db4c75e620
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
__ga_mutationfcn__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_mutationfcn__.m
1,207
utf_8
a433a51276b4b8b7cb444715e2e92239
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
wandgibaut/GA_ELM-master
__ga_problem_return_variables__.m
.m
GA_ELM-master/Octave_GA_Package/__ga_problem_return_variables__.m
1,442
utf_8
0c5e1d8e6f778ab2420548ca30b40a46
## Copyright (C) 2008 Luca Favatella <slackydeb@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## ...
github
mdaddysman/Thorlabs-CMOS-USB-cameras-in-Matlab-master
ThorVideo.m
.m
Thorlabs-CMOS-USB-cameras-in-Matlab-master/ThorVideo.m
4,539
utf_8
01dc204a517fc072f92090a252806475
function ThorVideo() [hCam, width, height] = LoadCamera(); maxgain = GetMaxGain(hCam); gain = GetGain(hCam); expset = GetExposureInfo(hCam); gboost = SetGainBoost(hCam,-1); cm = 1; if exist('ThorCamSaveSettings.mat', 'file') == 2 settings = load('ThorCamSaveSettings.mat'); gain = settings.sgain; ...
github
mdaddysman/Thorlabs-CMOS-USB-cameras-in-Matlab-master
ThorVideo_Functions.m
.m
Thorlabs-CMOS-USB-cameras-in-Matlab-master/ThorVideo_Functions.m
4,891
utf_8
412e322011293194dda9b72043652539
function ThorVideo_Functions() rh = ThorCam_Open(); while(ishghandle(rh.fh)) ThorCam_RunLoop(rh); end close all clearvars; end function ThorCam_RunLoop(runhandles) tic image = GetImage(runhandles.hCam,runhandles.width,runhandles.height); image = flipud(rot90(reshape(image,runhandles.width,runhand...
github
rasthana522/Classification-of-Breast-Cancer-Tumors-master
clusterings.m
.m
Classification-of-Breast-Cancer-Tumors-master/clusterings.m
9,466
utf_8
7a58c73d86f75014af01d4f5cd526ab0
fig_num = 0; filename = 'BreastData.xlsx'; xlrange = 'B2:AF19'; X = xlsread(filename, xlrange); X1 = [X(:,1) X(:,17:30)]; rng(1); %%% Creating Color Matrix for Plotting green = [0.3 0.8 0.3]; red = [1 0 0]; C = cell(18, 3); [C(1:9,1),C(1:9,2),C(1:9,3)] = deal({green(1)},{green(2)},{green(3)}); [C(10:18,1),C(10:18,2),C...
github
jsbenjamins/gazecode-master
gazecode.m
.m
gazecode-master/code/gazecode.m
22,328
utf_8
d5406938333a82349e3999f2c9dd6bef
function gazecode() % GazeCode (alpha version) % % This software allows for fast and flexible manual classification of any % mobile eye-tracking data. Currently Pupil Labs and Tobii Pro Glasses data % are supported. The software loads an exported visualisation (video file) % and the data of a mobile eye-tracking me...
github
idmoldovan/FreeHyTE-Structural-HTD-master
CheckStructReg.m
.m
FreeHyTE-Structural-HTD-master/CheckStructReg.m
14,988
utf_8
9ec1e343b711657ba56b461c5499ceb1
function varargout = CheckStructReg(varargin) % CHECKSTRUCTREG MATLAB code for CheckStructReg.fig % CHECKSTRUCTREG, by itself, creates a new CHECKSTRUCTREG or raises the existing % singleton*. % % H = CHECKSTRUCTREG returns the handle to a new CHECKSTRUCTREG or the handle to % the existing singleton...
github
idmoldovan/FreeHyTE-Structural-HTD-master
StructTriBC1.m
.m
FreeHyTE-Structural-HTD-master/StructTriBC1.m
16,215
utf_8
18071396a70e5a6c5d00c2801681c3b4
%% STANDARD, PREDEFINED FUNCTIONS % No changes were made to the following functions, predefined by GUIDE function varargout = StructTriBC1(varargin) % STRUCTTRIBC1 MATLAB code for StructTriBC1.fig % STRUCTTRIBC1, by itself, creates a new STRUCTTRIBC1 or raises the existing % singleton*. % % H = ...
github
idmoldovan/FreeHyTE-Structural-HTD-master
StructTriBC2.m
.m
FreeHyTE-Structural-HTD-master/StructTriBC2.m
25,242
utf_8
3ce94f3d416f7e0c7ec937ca8175b84d
%% STANDARD, PREDEFINED FUNCTIONS % No changes were made to the following functions, predefined by GUIDE function varargout = StructTriBC2(varargin) % STRUCTTRIBC2 MATLAB code for StructTriBC2.fig % STRUCTTRIBC2, by itself, creates a new STRUCTTRIBC2 or raises the existing % singleton*. % % H = ...
github
idmoldovan/FreeHyTE-Structural-HTD-master
VisualizeTri.m
.m
FreeHyTE-Structural-HTD-master/VisualizeTri.m
4,483
utf_8
affd85f9ab67bc4eeb5f266cbb69374c
function varargout = VisualizeTri(varargin) % VISUALIZETRI MATLAB code for VisualizeTri.fig % VISUALIZETRI, by itself, creates a new VISUALIZETRI or raises the existing % singleton*. % % H = VISUALIZETRI returns the handle to a new VISUALIZETRI or the handle to % the existing singleton*. % % VI...
github
idmoldovan/FreeHyTE-Structural-HTD-master
StructRegBC2.m
.m
FreeHyTE-Structural-HTD-master/StructRegBC2.m
20,555
utf_8
a9852dc440c14f3d430b4968d279bead
function varargout = StructRegBC2(varargin) % STRUCTREGBC2 MATLAB code for StructRegBC2.fig % STRUCTREGBC2, by itself, creates a new STRUCTREGBC2 or raises the existing % singleton*. % % H = STRUCTREGBC2 returns the handle to a new STRUCTREGBC2 or the handle to % the existing singleton*. % %...
github
idmoldovan/FreeHyTE-Structural-HTD-master
StructRegBC1.m
.m
FreeHyTE-Structural-HTD-master/StructRegBC1.m
15,032
utf_8
2af0284af20ac072dd37e1d21fb117e7
function varargout = StructRegBC1(varargin) % STRUCTREGBC1 MATLAB code for StructRegBC1.fig % STRUCTREGBC1, by itself, creates a new STRUCTREGBC1 or raises the existing % singleton*. % % H = STRUCTREGBC1 returns the handle to a new STRUCTREGBC1 or the handle to % the existing singleton*. % % ST...
github
idmoldovan/FreeHyTE-Structural-HTD-master
StructDef.m
.m
FreeHyTE-Structural-HTD-master/StructDef.m
44,142
utf_8
6ce2378f399d3a8deac90865ac3b6d92
%% PREDEFINED FUNCTIONS % No changes were made to the following functions, predefined by GUIDE function varargout = StructDef(varargin) % STRUCTDEF MATLAB code for StructDef.fig % STRUCTDEF, by itself, creates a new STRUCTDEF or raises the existing % singleton*. % % H = STRUCTDEF returns the han...
github
idmoldovan/FreeHyTE-Structural-HTD-master
VisualizeReg.m
.m
FreeHyTE-Structural-HTD-master/VisualizeReg.m
4,483
utf_8
ba24a15c04807eb97012e3cb337df1ca
function varargout = VisualizeReg(varargin) % VISUALIZEREG MATLAB code for VisualizeReg.fig % VISUALIZEREG, by itself, creates a new VISUALIZEREG or raises the existing % singleton*. % % H = VISUALIZEREG returns the handle to a new VISUALIZEREG or the handle to % the existing singleton*. % % VI...
github
idmoldovan/FreeHyTE-Structural-HTD-master
CheckStructTri.m
.m
FreeHyTE-Structural-HTD-master/CheckStructTri.m
10,745
utf_8
f372bc2a5776918ec9f99fd997a70faf
function varargout = CheckStructTri(varargin) % CHECKSTRUCTTRI MATLAB code for CheckStructTri.fig % CHECKSTRUCTTRI, by itself, creates a new CHECKSTRUCTTRI or raises the existing % singleton*. % % H = CHECKSTRUCTTRI returns the handle to a new CHECKSTRUCTTRI or the handle to % the existing singleton...
github
idmoldovan/FreeHyTE-Structural-HTD-master
SplashScreen.m
.m
FreeHyTE-Structural-HTD-master/SplashScreen.m
19,426
utf_8
49549fadd81d545c2d453aec533fd126
classdef SplashScreen < hgsetget %SplashScreen create a splashscreen % % s = SplashScreen(title,imagefile) creates a splashscreen using % the specified image. The title is the name of the window as shown % in the task-bar. Use "delete(s)" to remove it. Note that images % must be i...
github
abagde93/ECE253-master
chroma_keying.m
.m
ECE253-master/ECE253_HW1/main/chroma_keying.m
1,591
utf_8
e7026e5d39354368b8b173526f4cabc4
%Problem 4: Chroma Keying function [] = chroma_keying(input_image, mask_params, background_image) %First read in input and background images input_img = imread(input_image); img_background = imread(background_image); %Process input image. Get histograms for individual RGB channels %This way we can set thresholds fo...
github
abagde93/ECE253-master
compute_norm_rgb_histogram.m
.m
ECE253-master/ECE253_HW1/main/compute_norm_rgb_histogram.m
1,870
utf_8
3229b67d2beb9479737cc65025d1a230
%Problem 3: Histograms function rgb_hist = compute_norm_rgb_histogram(input_image) %First we have to read in the image %We pass the function the image --> compute_norm_rgb_histogram(image_name) %imshow(input_image) %Now seperate image into individual RGB components red = input_image(:,:,1); green = input_image(:,:...
github
abagde93/ECE253-master
chroma_keying.m
.m
ECE253-master/ECE253_HW1/Problem4/chroma_keying.m
1,591
utf_8
e7026e5d39354368b8b173526f4cabc4
%Problem 4: Chroma Keying function [] = chroma_keying(input_image, mask_params, background_image) %First read in input and background images input_img = imread(input_image); img_background = imread(background_image); %Process input image. Get histograms for individual RGB channels %This way we can set thresholds fo...
github
abagde93/ECE253-master
compute_norm_rgb_histogram.m
.m
ECE253-master/ECE253_HW1/Problem3/compute_norm_rgb_histogram.m
1,870
utf_8
3229b67d2beb9479737cc65025d1a230
%Problem 3: Histograms function rgb_hist = compute_norm_rgb_histogram(input_image) %First we have to read in the image %We pass the function the image --> compute_norm_rgb_histogram(image_name) %imshow(input_image) %Now seperate image into individual RGB components red = input_image(:,:,1); green = input_image(:,:...
github
abagde93/ECE253-master
AHE.m
.m
ECE253-master/ECE253_HW2/Problem1/AHE.m
1,359
utf_8
606ab0162f38e5b54dfb15ce5fa9c543
%Problem 1: Adaptive Histogram Equalization function enhanced_image = AHE(input_image,win_size) %Pad input image based on window size, so conextual region for edge pixels %remains valid. Window size in always MxM, where M is odd. %Window will always be contered on pixel of interest. This means that the %padding on e...
github
abagde93/ECE253-master
QUANT_MSE.m
.m
ECE253-master/ECE253_HW2/main/QUANT_MSE.m
1,852
utf_8
4e5588d86ca8130cc5dea9700714ea4a
%Problem 3 - Lloyd-Max Quantizer function MSE = QUANT_MSE(im) %%Part1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Defined seperate function myQuantize %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%Part2 and Part3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
github
abagde93/ECE253-master
AHE.m
.m
ECE253-master/ECE253_HW2/main/AHE.m
1,359
utf_8
606ab0162f38e5b54dfb15ce5fa9c543
%Problem 1: Adaptive Histogram Equalization function enhanced_image = AHE(input_image,win_size) %Pad input image based on window size, so conextual region for edge pixels %remains valid. Window size in always MxM, where M is odd. %Window will always be contered on pixel of interest. This means that the %padding on e...
github
abagde93/ECE253-master
QUANT_MSE.m
.m
ECE253-master/ECE253_HW2/Problem3/QUANT_MSE.m
1,852
utf_8
4e5588d86ca8130cc5dea9700714ea4a
%Problem 3 - Lloyd-Max Quantizer function MSE = QUANT_MSE(im) %%Part1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Defined seperate function myQuantize %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%Part2 and Part3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
github
lodemo/CATANA-master
detect_face_v1.m
.m
CATANA-master/src/face_recognition/facenet/tmp/detect_face_v1.m
7,954
utf_8
678c2105b8d536f8bbe08d3363b69642
% MIT License % % Copyright (c) 2016 Kaipeng Zhang % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the "Software"), to deal % in the Software without restriction, including without limitation the rights % to use, copy, modify, mer...
github
lodemo/CATANA-master
detect_face_v2.m
.m
CATANA-master/src/face_recognition/facenet/tmp/detect_face_v2.m
9,016
utf_8
0c963a91d4e52c98604dd6ca7a99d837
% MIT License % % Copyright (c) 2016 Kaipeng Zhang % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the "Software"), to deal % in the Software without restriction, including without limitation the rights % to use, copy, modify, mer...
github
beridel/fast_matched_filter-master
fast_matched_filter.m
.m
fast_matched_filter-master/fast_matched_filter/fast_matched_filter.m
5,239
utf_8
c3c59b14256bbcf7816ddf1f7c56dd06
% :copyright: % William B. Frank and Eric Beauce % :license: % GNU General Public License, Version 3 % (https://www.gnu.org/licenses/gpl-3.0.en.html) function [cc_sum] = fast_matched_filter(templates, ... moveouts, ... weights,...
github
MRC-CBU/riksneurotools-master
rsfMRI_GLM.m
.m
riksneurotools-master/Conn/rsfMRI_GLM.m
25,725
utf_8
2654812ab9bb94b923565c58d1b0db46
function [Zmat, Bmat, pZmat, pBmat, aY, X0r] = rsfMRI_GLM(S); % [Zmat, Bmat, pZmat, pBmat, aY, X0r] = rsfMRI_GLM(S); % % Function (using SPM8 functions) for estimating linear regressions % between fMRI timeseries in each pair of Nr ROIs, adjusting for bandpass % filter, confounding timeseries (eg CSF) and (SVD of) ...