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
ElsevierSoftwareX/SOFTX-D-15-00046-master
LFITv2_GUI_Prerun.m
.m
SOFTX-D-15-00046-master/LFITv2_GUI_Prerun.m
28,516
utf_8
91f533880ece7acf187e1c2e812f4614
function varargout = LFITv2_GUI_Prerun(varargin) %LFITV2_GUI_PRERUN M-file for LFITv2_GUI_Prerun.fig % LFITV2_GUI_PRERUN, by itself, creates a new LFITV2_GUI_PRERUN or raises % the existing singleton*. % % H = LFITV2_GUI_PRERUN returns the handle to a new LFITV2_GUI_PRERUN or % the handle to the existing singleton*. % ...
github
ElsevierSoftwareX/SOFTX-D-15-00046-master
lfiQuery.m
.m
SOFTX-D-15-00046-master/LFITv2/@lfiQuery/lfiQuery.m
13,446
utf_8
ba5edbfeae4c7d2074884829a2b22eff
classdef lfiQuery %LFIQUERY Creates a light field image (lfi) reconstruction query. % % Use this function to craft a query to be used with GENREFOCUS or % PERSPECTIVEGEN. The user must create a new query, selecting either focus % or perspective as the reconstruction type. Then the user may (optionally) % refine the que...
github
menicgiulia/Code_network_ensembles-master
configurationp.m
.m
Code_network_ensembles-master/configurationp.m
1,176
utf_8
b28dd865fcc32c0a4bf31febf68b3732
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %INPUT % ppvec unweighted undirected adjacency matrix (vector=squareform(matrix)) % n number of nodes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %OUTPUT % S_c canonical entropy % P link probabilit...
github
menicgiulia/Code_network_ensembles-master
spatialp.m
.m
Code_network_ensembles-master/spatialp.m
2,475
utf_8
33142b35563040d13d772d91da28e289
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %INPUT % ppvec unweighted undirected adjacency matrix (vector=squareform(matrix)) % ddvec matrix of distances between each node i and node j of the network (vector=squareform(matrix)) % n number of nodes % Nd number of bins Nd that we co...
github
menicgiulia/Code_network_ensembles-master
spatial.m
.m
Code_network_ensembles-master/spatial.m
2,606
utf_8
7cce016372d50ec34b1a7a2baa6c1c9a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %INPUT % pp undirected adjacency matrix % dd matrix of distances between each node i and node j of the network % Nd number of bins Nd that we consider in the distance classification %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
github
menicgiulia/Code_network_ensembles-master
configuration.m
.m
Code_network_ensembles-master/configuration.m
1,173
utf_8
19088acc0c57e1fe16a2b948dfb2b059
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %INPUT % pp unweighted undirected adjacency matrix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %OUTPUT % S_c canonical entropy % P link probability matrix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
github
kdeeleymath/Nottingham_Workshop-master
findBestPredictors.m
.m
Nottingham_Workshop-master/findBestPredictors.m
9,338
utf_8
8f94c754824cc7d51585229ea7f1c5dc
function predictorRankings = findBestPredictors() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and IDNum)...
github
kdeeleymath/Nottingham_Workshop-master
test_getwords.m
.m
Nottingham_Workshop-master/Exercises/test_getwords.m
317
utf_8
2bae8706e6d193f0bb92b289f9ee37dc
function tests = test_getwords tests = functiontests( localfunctions() ); end function setupOnce(testCase) %#ok<*DEFNU> end function test_IncorrectFilename(testCase) end function test_AllWords(testCase) end function test_MaxFreq(testCase) end function teardownOnce(testCase) end
github
kdeeleymath/Nottingham_Workshop-master
test_strdist.m
.m
Nottingham_Workshop-master/Exercises/test_strdist.m
317
utf_8
ea708a232f2237977523114f05455472
function tests = test_strdist tests = functiontests( localfunctions() ); end function setupOnce(testCase) %#ok<*DEFNU> end function test_OneWord(testCase) end function test_ThreeWords(testCase) end function test_DimensionsOutput(testCase) end function teardownOnce(testCase) end
github
kdeeleymath/Nottingham_Workshop-master
strdist.m
.m
Nottingham_Workshop-master/Exercises/strdist.m
2,158
utf_8
6ab55cc7d8ba784c89d28152922a8c0a
function d = strdist( varargin ) % STRDIST: Computes the Levenshtein distance between two strings. % Inputs can be two strings, one string and a cell array of strings, % or two cell arrays containing strings. if nargin == 1 s = varargin{1}; if ischar(s) d = 0; ...
github
kdeeleymath/Nottingham_Workshop-master
test_getwords_sol.m
.m
Nottingham_Workshop-master/Exercises/test_getwords_sol.m
1,304
utf_8
a2da8735551545c0d0415b8ddcd22629
function tests = test_getwords_sol tests = functiontests( localfunctions() ); end function setupOnce(testCase) %#ok<*DEFNU> W = textscan(path, '%s', 'Delimiter', ';'); W = W{1}; testCase.TestData.folderOnPath = any(strcmp(W, 'C:\Users\kdeeley\Desktop\MathWorks\Training\2014 Q1\CC01_Manchester_University_J...
github
kdeeleymath/Nottingham_Workshop-master
test_strdist_sol.m
.m
Nottingham_Workshop-master/Exercises/test_strdist_sol.m
1,027
utf_8
123938e0649e800ec760494d8ae80d8f
function tests = test_strdist_sol tests = functiontests( localfunctions() ); end function setupOnce(testCase) %#ok<*DEFNU> % Add the test data folder to the path. addpath('STRDIST_Test_Data') % Load data from the words.mat file. testCase.TestData = load('words.mat');...
github
kdeeleymath/Nottingham_Workshop-master
test_repblank_sol.m
.m
Nottingham_Workshop-master/Exercises/test_repblank_sol.m
854
utf_8
4ae8011b5b26d9daf9159a0494062830
function tests = test_repblank_sol tests = functiontests( localfunctions() ); end function test_OneBlank(testCase) %#ok<*DEFNU> actSolution = repblank('this is'); expSolution = 'this_is'; verifyEqual(testCase, actSolution, expSolution); end function test_ManyBlank(testCase) actSolution = repblank('this...
github
kdeeleymath/Nottingham_Workshop-master
repblank.m
.m
Nottingham_Workshop-master/Exercises/repblank.m
1,570
utf_8
24ca0425a34dcb6caa98cecbfa3a5558
function output_list = repblank( varargin ) %REPBLANK Replaces blanks with underscores. This function receives any % string as input, and returns a modified string obtained by replacing all % white spaces " " by underscores "_". Leading and trailing white space % is removed rather than replaced with underscores....
github
kdeeleymath/Nottingham_Workshop-master
test_repblank.m
.m
Nottingham_Workshop-master/Exercises/test_repblank.m
276
utf_8
0127e14d62af5e2f7b14a9427da0af20
function tests = test_repblank tests = functiontests( localfunctions() ); end function test_OneBlank(testCase) %#ok<*DEFNU> end function test_ManyBlank(testCase) end function test_FirstBlank(testCase) end function test_LastBlank(testCase) end
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_V3.m
.m
Nottingham_Workshop-master/InstructorMaterials/F04_findBestPredictors_V3.m
9,719
utf_8
908c1b731cccb52e6d0ce8584c694306
function predictorRankings = F04_findBestPredictors_V3() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and...
github
kdeeleymath/Nottingham_Workshop-master
test_F03_fitQuadModel_005.m
.m
Nottingham_Workshop-master/InstructorMaterials/test_F03_fitQuadModel_005.m
5,255
utf_8
087f184f9f7c0f42c28265474da9da9d
function tests = test_F03_fitQuadModel_005 % TEST_FITQUADMODEL Main test function for the algorithm implemented in % fitQuadModel. To run the tests defined here, use RUNTESTS. % See also F02_fitQuadModel, runtests. % Test array constructed from local functions in this file. tests = functi...
github
kdeeleymath/Nottingham_Workshop-master
F02_fitQuadModel_002.m
.m
Nottingham_Workshop-master/InstructorMaterials/F02_fitQuadModel_002.m
559
utf_8
2c3b9c05ad1061a5162011a593cb856e
function [modelCoeffs, fh] = F02_fitQuadModel_002(X, y, showplot) % FITQUADMODEL Fits a quadratic model to the response data y using the % columns of X as regressors. X has one or two columns; y is a vector with % the same number of rows as X. end % main function fitQuadModel function...
github
kdeeleymath/Nottingham_Workshop-master
test_F03_fitQuadModel_002.m
.m
Nottingham_Workshop-master/InstructorMaterials/test_F03_fitQuadModel_002.m
785
utf_8
79cbbb096af797786038c556dd1aef2f
function tests = test_F03_fitQuadModel_002 % TEST_FITQUADMODEL Main test function for the algorithm implemented in % fitQuadModel. To run the tests defined here, use RUNTESTS. % See also F02_fitQuadModel, runtests. % Test array constructed from local functions in this file. tests = functi...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_V2.m
.m
Nottingham_Workshop-master/InstructorMaterials/F04_findBestPredictors_V2.m
9,730
utf_8
4a625ed3ca4c039f9de51850130ec1a8
function predictorRankings = F04_findBestPredictors_V2() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and...
github
kdeeleymath/Nottingham_Workshop-master
F02_fitQuadModel_006.m
.m
Nottingham_Workshop-master/InstructorMaterials/F02_fitQuadModel_006.m
3,540
utf_8
6a1cab01c11a56548b27548da357ca38
function [modelCoeffs, fh] = F02_fitQuadModel_006(X, y, showplot) % FITQUADMODEL Fits a quadratic model to the response data y using the % columns of X as regressors. X has one or two columns; y is a vector with % the same number of rows as X. % Check user input. narginchk(2, 3) if n...
github
kdeeleymath/Nottingham_Workshop-master
test_F03_fitQuadModel_003.m
.m
Nottingham_Workshop-master/InstructorMaterials/test_F03_fitQuadModel_003.m
1,280
utf_8
2574acd7d6ca548c9667fc06d3373bc4
function tests = test_F03_fitQuadModel_003 % TEST_FITQUADMODEL Main test function for the algorithm implemented in % fitQuadModel. To run the tests defined here, use RUNTESTS. % See also F02_fitQuadModel, runtests. % Test array constructed from local functions in this file. tests = functi...
github
kdeeleymath/Nottingham_Workshop-master
test_F03_fitQuadModel_004.m
.m
Nottingham_Workshop-master/InstructorMaterials/test_F03_fitQuadModel_004.m
3,040
utf_8
351ce14612f28e652de976c394369c20
function tests = test_F03_fitQuadModel_004 % TEST_FITQUADMODEL Main test function for the algorithm implemented in % fitQuadModel. To run the tests defined here, use RUNTESTS. % See also F02_fitQuadModel, runtests. % Test array constructed from local functions in this file. tests = functi...
github
kdeeleymath/Nottingham_Workshop-master
F02_fitQuadModel_003.m
.m
Nottingham_Workshop-master/InstructorMaterials/F02_fitQuadModel_003.m
2,171
utf_8
06e8cafe12a71f83bc68668b4ae50318
function [modelCoeffs, fh] = F02_fitQuadModel_003(X, y, showplot) % FITQUADMODEL Fits a quadratic model to the response data y using the % columns of X as regressors. X has one or two columns; y is a vector with % the same number of rows as X. % Clean the data. [XClean, yClean] = ...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_Final.m
.m
Nottingham_Workshop-master/InstructorMaterials/F04_findBestPredictors_Final.m
9,742
utf_8
a0f63fedf6ad591803e988c441b6603d
function predictorRankings = F04_findBestPredictors_Final() % F04_FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, ...
github
kdeeleymath/Nottingham_Workshop-master
F02_fitQuadModel_004.m
.m
Nottingham_Workshop-master/InstructorMaterials/F02_fitQuadModel_004.m
2,216
utf_8
299db65e431e9ab1c2825b750a085365
function [modelCoeffs, fh] = F02_fitQuadModel_004(X, y, showplot) % FITQUADMODEL Fits a quadratic model to the response data y using the % columns of X as regressors. X has one or two columns; y is a vector with % the same number of rows as X. if nargin < 3, showplot = false; end ...
github
kdeeleymath/Nottingham_Workshop-master
F02_fitQuadModel_005.m
.m
Nottingham_Workshop-master/InstructorMaterials/F02_fitQuadModel_005.m
2,529
utf_8
3849310e35846af042866f30cd899762
function [modelCoeffs, fh] = F02_fitQuadModel_005(X, y, showplot) % FITQUADMODEL Fits a quadratic model to the response data y using the % columns of X as regressors. X has one or two columns; y is a vector with % the same number of rows as X. % Check user input. narginchk(2, 3) if n...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_V1.m
.m
Nottingham_Workshop-master/InstructorMaterials/F04_findBestPredictors_V1.m
9,412
utf_8
3c5d7fde164a1ba41b6411685168376a
function predictorRankings = F04_findBestPredictors_V1() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_V3.m
.m
Nottingham_Workshop-master/Reference/F04_findBestPredictors_V3.m
9,719
utf_8
908c1b731cccb52e6d0ce8584c694306
function predictorRankings = F04_findBestPredictors_V3() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and...
github
kdeeleymath/Nottingham_Workshop-master
test_F03_fitQuadModel.m
.m
Nottingham_Workshop-master/Reference/test_F03_fitQuadModel.m
5,251
utf_8
4bd1ea2cd4879dcb86f6831e02c79a71
function tests = test_F03_fitQuadModel % TEST_FITQUADMODEL Main test function for the algorithm implemented in % fitQuadModel. To run the tests defined here, use RUNTESTS. % See also F02_fitQuadModel, runtests. % Test array constructed from local functions in this file. tests = functionte...
github
kdeeleymath/Nottingham_Workshop-master
inPlaceExample.m
.m
Nottingham_Workshop-master/Reference/inPlaceExample.m
946
utf_8
bd84bab6066b26a5435d5ebaf03ff280
function inPlaceExample() % Create an array occupying about 2% of available memory. m = memory; mSize = round(sqrt(0.02*m.MemAvailableAllArrays/8)); A = rand(mSize); disp('Memory available after creating large array (GB):') m = memory; disp(m.MemAvailableAllArrays/1073741824) A = iNotInPlace(A); disp('Me...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_V2.m
.m
Nottingham_Workshop-master/Reference/F04_findBestPredictors_V2.m
9,730
utf_8
4a625ed3ca4c039f9de51850130ec1a8
function predictorRankings = F04_findBestPredictors_V2() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_Final.m
.m
Nottingham_Workshop-master/Reference/F04_findBestPredictors_Final.m
9,742
utf_8
a0f63fedf6ad591803e988c441b6603d
function predictorRankings = F04_findBestPredictors_Final() % F04_FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, ...
github
kdeeleymath/Nottingham_Workshop-master
F02_fitQuadModel.m
.m
Nottingham_Workshop-master/Reference/F02_fitQuadModel.m
3,536
utf_8
a09891863d81c151df4231415bb91a7f
function [modelCoeffs, fh] = F02_fitQuadModel(X, y, showplot) % FITQUADMODEL Fits a quadratic model to the response data y using the % columns of X as regressors. X has one or two columns; y is a vector with % the same number of rows as X. % Check user input. narginchk(2, 3) if nargi...
github
kdeeleymath/Nottingham_Workshop-master
F04_findBestPredictors_V1.m
.m
Nottingham_Workshop-master/Reference/F04_findBestPredictors_V1.m
9,412
utf_8
3c5d7fde164a1ba41b6411685168376a
function predictorRankings = F04_findBestPredictors_V1() % FINDBESTPREDICTORS: Function ranking pairs of predictor variables % in the medical data based on their ability to correctly classify an % individual's BMI category. We want to find the best two predictors % (excluding height, weight, BMI and...
github
mateuszanatta/AASP-GPS-master
gen_signal.m
.m
AASP-GPS-master/gen_signal.m
1,921
utf_8
8a4286d5185d3673b217969fe1ab227b
%% function gen_signal % generates a sampled gnss signal provided a chip-sequence and a pulse %% copyright note % Copyright (c) 2012 Manuel Stein % Technische Universit?t M?nchen % Department of Electrical Engineering and Information Technology % Institute for Circuit Theory and Signal Processing % Email : manuel.stei...
github
mateuszanatta/AASP-GPS-master
sine_integral.m
.m
AASP-GPS-master/sine_integral.m
1,273
utf_8
1cef56aa34dcf7032062592a250c6344
%% sine_integral % calculates the sine integral %% input parameters % input: sine integral parameter %% output parameters % output: sine integral value %% copyright note % Copyright (c) 2012 Manuel Stein % Technische Universit?t M?nchen % Department of Electrical Engineering and Information Technology % Institute fo...
github
mateuszanatta/AASP-GPS-master
gen_signal2.m
.m
AASP-GPS-master/gen_signal2.m
1,966
utf_8
9935ab8a966f053f0a137846c484ffcd
%% function gen_signal % generates a sampled gnss signal provided a chip-sequence and a pulse %% copyright note % Copyright (c) 2012 Manuel Stein % Technische Universit?t M?nchen % Department of Electrical Engineering and Information Technology % Institute for Circuit Theory and Signal Processing % Email : man...
github
mateuszanatta/AASP-GPS-master
spatialsmooth_meastensor.m
.m
AASP-GPS-master/spatialsmooth_meastensor.m
1,444
utf_8
2873da3c16289b29fae8eb5c3fa3d9c1
function X_ss = spatialsmooth_meastensor(X,L,sp) % X = [M1, M2, ..., MR, N] % X_ss = [Msub1, Msub2, ..., MsubR, N*prod(L)] % Msubr = Mr - L(r) + 1 % [10,1] % [5] % [6,5] S = size(X); R = length(S) - 1; if length(L) ~= R S = [S, ones(1,length(L)-length(S)+1)]; % Append singleton dimensions for s...
github
mateuszanatta/AASP-GPS-master
gen_pulse_rect_bp.m
.m
AASP-GPS-master/gen_pulse_rect_bp.m
1,447
utf_8
3f6e62ae45de26e9208d7c6fd97926e9
%% gen_pulse_rect_bp % samples a bandlimited rectangular pulse shape %% input parameters % B: bandwidth ( zB 1.023e6 ) % rho: oversampling factor % Lc: code length % Ti: code duration % Nc: number of chips (duration of pulse) %% output parameters % pulse: two-column vector, first column sample times, second column va...
github
mateuszanatta/AASP-GPS-master
power_norm_rec_bp.m
.m
AASP-GPS-master/power_norm_rec_bp.m
1,235
utf_8
3e55115e89f095f96c8bb377259dcc30
%% power_norm_rec_bp % calculates power normalization factor for a bandlimited rectangular pulse %% input parameters % B: bandwidth ( zB 1.023e6 ) %% output parameters % pnorm: normalization factor %% copyright note % Copyright (c) 2012 Manuel Stein % Technische Universit?t M?nchen % Department of Electrical Enginee...
github
mateuszanatta/AASP-GPS-master
gen_ca_code.m
.m
AASP-GPS-master/gen_ca_code.m
2,338
utf_8
6fe18ce822edde0531474adc411d48ae
%% function gen_ca_code % Generates GPS C/A code as specified in the document % % INTERFACE SPECIFICATION IS-GPS-200 Revision D 7 December 2004 % % Here the code is represented at levels : -1 for 1 % 1 for 0 %% input parameters % satID: satellite number (1 ... 36) % satID 37 pr...
github
mateuszanatta/AASP-GPS-master
setSettings.m
.m
AASP-GPS-master/AASP_2016/GNSS_SDR/setSettings.m
16,264
utf_8
dcc4d2b34e2cd3eb4f1fb1a80e1276f9
function varargout = setSettings(varargin) % SETSETTINGS M-file for setSettings.fig % SETSETTINGS, by itself, creates a new SETSETTINGS or raises the existing % singleton*. % % H = SETSETTINGS returns the handle to a new SETSETTINGS or the handle to % the existing singleton*. % % SETSET...
github
VahanaOpenSource/flight-design-tools-master
runPolars.m
.m
flight-design-tools-master/xfoil/runPolars.m
9,856
utf_8
8f01143ec42910d203b92db1b2deb307
%%%%% % Copyright (c) 2016 Zach Hazen & A^3 by Airbus Group % % 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, modi...
github
VahanaOpenSource/flight-design-tools-master
plotAirfoil.m
.m
flight-design-tools-master/xfoil/plotAirfoil.m
1,753
utf_8
bcfd5380ca9dea25b572234921f672ee
%%%%% % Copyright (c) 2016 Zach Hazen & A^3 by Airbus Group % % 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, modi...
github
VahanaOpenSource/flight-design-tools-master
importPolars.m
.m
flight-design-tools-master/xfoil/importPolars.m
3,313
utf_8
45070d568b069f58a9aaab115cf18cd2
%%%%% % Copyright (c) 2016 Zach Hazen & A^3 by Airbus Group % % 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, modi...
github
tamchau2809/LinphoneAndroid-master
echo_diagnostic.m
.m
LinphoneAndroid-master/submodules/externals/speex/libspeex/echo_diagnostic.m
2,076
utf_8
8d5e7563976fbd9bd2eda26711f7d8dc
% Attempts to diagnose AEC problems from recorded samples % % out = echo_diagnostic(rec_file, play_file, out_file, tail_length) % % Computes the full matrix inversion to cancel echo from the % recording 'rec_file' using the far end signal 'play_file' using % a filter length of 'tail_length'. The output is saved to 'o...
github
tamchau2809/LinphoneAndroid-master
rtpAnalyze.m
.m
LinphoneAndroid-master/submodules/mswebrtc/webrtc/tools/matlab/rtpAnalyze.m
7,892
utf_8
46e63db0fa96270c14a0c205bbab42e4
function rtpAnalyze( input_file ) %RTP_ANALYZE Analyze RTP stream(s) from a txt file % The function takes the output from the command line tool rtp_analyze % and analyzes the stream(s) therein. First, process your rtpdump file % through rtp_analyze (from command line): % $ out/Debug/rtp_analyze my_file.rtp my_f...
github
tamchau2809/LinphoneAndroid-master
apmtest.m
.m
LinphoneAndroid-master/submodules/mswebrtc/webrtc/webrtc/modules/audio_processing/test/apmtest.m
9,470
utf_8
ad72111888b4bb4b7c4605d0bf79d572
function apmtest(task, testname, filepath, casenumber, legacy) %APMTEST is a tool to process APM file sets and easily display the output. % APMTEST(TASK, TESTNAME, CASENUMBER) performs one of several TASKs: % 'test' Processes the files to produce test output. % 'list' Prints a list of cases in the test set,...
github
tamchau2809/LinphoneAndroid-master
plot_neteq_delay.m
.m
LinphoneAndroid-master/submodules/mswebrtc/webrtc/webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m
5,563
utf_8
8b6a66813477863da513b1e6971dbc97
function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin) % InfoStruct = plot_neteq_delay(delayfile) % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds) % % Henrik Lundin, 2006-11-17 % Henrik Lundin, 2011-05-17 % try s = parse_delay_file(delayfile); catch error(lasterr); e...
github
conner99/caffe-master
classification_demo.m
.m
caffe-master/matlab/demo/classification_demo.m
5,412
utf_8
8f46deabe6cde287c4759f3bc8b7f819
function [scores, maxlabel] = classification_demo(im, use_gpu) % [scores, maxlabel] = classification_demo(im, use_gpu) % % Image classification demo using BVLC CaffeNet. % % IMPORTANT: before you run this demo, you should download BVLC CaffeNet % from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html) % % *****...
github
ahbarnett/BIE2D-master
fig_lapconvK1.m
.m
BIE2D-master/doublyperiodic/fig_lapconvK1.m
11,601
utf_8
c2453cbaaf467699775bd8ef1b668792
function fig_lapconvK1 % Laplace Neu periodic BVP, convergence and soln plots. Single inclusion (K=1). % All dense matrices, native quadr for solve, close eval for plot. % Barnett, cleaned up from perineu2dnei1.m 5/11/16. % Small codes broken out 6/12/16 (no longer self-contained); BIE2D 6/29/16 % X,y,r notation & non-...
github
ahbarnett/BIE2D-master
discarray_effcond.m
.m
BIE2D-master/doublyperiodic/discarray_effcond.m
6,827
utf_8
0cd727ae0e5af132cf84c4aaab8f83c8
function discarray_effcond % Effective conductivity (kappa) of infinite disc array. % Laplace BVP, single inclusion (K=1), native quad for matrix fill, ELS. % Adapted from fig_discarray_drag. Uses helsingeffcond.m % Barnett 9/27/17. Fixed close and reparam 9/28/17 warning('off','MATLAB:nearlySingularMatrix') % backwa...
github
ahbarnett/BIE2D-master
stoK1_subdrop.m
.m
BIE2D-master/doublyperiodic/stoK1_subdrop.m
15,530
utf_8
4feac418125ff99c5349eaa9f66f40b7
function stoK1_subdrop % version of fig_stoconvK1, doubly-periodic 2D pressure-driven Stokes solver. % Single inclusion (K=1), native quad for matrix fill, close eval for soln. % Try subtraction of pressure drop via "scattering" split to u = v + w, % with w solved by GMRES on a mocked-up perifmm. % % This version works...
github
ahbarnett/BIE2D-master
tbl_discarray_effcond.m
.m
BIE2D-master/doublyperiodic/tbl_discarray_effcond.m
6,764
utf_8
b925bed5cfcbc409931d694fb40dae0c
function tbl_discarray_effcond % Make table of effective conductivity (kappa) of infinite disc array, to match % some of Table 2 of J. Helsing, Proc Roy Lond Soc A, 1994. % Laplace BVP, single inclusion (K=1), native quad for matrix fill, ELS. % Adapted from fig_discarray_drag. Uses helsingeffcond.m % Barnett 9/27/17. ...
github
ahbarnett/BIE2D-master
stoK1_subdrop_old.m
.m
BIE2D-master/doublyperiodic/stoK1_subdrop_old.m
14,396
utf_8
76a541d7b0a9416afa7cd92c994fc421
function stoK1_subdrop % version of fig_stoconvK1, doubly-periodic 2D pressure-driven Stokes solver. % Single inclusion (K=1), native quad for matrix fill, close eval for soln. % Try subtraction of pressure drop via "scattering" split to u = v + w, % with w solved by GMRES on mocked-up perifmm. % Conclusion: tilde-pert...
github
ahbarnett/BIE2D-master
fig_lapQconv.m
.m
BIE2D-master/doublyperiodic/fig_lapQconv.m
4,226
utf_8
53cb37327b9b69b670d62166e6490497
function fig_lapQconv % make figs for doubly periodic empty BVP convergence, Laplace case. % All matrix-filling, native quadr. % Barnett 5/9/16, adapted from perineu2dnei1.m. bie2d 6/29/16 warning('off','MATLAB:nearlySingularMatrix') % backward-stable ill-cond is ok! warning('off','MATLAB:rankDeficientMatrix') lso.RE...
github
ahbarnett/BIE2D-master
fig_stoconvK1.m
.m
BIE2D-master/doublyperiodic/fig_stoconvK1.m
14,352
utf_8
04b49a23babb6095557eaf0a75bf83cc
function fig_stoconvK1 % make Stokes no-slip periodic convergence and soln plots. % Single inclusion (K=1), native quad for matrix fill, close eval for soln. % Adapted from fig_lapconvK1.m % Barnett 6/7/16. 6/30/16 brought into BIE2D. % X,y,R,H notation, Gary's V=CH, Alex's nullspace fix, nonrandom. 8/17/16 warning('o...
github
ahbarnett/BIE2D-master
tbl_discarray_drag.m
.m
BIE2D-master/doublyperiodic/tbl_discarray_drag.m
7,934
utf_8
d8f267701cfcdf9fb46e2a2508f94771
function tbl_discarray_drag % Generate table of dimensionless drag of regular array of discs, to match % Table 1 of Greengard-Kropinski, J. Engs. Math. 48: 157–170, 2004. % Single inclusion (K=1), native quad for matrix fill, ELS. % Adapted from fig_stoconvK1.m % Barnett 8/2/16, graded parameterization 10/7/17 warning...
github
ahbarnett/BIE2D-master
stoK1_subdrop_data_not_in_range.m
.m
BIE2D-master/doublyperiodic/stoK1_subdrop_data_not_in_range.m
15,068
utf_8
20c3c081e74906b25be1ed4c3bac353d
function stoK1_subdrop % version of fig_stoconvK1, doubly-periodic 2D pressure-driven Stokes solver. % Single inclusion (K=1), native quad for matrix fill, close eval for soln. % Try subtraction of pressure drop via "scattering" split to u = v + w, % with w solved by GMRES on mocked-up perifmm. % Conclusion: tilde-pert...
github
ahbarnett/BIE2D-master
fig_stoQconv.m
.m
BIE2D-master/doublyperiodic/fig_stoQconv.m
3,497
utf_8
838064073588a49d7f6071d4c69954d6
function fig_stoQconv % Makes figs for doubly-periodic empty BVP convergence, Stokes. % Barnett 5/28/16. Adapted from fig_lapQconv.m. BIE2D 6/29/16 warning('off','MATLAB:nearlySingularMatrix') % backward-stable ill-cond is ok! warning('off','MATLAB:rankDeficientMatrix') lso.RECT = true; % linsolve opts, forces QR ...
github
ahbarnett/BIE2D-master
perispecint.m
.m
BIE2D-master/utils/perispecint.m
1,392
utf_8
87d49dc8e157443f20a2f45659b2f554
function g = perispecint(f) % PERISPECINT - use FFT to take periodic spectral antiderivative of vector % % g = perispecint(f) returns g an antiderivative of the spectral interpolant % of f, which is assumed to be the values of a smooth 2pi-periodic function % at the N gridpoints 2.pi.j/N, for j=1,..,N (or any transla...
github
ahbarnett/BIE2D-master
showsegment.m
.m
BIE2D-master/utils/showsegment.m
1,213
utf_8
3672151c11b3e1fd043630c3b5e1bb20
function h = showsegment(s, trlist) % SHOWSEGMENT plot segment(s) & possibly translated copies % % h = showsegment(s) where s is segment struct with s.x nodes, optionally s.nx % normal vectors, adds to the current axes a plot of the segment. % If s is a cell array of segment structs, it plots all of them. % % h = s...
github
ahbarnett/BIE2D-master
gauss.m
.m
BIE2D-master/utils/gauss.m
287
utf_8
cc60b6c98d11c710bbcbce2f5a42802b
% GAUSS nodes x (Legendre points) and weights w % for Gauss quadrature on [-1,1], for N small (<100). Trefethen book. function [x,w] = gauss(N) beta = .5./sqrt(1-(2*(1:N-1)).^(-2)); T = diag(beta,1) + diag(beta,-1); [V,D] = eig(T); x = diag(D); [x,i] = sort(x); w = 2*V(1,i).^2;
github
ahbarnett/BIE2D-master
perispecinterparb.m
.m
BIE2D-master/utils/perispecinterparb.m
2,346
utf_8
cd29919f245445a6d8f318ef61045547
function [g gfun] = perispecinterparb(f,t) % PERISPECINTERPARB interpolate grid-sampled periodic function to arb targets % % [g gfun] = perispecinterparb(f,t) % inputs: f - (row or column) vector length n (must be even) of input samples % t - list of ordinates to evaluate at (periodic wrt [0,2pi)) % outputs:...
github
ahbarnett/BIE2D-master
bisect.m
.m
BIE2D-master/utils/bisect.m
1,505
utf_8
22b7f99561b8426a5a94fdc33ac11a70
function [x,nsteps] = bisect(f,a,b,tol) % BISECT Conduct bisection search to find root of 1D function in interval. % % x = bisect(f,a,b) estimates x where f(x) changes sign in [a,b]. % % x = bisect(f,a,b,tol) controls the absolute tolerance in x to reach % (the default is 1e-6). % % [x, nsteps] = ... also returns the...
github
ahbarnett/BIE2D-master
perispecinterp.m
.m
BIE2D-master/utils/perispecinterp.m
1,513
utf_8
4f622e66b6282893f99b19f5f16d496b
function g = perispecinterp(f,N) % PERISPECINTERP resample periodically sampled function onto different grid. % % g = perispecinterp(f,N) % inputs: f - (row or column) vector length n (must be even) of input samples, % N - desired output number of samples, must be even % outputs: g - vector length N of inter...
github
ahbarnett/BIE2D-master
checkgrad.m
.m
BIE2D-master/utils/checkgrad.m
1,183
utf_8
e763f08a0af22244943afdae7211a32a
function err=checkgrad(f,df,x0) % CHECKGRAD verify a function in R^2 has correct analytic gradient function % % err = checkgrad(f,df) returns error between finite-differencing approx to % grad f and the function df. f is a function handle taking a stack of m 2-cpt % col vecs and returning a row vec of m values. df ...
github
ahbarnett/BIE2D-master
reparam_bunched.m
.m
BIE2D-master/utils/reparam_bunched.m
1,412
utf_8
e7ff2d7e6e384306d05b7a1cafdbd40a
function s = reparam_bunched(s,be) % REPARAM_BUNCHED Reparameterize a segment slowing down at 0,pi/2,pi,3pi/2. % % s = reparam_bunched(s,be) takes a segment struct s and returns another, % where be is the beta parameter giving the angular range devoted to the % central. The bunching factor is of order exp(be), or bu...
github
ahbarnett/BIE2D-master
setupquad.m
.m
BIE2D-master/utils/setupquad.m
4,352
utf_8
f41db67968697da323a892d78f159f89
function s = setupquad(s, N) % SETUPQUAD Set up periodic trapezoid quadrature & geom for smooth closed curve % % s = setupquad(s,N) where s is a struct containing a parametrization of the % curve in the form of function s.Z from [0,2pi) to the complex plane, uses % this to build the set of nodes, weights, speeds, cu...
github
ahbarnett/BIE2D-master
wobblycurve.m
.m
BIE2D-master/utils/wobblycurve.m
1,219
utf_8
9636b63522aa649e68341b33b3083300
function s = wobblycurve(r0,a,w,N) % WOBBLYCURVE Set up a wobbly smooth closed curve ("starfish") % % s = wobblycurve(r0,a,w) where r0 is the mean radius (eg 1), a is amplitude of % wobble (eg 0.3) and w is the frequency (eg 5), returns a segment struct of % the form as in setupquad, but with s.inside being a handl...
github
ahbarnett/BIE2D-master
squashedcircle.m
.m
BIE2D-master/utils/squashedcircle.m
995
utf_8
bffa0930c6613a9fc4a0aed2837dffaf
function s = squashedcircle(R,al,b,N) % SQUASHEDCIRCLE Set up a rotated squashed circle smooth closed curve. % % s = squashedcircle(R,al,b,N) returns a segment structure s. % Inputs: % R = max radius % al = rotation angle % b in (0,1] is squashing param (0 -> touching) % N is # bdry nodes % % Barnett 11/14/17 if nargi...
github
ahbarnett/BIE2D-master
perispecdiff.m
.m
BIE2D-master/utils/perispecdiff.m
853
utf_8
083247f836d7df429d48963ea3567cdb
function g = perispecdiff(f) % PERISPECDIFF - use FFT to take periodic spectral differentiation of vector % % g = perispecdiff(f) returns g the derivative of the spectral interpolant % of f, which is assumed to be the values of a smooth 2pi-periodic function % at the N gridpoints 2.pi.j/N, for j=1,..,N (or any transl...
github
ahbarnett/BIE2D-master
HelmDLP.m
.m
BIE2D-master/kernels/HelmDLP.m
3,843
utf_8
7401946aa56f85b71e66f25319ec1ada
function [u un] = HelmDLP(k,t,s,dens) % HELMDLP Evaluate Helmholtz double-layer potential from curve to targets % % This evaluates the 2D Helmholtz double-layer potential for the density tau, % % u(x) = (i/4) int_gamma (d/dn_y) H^{(1)}_0(kr) tau(y) ds_y, where r:=x-y % ...
github
ahbarnett/BIE2D-master
StoDLP_closeglobal.m
.m
BIE2D-master/kernels/StoDLP_closeglobal.m
5,987
utf_8
f3e6f06539c4ac195862d0e1d38f6a75
function [u p] = StoDLP_closeglobal(t, s, mu, sigma, side) % STODLP_CLOSEGLOBAL - close-eval velocity Stokes DLP w/ global quadr curve % % u = StoDLP_closeglobal(t,s,mu,dens,side) returns velocities at targets t.x % due to double-layer potential with real-valued density dens sampled on the % nodes s.x of a smoot...
github
ahbarnett/BIE2D-master
StoSLP.m
.m
BIE2D-master/kernels/StoSLP.m
5,641
utf_8
8eab5b9b27465982d3529e34df7b4955
function [u,p,T] = StoSLP(t,s,mu,dens) % STOSLP Evaluate 2D Stokes single-layer velocity, pressure, and traction. % % [A,P,T] = StoSLP(t,s,mu) returns dense matrices taking single-layer % density values on the nodes of a source curve to velocity, pressure, and % traction on the nodes of a target curve. Native quadr...
github
ahbarnett/BIE2D-master
StoSLP_closeglobal.m
.m
BIE2D-master/kernels/StoSLP_closeglobal.m
6,737
utf_8
2fcea19060ee585097455febcf7612ce
function [u p T] = StoSLP_closeglobal(t, s, mu, sigma, side) % STOSLP_CLOSEGLOBAL - close-eval velocity Stokes SLP w/ global quadr curve % % u = StoSLP_closeglobal(t,s,mu,dens,side) returns velocities at targets t.x % due to single-layer potential with real-valued density dens sampled on the % nodes s.x of a smo...
github
ahbarnett/BIE2D-master
HelmSLP.m
.m
BIE2D-master/kernels/HelmSLP.m
3,405
utf_8
0ed8a84db3be1454bc84e6644bbcab07
function [u un] = HelmSLP(k,t,s,dens) % HELMSLP Evaluate Helmholtz single-layer potential from curve to targets % % This evaluates the 2D Helmholtz single-layer potential for the density tau, % % u(x) = (i/4) int_gamma H^{(1)}_0(kr) tau(y) ds_y, where r:=x-y, x,y in R2, % % using the native quadrature rule on th...
github
ahbarnett/BIE2D-master
cauchycompeval_lsc2d.m
.m
BIE2D-master/kernels/cauchycompeval_lsc2d.m
8,475
utf_8
98e750bdc05893f3703cda4b0c4b448c
function [vc, vcp] = cauchycompeval_lsc2d(x,s,vb,side,o) % cauchycompeval_lsc2d. Legacy variant of cauchycompeval, from [lsc2d] paper. % % See cauchcompeval % % The only new input needed is s.a, an interior point far from the boundary. % % The algorithm is that of Ioakimidis et al BIT 1991 for interior, and, % for th...
github
ahbarnett/BIE2D-master
LapSLP_closeglobal.m
.m
BIE2D-master/kernels/LapSLP_closeglobal.m
9,518
utf_8
b2aac2bc3e65c66e4fd38eee7034aba5
function [u ux uy uxx uxy uyy info] = LapSLP_closeglobal(t, s, tau, side) % LAPSLP_CLOSEGLOBAL - Laplace SLP potential & deriv w/ global close-eval quad % % u = LapSLP_closeglobal(t,s,dens,side) returns potentials at targets t.x % due to single-layer potential with real-valued density dens sampled on the % nodes s.x ...
github
ahbarnett/BIE2D-master
LapDLP.m
.m
BIE2D-master/kernels/LapDLP.m
2,946
utf_8
bff233d221e8ec23e4c872ffff158bfc
function [u un] = LapDLP(t,s,dens) % LAPDLP Evaluate Laplace double-layer potential from curve to targets % % This evaluates the 2D Laplace double-layer potential for the density tau, % % u(x) = (1/2pi) int_gamma (n_y.(x-y))/r^2 tau(y) ds_y, % where r:=x-y, x,y in...
github
ahbarnett/BIE2D-master
LapSLP.m
.m
BIE2D-master/kernels/LapSLP.m
3,591
utf_8
f419fc257febeecdfa0163f7a58bfdaa
function [u un uxx uxy uyy] = LapSLP(t,s,dens) % LAPSLP Evaluate Laplace single-layer potential from curve to targets % % This evaluates the 2D Laplace single-layer potential for the density tau, % % u(x) = (1/2pi) int_gamma log(1/r) tau(y) ds_y, where r:=x-y, x,y in R2, % % using the native quadrature rule on ...
github
ahbarnett/BIE2D-master
LapDLP_closeglobal.m
.m
BIE2D-master/kernels/LapDLP_closeglobal.m
6,332
utf_8
b2af68616db5514ac98202a790f79aeb
function [u ux uy info] = LapDLP_closeglobal(t, s, tau, side) % LAPDLP_CLOSEGLOBAL - Laplace DLP potential & deriv w/ global close-eval quad % % u = LapDLP_closeglobal(t,s,dens,side) returns potentials at targets t.x % due to double-layer potential with real-valued density dens sampled on the % nodes s.x of a smooth ...
github
ahbarnett/BIE2D-master
srcsum2.m
.m
BIE2D-master/kernels/srcsum2.m
3,784
utf_8
813262bbeb3de8223b1dd07456429793
function [A B C] = srcsum2(kernel, trlist, phlist, t, s, varargin) % SRCSUM2 Sum a kernel eval or matrix over source translations via single call % % This is a variant of srcsum that sums over targets in a single kernel call, % instead of summing over sources with multiple calls. This is useful for % periodized clo...
github
ahbarnett/BIE2D-master
Cau_closeglobal.m
.m
BIE2D-master/kernels/Cau_closeglobal.m
11,616
utf_8
f68ffb0942cfffbc3c41487061e1b583
function [vc vcp vcpp] = Cau_closeglobal(x,s,vb,side,o) % CAU_CLOSEGLOBAL. Globally compensated barycentric int/ext Cauchy integral % % This is a spectrally-accurate close-evaluation scheme for Cauchy integrals. % It returns approximate values (and possibly first derivatives) of a function % either holomorphic insid...
github
ahbarnett/BIE2D-master
srcsum.m
.m
BIE2D-master/kernels/srcsum.m
3,271
utf_8
02e5ed4b7254f5901fc6b48d2c328a98
function [A B C] = srcsum(kernel, trlist, phlist, t, s, varargin) % SRCSUM Sum any kernel evaluation or matrix over a set of source translations % % Note, unlike srcsum2 this handles self-interactions correctly % % [A B ...] = srcsum(kernel, trlist, phlist, t, s) % [A B ...] = srcsum(kernel, trlist, phlist, t, s, par...
github
ahbarnett/BIE2D-master
StoDLP.m
.m
BIE2D-master/kernels/StoDLP.m
5,569
utf_8
3487f6f99597143dfe4f2f5d3dfa8a8f
function [u,p,T] = StoDLP(t,s,mu,dens) % STODLP Evaluate 2D Stokes single-layer velocity, pressure, and traction. % % [A,P,T] = StoDLP(t,s,mu) returns dense matrices taking double-layer % density values on the nodes of a source curve to velocity, pressure, and % traction on the nodes of a target curve. Native quadr...
github
ahbarnett/BIE2D-master
panel_preimage.m
.m
BIE2D-master/panels/panel_preimage.m
1,549
utf_8
cd6b4cc97f10cc1a58b51ad1b3ea105d
function [t0 c cp] = panel_preimage(z,t,z0) % PANEL_PREIMAGE solve for preimage of complex point under panel map. % % t0 = panel_preimage(z,t,z0) returns t0 preimage such that z0 = Z(t0) where % Z : C -> C is the analytic map that took the set of standard nodes t to % the set of nodes z. % % [t0 c cp] = panel_preim...
github
ahbarnett/BIE2D-master
LapDLP_closepanel.m
.m
BIE2D-master/panels/LapDLP_closepanel.m
6,516
utf_8
6e103d40f26d1a6c7b6ae4c6248d4456
function [varargout] = LapDLP_closepanel(t,s,a,b,side, meth) % LAPDLP_CLOSEPANEL - real DLP close-eval matrix (Helsing or sing-swap) % % [A] = LapDLP_closepanel(t,s,a,b) % returns numel(t.x)-by-numel(s.x) matrix which maps DLP values at the nodes % s.x to potential at the targets t.x, both given as lists of % points...
github
ahbarnett/BIE2D-master
perivelpipe_subdrop.m
.m
BIE2D-master/singlyperiodic/perivelpipe_subdrop.m
8,898
utf_8
1ce12c102969290596fd5da8efde419c
function perivelpipe_subdrop(expt) % singly-periodic in 2D velocity-BC Stokes BVP, ie "pipe" geom w/ press drop % Rewrite of 2014 codes using BIE2D, as in DPLS codes. Dense E fill for now, % DLP only on U,D (since wrapping S quad would be harder). 12/17/17 % Trying subtraction of inhom PCs via a known soln v 1/3/18 ...
github
ahbarnett/BIE2D-master
perivelpipe.m
.m
BIE2D-master/singlyperiodic/perivelpipe.m
8,458
utf_8
281814a2ec3475f7bb33c615108f229d
function perivelpipe(expt) % singly-periodic in 2D velocity-BC Stokes BVP, ie "pipe" geom w/ press drop % Rewrite of 2014 codes using BIE2D, as in DPLS codes. Dense E fill for now, % DLP only on U,D (since wrapping S quad would be harder). 12/17/17 disp('2D 1-periodic pressure-driven pipe flow w/ vel BCs on walls') %...
github
ahbarnett/BIE2D-master
testStokernels.m
.m
BIE2D-master/test/testStokernels.m
5,133
utf_8
bcde9edae25a2ce341ecc155327ee854
function testStokernels % TESTSTOKERNELS plot and test properties of Stokes kernels. % % Plot and test 2D Stokes kernels, both velocity and pressure bits, % check satisfies Stokes PDE, traction is correct, and % net outflow and force on wall integrated over enclosing circle, % Barnett 6/27/16 cleaned up from testker...
github
MinyaRancic/Robotiq-Gripper-master
installRobotiqGripperToolbox.m
.m
Robotiq-Gripper-master/installRobotiqGripperToolbox.m
7,483
utf_8
c417fd30ae9964dbc15c5324553839a2
function installRobotiqGripperToolbox(replaceExisting) % INSTALLOPTITRACKTOOLBOX installs Robotiq Gripper Toolbox for MATLAB. % INSTALLOPTITRACKTOOLBOX installs Robotiq Gripper Toolbox into the following % locations: % Source: Destination % Robotiq GripperToolboxFunctions: matlabroot\too...
github
RInstitute/MATLAB_FUER_DUMMIES-master
SagHallo6.m
.m
MATLAB_FUER_DUMMIES-master/Kapitel09/SagHallo6.m
217
utf_8
9fe6483e89f83c7553f4fee3fb4f7659
function [ HalloText ] = SagHallo6( Name ) %SagHallo() % Diese Funktion sagt jedem Hallo! HalloText = [GetGruss(), Name, '!']; disp(HalloText); end function [ Gruss ] = GetGruss () Gruss = 'Hallo da draussen '; end
github
YANG-H/MATLABTools-master
compute_box_from_room.m
.m
MATLABTools-master/OrientationMaps/genroom/compute_box_from_room.m
7,141
utf_8
7c5668d58d9c6c8f3e69b7c9e159f5a0
function roomhyp = compute_box_from_room(roomhyp, vp, imgwidth, imgheight) % box(1): left wall % box(2): middle wall % box(3): right wall % box(4): ceiling % box(5): floor % image boundary polygon imgpoly = [1 1; 1 imgheight; imgwidth imgheight; imgwidth 1; 1 1]; for i = 1:length(roomhyp) rh = roomhyp(i); if...
github
YANG-H/MATLABTools-master
omap_depthorder.m
.m
MATLABTools-master/OrientationMaps/genobjhyp/omap_depthorder.m
4,928
utf_8
52c0f6680ae89b1953eef5d9908d414f
function [depthorder reglabel regori rpo] = omap_depthorder(omap, vp, OMAP_FACTOR) % function [reglabel regori rpo] = omap_depthorder(omap, vp, OMAP_FACTOR) % % % % % % % depthorder{:,1} : smaller means closer to camera % % % % % % % depthorder{:,2} : smaller means away from camera % % % % % % % rpo(j,k) = 1 if region ...
github
YANG-H/MATLABTools-master
cuboid_pts2prm_incomp.m
.m
MATLABTools-master/OrientationMaps/genobjhyp/cuboid_pts2prm_incomp.m
1,249
utf_8
fe99994064a967e44964135ffe960b47
function prm = cuboid_pts2prm_incomp(cuboidhyp, vp) % given incomplete number of points defining a cuboid % converts to five parameters of cuboid % (performs nonlinear optimization) % % prm: [x, y, w, h, d] % x,y: 2D coordinates of corner1 (top,left,front corner) % w: length (in pixels) from corner1 to corner2 % h: len...
github
YANG-H/MATLABTools-master
omapobj2cuboidhyp.m
.m
MATLABTools-master/OrientationMaps/genobjhyp/omapobj2cuboidhyp.m
6,610
utf_8
59808cb42f5729f31cadfb6d7e3dba86
function cuboidhyp = omapobj2cuboidhyp(rpo, reglabel, regori, vp, OMAP_FACTOR) vps{1} = OMAP_FACTOR * vp{1}; vps{2} = OMAP_FACTOR * vp{2}; vps{3} = OMAP_FACTOR * vp{3}; regoriobj = regori; statsobj = regionprops(reglabel,'PixelIdxList','PixelList'); %% rm = regionmask(vps, size(reglabel)); sr = segregion(rm, statsob...
github
YANG-H/MATLABTools-master
cuboid_pts2prm.m
.m
MATLABTools-master/OrientationMaps/genobjhyp/cuboid_pts2prm.m
804
utf_8
223aca96f9066248a279d8c14e2cda83
function prm = cuboid_pts2prm(pts, vp) % converts eight 2D points to five parameters of cuboid % (performs nonlinear optimization) % % prm: [x, y, w, h, d] % x,y: 2D coordinates of corner1 (top,left,front corner) % w: length (in pixels) from corner1 to corner2 % h: length (in pixels) from corner1 to corner3 % d: length...
github
YANG-H/MATLABTools-master
getextremepoints.m
.m
MATLABTools-master/OrientationMaps/genobjhyp/getextremepoints.m
2,061
utf_8
9b339d101530b09862f7296b9da2834d
function [pleft pright pbot2 ptop2 pbot3 ptop3 pleft3 pright3] = ... getextremepoints(region, vp) % region: [n x 2] [x y] position of n points %% get extreme points in image [point1 point2] = tangentpoint(region, vp{1}); if point1(1) > point2(1) pright = point1; pleft = point2; else pright = point2; pleft ...