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
audacity/audacity-from-svn-5GB-master
sndfile_play.m
.m
audacity-from-svn-5GB-master/audacity-src/tags/Audacity_1_3_12/lib-src/libsndfile/Octave/sndfile_play.m
1,553
utf_8
630f0bcf28fd966929eeacd23df6f877
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_load.m
.m
audacity-from-svn-5GB-master/audacity-src/tags/Audacity_1_3_12/lib-src/libsndfile/Octave/sndfile_load.m
1,480
utf_8
9835b0a18296b6b4a4291475ab90d2ac
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_save.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/Audacity_UmixIt_&_branding/audacity-src/lib-src/libsndfile/Octave/sndfile_save.m
1,787
utf_8
cca1d23d743236caedacd5e15aa4d03b
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_play.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/Audacity_UmixIt_&_branding/audacity-src/lib-src/libsndfile/Octave/sndfile_play.m
1,750
utf_8
4be79a4d5a59733191ad598af29d4a15
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_load.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/Audacity_UmixIt_&_branding/audacity-src/lib-src/libsndfile/Octave/sndfile_load.m
1,677
utf_8
c9f71bff560fc91e12b4b667364c5fdd
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_save.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/Audacity_TrustMedia/lib-src/libsndfile/Octave/sndfile_save.m
1,595
utf_8
e111c414a56ad9be6860d082f0de0cca
## Copyright (C) 2002-2011 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distribute...
github
audacity/audacity-from-svn-5GB-master
sndfile_play.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/Audacity_TrustMedia/lib-src/libsndfile/Octave/sndfile_play.m
1,558
utf_8
08c37ba08d4a75136216b4c844420b00
## Copyright (C) 2002-2011 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distribute...
github
audacity/audacity-from-svn-5GB-master
sndfile_load.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/Audacity_TrustMedia/lib-src/libsndfile/Octave/sndfile_load.m
1,483
utf_8
06ed17568a7d51c3e166c6907a5e6ba9
## Copyright (C) 2002-2011 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distribute...
github
audacity/audacity-from-svn-5GB-master
sndfile_save.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/AUDACITY_1_2/lib-src/libsndfile/Octave/sndfile_save.m
1,787
utf_8
cca1d23d743236caedacd5e15aa4d03b
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_play.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/AUDACITY_1_2/lib-src/libsndfile/Octave/sndfile_play.m
1,750
utf_8
4be79a4d5a59733191ad598af29d4a15
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_load.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/AUDACITY_1_2/lib-src/libsndfile/Octave/sndfile_load.m
1,677
utf_8
c9f71bff560fc91e12b4b667364c5fdd
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_save.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/audacity-1_2_1-branch/lib-src/libsndfile/Octave/sndfile_save.m
1,575
utf_8
6a91145f6b7baef890b712b931c730e9
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_play.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/audacity-1_2_1-branch/lib-src/libsndfile/Octave/sndfile_play.m
1,538
utf_8
f6d206d68d6d4ff8c11e9511e8abc5b2
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_load.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/audacity-1_2_1-branch/lib-src/libsndfile/Octave/sndfile_load.m
1,477
utf_8
7e4e89a74628a62dd0e4c5b83a40da70
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_save.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/audacity-1_3_0-branch/lib-src/libsndfile/Octave/sndfile_save.m
1,787
utf_8
cca1d23d743236caedacd5e15aa4d03b
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_play.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/audacity-1_3_0-branch/lib-src/libsndfile/Octave/sndfile_play.m
1,750
utf_8
4be79a4d5a59733191ad598af29d4a15
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
audacity/audacity-from-svn-5GB-master
sndfile_load.m
.m
audacity-from-svn-5GB-master/audacity-src/branches/audacity-1_3_0-branch/lib-src/libsndfile/Octave/sndfile_load.m
1,677
utf_8
c9f71bff560fc91e12b4b667364c5fdd
## Copyright (C) 2002 Erik de Castro Lopo ## ## 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, or (at your option) ## any later version. ## ## This program is distributed in ...
github
OpenFora/openqwaq-master
echo_diagnostic.m
.m
openqwaq-master/qwaqvm/platforms/Cross/third-party/speex-1.2rc1-src/speex-1.2rc1/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
extragoya/LibNT-master
dense_mia_solve_test.m
.m
LibNT-master/src/MATLAB/tests/MIA/dense_mia_solve_test.m
1,295
utf_8
7abc192dc98996968f11da722ab2542b
function tests = dense_mia_solve_test tests = functiontests(localfunctions); end function testSimpleSolve1(testCase) [B, B_test]=dense_mia_solve_test_work([5 10 10],[10 10 5],'!i,j,k','j,l,!i',0); verifyEqual(testCase,B.data,B_test.data,'AbsTol',1000*eps ); end function testSimpleSolve2(testCase)...
github
extragoya/LibNT-master
dense_mia_mult_test.m
.m
LibNT-master/src/MATLAB/tests/MIA/dense_mia_mult_test.m
1,304
utf_8
7962cc0b80851df722bbbf6ea4c538b6
function tests = dense_mia_mult_test tests = functiontests(localfunctions); end function testSimpleMult1(testCase) [C, c_data]=dense_mia_mult_test_work([5 7 6],[7 8 5],'!i,j,k','j,l,!i',3,2,1,2,1,3); verifyEqual(testCase,C.data,c_data,'AbsTol',100*eps ); end function testMult1(testCase) ...
github
extragoya/LibNT-master
dense_mia_assign_test.m
.m
LibNT-master/src/MATLAB/tests/MIA/dense_mia_assign_test.m
1,415
utf_8
a3ed7852c84c76bf2a20d74ed106d5ec
function tests = dense_mia_assign_test tests = functiontests(localfunctions); end function testSimpleAssign1(testCase) [C, c_data]=dense_mia_assign_test_work([5 7 6],'i,j,k','i,j,k',[1 2 3]); verifyEqual(testCase,C.data,c_data,'AbsTol',100*eps ); end function testSimpleAssign2(testCase) ...
github
extragoya/LibNT-master
dense_mia_merge_test.m
.m
LibNT-master/src/MATLAB/tests/MIA/dense_mia_merge_test.m
2,408
utf_8
b91adb1195244fb0423b4d09d70ada3d
function tests = dense_mia_merge_test tests = functiontests(localfunctions); end function testSimpleMerge1(testCase) [C, c_data]=dense_mia_merge_test_work([5 7 6],'i,j,k','i,j,k',[1 2 3],1); verifyEqual(testCase,C.data,c_data,'AbsTol',100*eps ); [C, c_data]=dense_mia_merge_test_work([5 7 6],'i,j...
github
extragoya/LibNT-master
dense_lattice_mult_test.m
.m
LibNT-master/src/MATLAB/tests/Lattice/dense_lattice_mult_test.m
1,029
utf_8
882352be1423a9a0019571ba03acbfac
function tests = dense_lattice_mult_test tests = functiontests(localfunctions); end function testMult1(testCase) m1=5;n1=6;p=2;m2=6;n2=10; [C, c_data]=dense_lattice_mult_test_work(m1,n1,m2,n2,p); verifyEqual(testCase,C.vals,c_data,'AbsTol',2*eps ); end function testMult2(testCase) m1=5;n1...
github
extragoya/LibNT-master
dense_lattice_solve_test.m
.m
LibNT-master/src/MATLAB/tests/Lattice/dense_lattice_solve_test.m
904
utf_8
4e8daa03789e517cc080fbd43f96be96
function tests = dense_lattice_solve_test tests = functiontests(localfunctions); end function testSolveSquare1(testCase) m1=5;n1=5;p=2;m2=5;n2=10; [C, c_data]=dense_lattice_solve_test_work(m1,n1,m2,n2,p); verifyEqual(testCase,C.vals,c_data,'AbsTol',100*eps ); end function testSolveSquare2(te...
github
extragoya/LibNT-master
sparse_mia_solve_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_solve_test.m
1,438
utf_8
8c9a6624a98261a7dcf1a9f8aceb4d32
function tests = sparse_mia_solve_test tests = functiontests(localfunctions); end function testSimpleSolve1(testCase) [C, DenseC]=sparse_mia_solve_test_work([5 10 10],[10 10 5],'!i,j,k','j,l,!i',[1 2 3],[1 2 3],1,1); verifyEqual(testCase,C.data,DenseC.data,'AbsTol',5000*eps ); end function testSi...
github
extragoya/LibNT-master
sparse_mia_mult_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_mult_test.m
7,042
utf_8
8a0e4ee5ef45ea56be7d3e300e012488
function tests = sparse_mia_mult_test tests = functiontests(localfunctions); end function testSimpleMult1(testCase) [C, DenseC]=sparse_mia_mult_test_work([5 7 6],[7 8 5],'!i,j,k','j,l,!i',[1 2 3],[1 2 3],1,1); verifyTrue(testCase,C==DenseC); [C, DenseC]=sparse_mia_mult_test_work([5 7 6],[7 8 5],...
github
extragoya/LibNT-master
sparse_mia_sort_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_sort_test.m
506
utf_8
3b735f9f8932e563ab4dd03bf943ca52
function tests = sparse_mia_sort_test tests = functiontests(localfunctions); end function testSort1(testCase) dims=[5 5 5]; [A, A2]=sparse_mia_sort_test_work(dims); verifyEqual(testCase,A.data,A2.data); verifyEqual(testCase,A.indices,A2.indices); end function testSort2(testCas...
github
extragoya/LibNT-master
sparse_mia_merge_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_merge_test.m
4,883
utf_8
e66e569e774800b914d2e213acb0f9e7
function tests = sparse_mia_merge_test tests = functiontests(localfunctions); end function testSimpleMerge1(testCase) [C, DenseC]=sparse_mia_merge_test_work([5 7 6],'i,j,k',[1 2 3],1,[5 7 6],'i,j,k',[1 2 3],1,1); verifyTrue(testCase,C==DenseC); [C, DenseC]=sparse_mia_merge_test_wor...
github
extragoya/LibNT-master
sparse_mia_assign_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_assign_test.m
2,356
utf_8
2718637dbda8ed2f68679d1244607c50
function tests = sparse_mia_assign_test tests = functiontests(localfunctions); end function testSimpleAssign1(testCase) dims=[5 7 6]; lexOrder=[1 2 3]; [C, DenseC]=sparse_mia_assign_test_work(dims,'i,j,k','i,j,k',lexOrder); verifyTrue(testCase,C.isSorted); verifyEqual(testCase,C.di...
github
extragoya/LibNT-master
sparse_mia_changelinIdx_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_changelinIdx_test.m
1,896
utf_8
44e9c0cadd62092aa3bfae2bfff26592
function tests = sparse_mia_changelinIdx_test tests = functiontests(localfunctions); end function testLinIdx3_1(testCase) newIdx=[3 2 1]; dims=[5 5 5]; [A, A2]=sparse_mia_changelinIdx_test_work(newIdx,dims); verifyEqual(testCase,A.indices,A2.indices); end function testL...
github
extragoya/LibNT-master
sparse_mia_permute_test.m
.m
LibNT-master/src/MATLAB/tests/SparseMIA/sparse_mia_permute_test.m
2,180
utf_8
b5594a58258dd03702816b227413678e
function tests = sparse_mia_permute_test tests = functiontests(localfunctions); end function testLinIdx3_1(testCase) newIdx=[3 2 1]; dims=[5 5 5]; [A, A2]=sparse_mia_permute_test_work(newIdx,dims); verifyEqual(testCase,A.indices,A2.indices); verifyEqual(testCase,A.data,A2.da...
github
extragoya/LibNT-master
sparse_lattice_mult_test.m
.m
LibNT-master/src/MATLAB/tests/SparseLattice/sparse_lattice_mult_test.m
998
utf_8
40bcfb319032c6a377c65a900780628f
function tests = sparse_lattice_mult_test tests = functiontests(localfunctions); end function testMult1(testCase) m1=5;n1=6;p=2;m2=6;n2=10; [C, denseC]=sparse_lattice_mult_test_work(m1,n1,m2,n2,p); verifyTrue(testCase,fuzzy_eq(C,denseC,0)); end function testMult2(testCase) m1=5;n1=6;p=1;m...
github
extragoya/LibNT-master
sparse_lattice_solve_test.m
.m
LibNT-master/src/MATLAB/tests/SparseLattice/sparse_lattice_solve_test.m
935
utf_8
18fd52934c29145ba7807e6b26c56f30
function tests = sparse_lattice_solve_test tests = functiontests(localfunctions); end function testSolveSquare1(testCase) m1=5;n1=5;p=2;m2=5;n2=10; [C, denseC]=sparse_lattice_solve_test_work(m1,n1,m2,n2,p); verifyEqual(testCase,C.vals,denseC.vals,'AbsTol',500*eps ); end function ...
github
extragoya/LibNT-master
sparse_lattice_merge_test.m
.m
LibNT-master/src/MATLAB/tests/SparseLattice/sparse_lattice_merge_test.m
1,846
utf_8
aa2bded840c17c184efdb5a5cc7f7de9
function tests = sparse_lattice_merge_test tests = functiontests(localfunctions); end function testPlus1(testCase) m=5;n=5;p=5; [C, denseC]=sparse_lattice_merge_test_work(m,n,p,1); verifyTrue(testCase,fuzzy_eq(C,denseC,0)); end function testPlus2(testCase) m=1;n=5;p=5; ...
github
extragoya/LibNT-master
sparse_dense_lattice_mult_test.m
.m
LibNT-master/src/MATLAB/tests/SparseLattice/sparse_dense_lattice_mult_test.m
1,628
utf_8
0a2018fcf655b8983ea1dec2621231a2
function tests = sparse_dense_lattice_mult_test tests = functiontests(localfunctions); end function testMult1(testCase) m1=5;n1=6;p=2;m2=6;n2=10; [C, denseC]=sparse_dense_lattice_mult_test_work(m1,n1,m2,n2,p,0); verifyTrue(testCase,fuzzy_eq(C,denseC,0)); [C, denseC]=sparse_dense_lattice_mult_te...
github
CE440Finite/FEA-Matlab-master
JointDisplacement.m
.m
FEA-Matlab-master/JointDisplacement.m
602
utf_8
1b3b29f2f0a99417df9ee69201c4cd23
% Calculation of joint displacements by Gauss- Jordan Elimination. function [s, p] = JointDisplacement(ndof,s,p) i = 1; while i <= ndof z1 = s(i,i); j = 1; while j <= ndof s(i,j) = s(i,j)./z1; j =j+1; end p(i) = p(i)./z1; k = 1; while k <= ndof if k == i k...
github
CE440Finite/FEA-Matlab-master
coordinateNum.m
.m
FEA-Matlab-master/coordinateNum.m
1,259
utf_8
cb763420efee959f8f1f61dddfcf31d0
%% Joint Coordinate Numbers function nsc = coordinateNum(ncjt, nj,ns, ndof, msup) nsc = zeros(1,ncjt*nj)'; %dimension and allocate coordinate number vector i = 1; j = 0;k = ndof; while i <= nj % main loop icount = 0; i1 = 1; while i1 <= ns %check each joint, starting at 1 if msup(i1,1) == i %...
github
CE440Finite/FEA-Matlab-master
jointDisplacement.m
.m
FEA-Matlab-master/Submitted Files/jointDisplacement.m
602
utf_8
1b3b29f2f0a99417df9ee69201c4cd23
% Calculation of joint displacements by Gauss- Jordan Elimination. function [s, p] = JointDisplacement(ndof,s,p) i = 1; while i <= ndof z1 = s(i,i); j = 1; while j <= ndof s(i,j) = s(i,j)./z1; j =j+1; end p(i) = p(i)./z1; k = 1; while k <= ndof if k == i k...
github
CE440Finite/FEA-Matlab-master
coordinateNum.m
.m
FEA-Matlab-master/Submitted Files/coordinateNum.m
1,259
utf_8
cb763420efee959f8f1f61dddfcf31d0
%% Joint Coordinate Numbers function nsc = coordinateNum(ncjt, nj,ns, ndof, msup) nsc = zeros(1,ncjt*nj)'; %dimension and allocate coordinate number vector i = 1; j = 0;k = ndof; while i <= nj % main loop icount = 0; i1 = 1; while i1 <= ns %check each joint, starting at 1 if msup(i1,1) == i %...
github
PetaVision/OpenPV-master
readSoftThreshold.m
.m
OpenPV-master/tutorials/Total_Energy/analysis/readSoftThreshold.m
1,773
utf_8
6a09d7f29d59040b99c5d3f850837b9b
% [t,reconerror,costfunc,totalenergy,activationpercent,inputenergy,timescale,hypercolTimeScale] = readSoftThreshold() function [t,reconerror,costfunc,totalenergy,activationpercent, inputenergy, timescale,hypercolTimeScale] = ... readSoftThreshold() [t, reconerror] = ... readenergydata('../output-SoftThreshold/r...
github
PetaVision/OpenPV-master
readFirmThreshold.m
.m
OpenPV-master/tutorials/Total_Energy/analysis/readFirmThreshold.m
1,779
utf_8
8252537ecbb8a7f78f8517bf9010d658
% [t,reconerror,costfunc,totalenergy,activationpercent,inputenergy,timescale,hypercolTimeScale] = readFirmThreshold() function [t,reconerror,costfunc,totalenergy,activationpercent, inputenergy, timescale,hypercolTimeScale] = ... readFirmThreshold() [t, reconerror] = ... readenergydata('../output-FirmThreshold/r...
github
PetaVision/OpenPV-master
readHardThreshold.m
.m
OpenPV-master/tutorials/Total_Energy/analysis/readHardThreshold.m
1,773
utf_8
7494b054f170d04dd4e7f6bb314b1c94
% [t,reconerror,costfunc,totalenergy,activationpercent,inputenergy,timescale,hypercolTimeScale] = readHardThreshold() function [t,reconerror,costfunc,totalenergy,activationpercent, inputenergy, timescale,hypercolTimeScale] = ... readHardThreshold() [t, reconerror] = ... readenergydata('../output-HardThreshold/r...
github
PetaVision/OpenPV-master
increaseKernelPatchSize.m
.m
OpenPV-master/mlab/util/increaseKernelPatchSize.m
3,417
utf_8
552dfcb9ce070eeb145b9a4274186119
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% Increases the number of weight elements in the feature dimension to NFP in a kernel (weights) pvp file %% %% Will Shainin %% Mar 20...
github
PetaVision/OpenPV-master
append.m
.m
OpenPV-master/mlab/util/append.m
5,541
utf_8
5c2050fc54cadbd325c5f63a2735407c
% % append(inputFileNameA, inputFileNameB, outputFileName, progressInterval) % Austin Thresher % % Appends file B to the end of file A and writes the result to a new file. % The operation is performed one frame at a time to avoid memory issues. % Only works on filetypes 4 and 6 (Activity and Sparse Values) function ap...
github
PetaVision/OpenPV-master
calc_score.m
.m
OpenPV-master/mlab/util/calc_score.m
481
utf_8
0e58a4638c0bf0fd36396e31fa804c13
% Takes in the output of a classifier and the ground truth and scores it. % Expects ground truth to be a one-hot 1x1xF vector. function score = calc_score(estPvp, gtPvp) est = readpvpfile(estPvp); gt = readpvpfile(gtPvp); score = 0; total = size(gt)(1); for i=1:total [estVal, estInd] = max(es...
github
PetaVision/OpenPV-master
conv3weights.m
.m
OpenPV-master/mlab/util/conv3weights.m
3,704
utf_8
9bbf79c825ca01cef18fb496fb718ab0
%% This function was taken out of printCheckpointedThirdLevelWeights.m because some versions of octave do not support nested function handles. %% %% -Wesley Chavez, 6/18/15 function conv3weights (input_pvps,weights_1_pvps,weights_2_pvps,weights_3_pvps) fid = fopen(input_pvps,'r'); input_header = readpvpheader(f...
github
PetaVision/OpenPV-master
makeFinite.m
.m
OpenPV-master/mlab/util/makeFinite.m
205
utf_8
9414e81dd3bee7788949d49d6c3f1ae4
% Use this function with modifyEach. Replaces % any NaNs or Infs in a matrix with zeros. function result = makeFinite(data) data(isnan(data)) = 0; data(~isfinite(data)) = 0; result = data; end
github
PetaVision/OpenPV-master
errorcurve.m
.m
OpenPV-master/mlab/util/errorcurve.m
9,006
utf_8
a2aeaa4920ecdb9c2d978afb05796701
% errorcurve(errorFileDir, filenames, plotLimits, displayPeriod) % % Used to visualize how the L2, L1 error and total energy of the network % change during training. First n, last m display periods are plotted as well as % all settled values and a running mean of the latter. Will also save figures % as pdf files in err...
github
PetaVision/OpenPV-master
writepvpweightfile.m
.m
OpenPV-master/mlab/util/writepvpweightfile.m
11,668
utf_8
7e5ffaa764e9cc7abfb65aeff5b82897
function writepvpweightfile(filename, data, nxGlobalPre, nyGlobalPre, nfPre, nbPre, nxGlobalPost, nyGlobalPost, postweightsflag) % Usage: writepvpweightfile(filename, data, nxGlobalPre, nyGlobalPre, nfPre, nbPre, nxGlobalPost, nyGlobalPost, postweightsflag) % filename is the pvp file to be created. If the file...
github
PetaVision/OpenPV-master
sortweightsplot.m
.m
OpenPV-master/mlab/util/sortweightsplot.m
5,269
utf_8
0b6af78f93f46dbcfbb527164780c318
% ind=sortweightsplot(output_dir,activity_file,checkpoint_dir,weights_files,sortby,showActivityPlots,pauseflag,nLookBack) % % Sort the weight vectors by their overall activities in the training or testing process % output_dir: % where to find the pvp-activity file % also, the weights_move folder with th...
github
PetaVision/OpenPV-master
weightsplot.m
.m
OpenPV-master/mlab/util/weightsplot.m
9,187
utf_8
c7fae74ed268a28544ffeed7622fda1b
% weightsplot(output_dir,checkpoint_dir,weights_files,ind,cols,prefix) % % Make basis vector images % output_dir: where to place a directory "weights_movie". Plots will be located here. % checkpoint_dir: where to find the weight files % weight_files: string of weightfile name. % If more than one weight (e.g. ...
github
PetaVision/OpenPV-master
howManyPixelsAmILookingAt.m
.m
OpenPV-master/mlab/util/howManyPixelsAmILookingAt.m
1,563
utf_8
5ee3b977bd3ff085984e96fa8c5b9d01
% Given N stacked layers, returns the number of pixels in (a neuron in the Nth layer)'s receptive field IN ONE DIRECTION. % -Wesley Chavez 04/08/15 % % % Example for 4 layers: % nxp: The number of neurons in the above layer stride: The number of neurons i...
github
PetaVision/OpenPV-master
increaseNumFeatInFile.m
.m
OpenPV-master/mlab/util/increaseNumFeatInFile.m
3,325
utf_8
08dc0bf1e04e92479d9067c4275049f8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% Increases the number of weight elements in a kernel (weights) pvp file %% %% Will Shainin %% Mar 20, 2014 %% %% Input: pvpFile, newN...
github
PetaVision/OpenPV-master
conv2weights.m
.m
OpenPV-master/mlab/util/conv2weights.m
2,480
utf_8
72ad1a3ed6e3f8230a27f879da630eb7
%% This function was taken out of printCheckpointedSecondLevelWeights.m because some versions of octave do not support nested function handles. %% %% -Wesley Chavez, 6/18/15 function conv2weights (input_pvps,weights_1_pvps,weights_2_pvps) fid = fopen(input_pvps,'r'); input_header = readpvpheader(fid); ...
github
PetaVision/OpenPV-master
growpvpfile.m
.m
OpenPV-master/mlab/util/growpvpfile.m
3,530
utf_8
af4eb824b7190bfaf82b8a7ce25fda50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% Grow PVP activity file to larger dimensions %% %% Sheng Lundquist %% Aug 6, 2014 %% %% Input: PVP file, offsetX, offsetY, nX, nY, (progressPeriod) %% PVP file - File...
github
PetaVision/OpenPV-master
modifyeach.m
.m
OpenPV-master/mlab/util/modifyeach.m
3,286
utf_8
bb40da7427a653e671fe88cc8ecec450
% % modifyeach(inputFileName, outputFileName, callbackFunction, progressInterval) % Austin Thresher % % Applies callbackFunction to each frame in the input pvp file % and writes the result to outputFileName. The callback function % must accept an NX x NY x NF size matrix and return the modified % result. This reads and...
github
PetaVision/OpenPV-master
canny.m
.m
OpenPV-master/mlab/imgProc/canny.m
2,299
utf_8
bfc06ac38b153b9b7bb0e83bb9b1eeb3
% CANNY - Canny edge detection % % Function to perform Canny edge detection. Code uses modifications as % suggested by Fleck (IEEE PAMI No. 3, Vol. 14. March 1992. pp 337-345) % % Usage: [gradient or] = canny(im, sigma) % % Arguments: im - image to be procesed % sigma - standard deviation of Gaussian ...
github
USBhost/MX_FFmpeg-master
echo_diagnostic.m
.m
MX_FFmpeg-master/ffmpeg/JNI/speex-1.2rc1/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
tarankalra1/COAWST_VEG_deprecated--master
sw_f.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/mtools/sw_f.m
1,523
utf_8
b28598dccd8847f18c9f3a958d6c05bb
function f = sw_f(lat) % SW_F Coriolis factor "f" %=========================================================================== % SW_F $Revision: 1.3 $ $Date: 1994/10/10 04:57:08 $ % Copyright (C) CSIRO, Phil Morgan 1993. % % USAGE: f = sw_f(lat) % % DESCRIPTION: % Calculates the Corioli...
github
tarankalra1/COAWST_VEG_deprecated--master
sw_dist.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/mtools/sw_dist.m
3,311
utf_8
8f821f48e1e865607882b9682ada71ff
function [dist,phaseangle] = distance(lat,lon,units) % SW_DIST Distance between two lat,lon coordinates %=================================================================== % SW_DIST $Revision: 1.4 $ $Date: 1994/10/10 04:55:23 $ % Copyright (C) CSIRO, Phil Morgan & Steve Rintoul 1992. % % USAGE...
github
tarankalra1/COAWST_VEG_deprecated--master
m_proj.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/m_map/m_proj.m
4,112
utf_8
967e7e1560fb2607bd5af15913e0bf18
function m_proj(proj,varargin) % M_PROJ Initializes map projections info, putting the result into a structure % % M_PROJ('set') tells you the current state % M_PROJ('get') gives you a list of all possibilities % M_PROJ('get','proj name') gives info about a projection in the % ...
github
tarankalra1/COAWST_VEG_deprecated--master
m_grid.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/m_map/m_grid.m
21,896
utf_8
e77de65baba405d686843e33cf9df1cf
function m_grid(varargin); % M_GRID make a grid on a map. % M_GRID('parameter','value',...) with any number (or no) % optional parameters is used to draw a lat/long grid for a % previously initialized map projection. % % The optional parameters allow the user % to control the look of ...
github
tarankalra1/COAWST_VEG_deprecated--master
mp_utm.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/m_map/private/mp_utm.m
9,582
utf_8
e63461b910a9f56485e70cd3a2786312
function [X,Y,vals,labI]=mp_utm(optn,varargin) % MP_UTM Universal Transverse Mercator projection % This function should not be used directly; instead it is % is accessed by various high-level functions named M_*. % mp_utm.m, Peter Lemmond (peter@whoi.edu) % created mp_utm.m 13Aug98 from mp_tmer...
github
tarankalra1/COAWST_VEG_deprecated--master
mu_coast.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/m_map/private/mu_coast.m
17,498
utf_8
16023c34f5ff7dfd034eeb40d1c28b77
function [ncst,Area,k]=mu_coast(optn,varargin); % MU_COAST Add a coastline to a given map. % MU_COAST draw a coastline as either filled patches (slow) or % lines (fast) on a given projection. It uses a coastline database with % a resolution of about 1/4 degree. % % It is not meant to be...
github
tarankalra1/COAWST_VEG_deprecated--master
mu_util.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/m_map/private/mu_util.m
11,779
utf_8
99d27c6bf250a55d5bf69384a508811b
function varargout=mu_util(optn,varargin); % MU_UTIL Various utility routines % This function should not be used directly; instead it is % is accessed by other high- and low-level functions. % MU_UTIL is basically a driver for a number of lower-level routines collected % together for convenience. T...
github
tarankalra1/COAWST_VEG_deprecated--master
clabel.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/m_map/private/clabel.m
16,795
utf_8
c817129bf75333f9fa8febc214f56aa7
function hh = clabel(cs,varargin) %CLABEL Contour plot elevation labels. % CLABEL(CS,H) adds height labels to the current contour % plot. The labels are rotated and inserted within the contour % lines. CS and H are the contour matrix output and object handle % outputs from CONTOUR, CONTOUR3, or CONTOURF. % % ...
github
tarankalra1/COAWST_VEG_deprecated--master
t_synth.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/tides/t_tide/t_synth.m
8,134
utf_8
dbc895afd3a727fdeaee554e1e30c4d7
function [sm,lm,tcon]=t_synth(varargin) % T_SYNTH Monte-Carlo test of the error estimation using synthetic data % A single test of the harmonic analysis involves: % % 1) Generation of a "pure" tidal signal with known constituents. % 2) Contamination with noise (according to some statistical model). % 3) The...
github
tarankalra1/COAWST_VEG_deprecated--master
t_tide.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/tides/t_tide/t_tide.m
42,286
utf_8
568e283ea8b20b5f93e24c87ee54e701
function [nameu,fu,tidecon,xout]=t_tide(xin,varargin); % T_TIDE Harmonic analysis of a time series % [NAME,FREQ,TIDECON,XOUT]=T_TIDE(XIN) computes the tidal analysis % of the (possibly complex) time series XIN. % % [TIDESTRUC,XOUT]=T_TIDE(XIN) returns the analysis information in % a structure formed of NAME, FRE...
github
tarankalra1/COAWST_VEG_deprecated--master
t_xtide.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/tides/t_tide/t_xtide.m
15,680
utf_8
41c233c52de746cd1fc7c9ff11ae0a00
function pred=t_xtide(varargin); % T_XTIDE Tidal prediction % YOUT=T_XTIDE(STATION) makes a tidal prediction % for the current day using the harmonics file from XTIDE. % if STATION is a string then the first match found in the database is % used, you can request matches to other stations by appending '(2)' to % ...
github
tarankalra1/COAWST_VEG_deprecated--master
cBEpm.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/tides/tidal_ellipse/cBEpm.m
4,296
utf_8
0fa66f101416d940db3222e82d7c6dd8
function [BEp, BEm]=cBEpm(g, f, sigma, nu, kappa, z, h) %Evaluate the theoretical vertical profiles (or Bottom Ekman spiral profiles) %of tidal currents in the two rotary directions driven by half-unit of sea %surface gradients in the two directions respectively. Eddy viscosity is %assumed as vertically invarian...
github
tarankalra1/COAWST_VEG_deprecated--master
plot_ell.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/tides/tidal_ellipse/plot_ell.m
4,845
utf_8
5869c2c35e1fccf6553bf24a1b5584a4
function w=plot_ell(SEMA, ECC, INC, PHA, IND) % % An auxiliary function used in ap2ep and ep2ap for plotting % tidal ellipse. The inputs, MA, ECC, INC and PHA are the output of % ap2ep and IND is a vector for indices for plotting a particular % ellipse, e.g., if IND=[2 3 1]; the ellipse corresponding to % the ...
github
tarankalra1/COAWST_VEG_deprecated--master
axisscroll.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/landmask/axisscroll.m
3,350
utf_8
94e2f19c0a98116d4e3546b22ffa1e12
function h=axisscroll(type); % AXISSCROLL Creates scrollbar(s) for the current axes. % % h=AXISSCROLL(TYPE) place a scrollbar according with the value of % TYPE: 'l' left axis, 'r' right axis, 't' top axis, or 'b' bottom % axis. If the axis limits are changed, like zooming in, a call to % AXISSCROLL without arguments ...
github
tarankalra1/COAWST_VEG_deprecated--master
editbath.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/landmask/editbath.m
14,411
utf_8
5da913a62b16449e3653c1822d0ecf08
function editbath(grid_file, coast_file); % EDITMASK: Interactive Land/Sea mask editing for ROMS % % EDITMASK(GRID_FILE,COAST_FILE) is tool for manual editing of the % Land/Sea mask on RHO-points. To accelerate the proccessing, the % Land/Sea mask is edited in (I,J) grid coordinates. GRID_FILE is % the GRID NetCDF ...
github
tarankalra1/COAWST_VEG_deprecated--master
editmask.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/landmask/editmask.m
12,289
utf_8
b3cb9d78996df3dde9960f25edcf49a6
function editmask(grid_file, coast_file); % EDITMASK: Interactive Land/Sea mask editing for ROMS % % EDITMASK(GRID_FILE,COAST_FILE) is tool for manual editing of the % Land/Sea mask on RHO-points. To accelerate the proccessing, the % Land/Sea mask is edited in (I,J) grid coordinates. GRID_FILE is % the GRID NetCDF ...
github
tarankalra1/COAWST_VEG_deprecated--master
textbox.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/landmask/textbox.m
1,491
utf_8
b7563b417af211febe7894ab8e3dc3db
function h=textbox(r, tit, texts, name); % TEXTBOX: Creates a textbox in a frame % % h=TEXTBOX(R,TIT,TEXTS,NAME) creates a frame at position R, % title TIT, and places a set of boxes in it (one per cell % in TEXTS). The global variable GUI will have a field NAME_h % with the handles. % % svn $Id: textbox...
github
tarankalra1/COAWST_VEG_deprecated--master
radiobox.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/landmask/radiobox.m
1,940
utf_8
bba03f0b7b1f886851f95e259467eb96
function h=radiobox(r,tit,texts,name); % RADIOBOX Creates a group of radiobuttons. % % h=RADIOBOX(R,TIT,TEXTS,NAME) creates a frame at position R, % title TIT, and places a set of radiobuttons in it (one per % cell in TEXTS). Some functionality is also implemented (e.g. % exclusive selection). The global v...
github
tarankalra1/COAWST_VEG_deprecated--master
contact.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/grid/contact.m
127,124
utf_8
6e24cb7fdc7b7471f6627a231af40019
function [S,G] = contact(Gnames, Cname, varargin) % % CONTACT: Sets Contact Points between ROMS nested Grids. % % [S,G] = contact(Gnames, Cname, Lmask, MaskInterp, Lplot) % % This function sets contact points in the overlaping contact % regions between nested grids. The order of nested grid file % names in input cell...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_write.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_write.m
16,308
utf_8
3116766b8333dd8f4b9b58427c3686d2
function status = nc_write(ncfile, Vname, f, varargin) % % NC_WRITE: Writes a variable into a NetCDF file % % status = nc_write(ncfile, Vname, f, Tindex) % % This routine writes in a generic variable into a NetCDF file. % % On Input: % % ncfile NetCDF file name (string) % % Vname NetCDF variable name...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_drename.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_drename.m
5,011
utf_8
17b1e1cb83fcf4f4f41a13833cac7107
function [status]=nc_drename(ncfile, Dname_old, Dname_new) % % NC_DRENAME: Changes the name of a dimension in a NetCDF file % % status = nc_drename(ncfile, Dname_old, Dname_new) % % This function renames requested dimension in a NetCDF file. % % On Input: % % ncfile NetCDF file name (string) % % Dname_o...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_getatt.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_getatt.m
14,780
utf_8
44da5146b4b992f8f88a313e7ad92acd
function A = nc_getatt(ncfile, Aname, Vname) % % NC_GETATT: Gets a global or variable NetCDF attribute % % A = nc_getatt(ncfile, Aname,Vname) % % This function reads the global or variable attributes from input % NetCDF file. If the "Vname" argument is missing, it is assumed % that "Aname" is a global attribute. If b...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_vinfo.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_vinfo.m
26,572
utf_8
49eb0d608e2c4332edd372d925916968
function V = nc_vinfo(ncfile, Vname) % % NC_VINFO: Inquire information about requested NetCDF variable % % V = nc_vinfo(ncfile, Vname) % % This function gets information about requested NetCDF variable. % % On Input: % % ncfile NetCDF file name or URL name (character string) % Vname Field variable name...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_vrename.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_vrename.m
4,966
utf_8
8e042b838930566f95c3278e0f2f908f
function status = nc_vrename(Fname, Vname_old, Vname_new) % % NC_VRENAME: Changes the name of a variable in a NetCDF file % % status = nc_vrename(Fname, Vname_old, Vname_new) % % This function renames requested variable in a NetCDF file. % % On Input: % % Fname NetCDF file name (string) % % Vname_old ...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_vnames.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_vnames.m
17,306
utf_8
13b23b0c55af67079def7565ef9fb574
function S = nc_vnames(fname) % % NC_VNAMES: Gets the names of all variables in a NetCDF file % % S = nc_vnames(fname) % % This function gets the names and informaton of all variables available % in a NetCDF file. % % On Input: % % fname NetCDF file name or URL name (character string) % % On Output: % % S ...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_attadd.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_attadd.m
12,738
utf_8
5648e5ea19aaf56653713cb0669299b4
function status = nc_attadd(ncfile, Aname, Avalue, varargin) % % NC_ATTADD: Add/modify a global or variable NetCDF attribute % % status = nc_attadd(ncfile, Aname, Avalue, Vname) % % This function adds/modify a global or variable attribute in a NetCDF % file. If the "Vname" argument is missing, it is assumed that "Ana...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_dinfo.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_dinfo.m
5,353
utf_8
1ee8e9e73b871c583a46192f1498cc58
function D = nc_dinfo(fname) % % NC_DINFO: Inquire about the dimensions in a NetCDF file % % D = nc_dinfo(fname) % % This function gets all dimension information about the requested NetCDF % file. % % On Input: % % fname NetCDF file name or URL file name (string) % % On Output: % % D Dimensions in...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_vname.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_vname.m
4,267
utf_8
fc882ec64386a5a870714cc6d592a6f1
function [vname,nvars]=nc_vname(fname) % % NC_VNAME: Get the names of all variables in a NetCDF file % % [vname,nvars]=nc_vname(fname) % % This function gets the number and name of variables in requested % NetCDF file. % % On Input: % % fname NetCDF file name or URL name (string) % % On Output: % % vname ...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_vdef.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_vdef.m
12,962
utf_8
6f9b32c3a9386715ac80bcb3e8df4a2a
function [varid, status] = nc_vdef(ncid, Var) % % NC_VDEF: Create a ROMS variable in a NetCDF file % % [varid, status] = nc_vdef(ncid, Var) % % This function defines a variable into NetCDF file. % % On Input: % % ncid NetCDF file ID % % Var Variable information (structure array): % % ...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_read.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_read.m
31,962
utf_8
b741d0cee66250a18caeb3ed089c9399
function f = nc_read(ncfile, Vname, Tindex, ReplaceValue, PreserveType) % % NC_READ: Read requested NetCDF variable % % f = nc_read(ncfile, Vname, Tindex, ReplaceValue, PreserveType) % % This function reads in a generic variable from a NetCDF file. If only % the water points are available, this function fill the land...
github
tarankalra1/COAWST_VEG_deprecated--master
nc_attdel.m
.m
COAWST_VEG_deprecated--master/COAWST_VEG/Tools/mfiles/rutgers/netcdf/nc_attdel.m
8,284
utf_8
8db238a19cfd78d8923d1626dbf46312
function status = nc_attdel(ncfile, Aname, varargin) % % NC_ATTDEL: Delete requested NetCDF attribute % % status = nc_attdel(ncfile, Aname, Vname); % % This function deletes requested global or variable attribute in a NetCDF % file. If the "Vname" argument is missing, it is assumed that "Aname" is a % global attribut...
github
horverno/sze-academic-robotics-projects-master
simpleTest.m
.m
sze-academic-robotics-projects-master/VrepMatlabInteroperation/simpleTest.m
3,192
utf_8
fccc0077f5d9640379f1cc8e2a248ff3
% Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved. % marc@coppeliarobotics.com % www.coppeliarobotics.com % % ------------------------------------------------------------------- % THIS FILE IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED % WARRANTY. THE USER WILL USE IT AT HIS/HER OWN RIS...
github
horverno/sze-academic-robotics-projects-master
simpleSynchronousTest.m
.m
sze-academic-robotics-projects-master/VrepMatlabInteroperation/simpleSynchronousTest.m
2,377
utf_8
627bc93425edef1ec9436f7bc91c8eac
% Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved. % marc@coppeliarobotics.com % www.coppeliarobotics.com % % ------------------------------------------------------------------- % THIS FILE IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED % WARRANTY. THE USER WILL USE IT AT HIS/HER OWN RIS...
github
horverno/sze-academic-robotics-projects-master
slamGui.m
.m
sze-academic-robotics-projects-master/VrepMatlabInteroperation/VrepMatlabSlam/slamGui.m
13,506
utf_8
075ef2fa5a6bbd37f3bf78e93d542a35
function slamGui % Create and then hide the GUI as it is being constructed. f = figure('Visible','off','Position',[360,500,450,285],'NumberTitle','off'); % Make the GUI larger set(gcf, 'units','normalized','outerposition',[0 0 0.8 0.8]); neoOri = 0; % Construct the components. FwdButton = uicontrol('Style',...
github
horverno/sze-academic-robotics-projects-master
simpleTest.m
.m
sze-academic-robotics-projects-master/VrepMatlabInteroperation/VrepMatlabTest/simpleTest.m
3,193
utf_8
dd7799b53fb94efe232c06efc42afa5e
% Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved. % marc@coppeliarobotics.com % www.coppeliarobotics.com % % ------------------------------------------------------------------- % THIS FILE IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED % WARRANTY. THE USER WILL USE IT AT HIS/HER OWN RIS...
github
horverno/sze-academic-robotics-projects-master
runSim.m
.m
sze-academic-robotics-projects-master/VrepMatlabInteroperation/VrepMatlabTest/runSim.m
2,227
utf_8
72c180afb3cb3e9e720195c18ac90e9d
% Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved. % marc@coppeliarobotics.com % www.coppeliarobotics.com % % ------------------------------------------------------------------- % THIS FILE IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED % WARRANTY. THE USER WILL USE IT AT HIS/HER OWN RIS...
github
horverno/sze-academic-robotics-projects-master
simpleSynchronousTest.m
.m
sze-academic-robotics-projects-master/VrepMatlabInteroperation/VrepMatlabTest/simpleSynchronousTest.m
2,377
utf_8
627bc93425edef1ec9436f7bc91c8eac
% Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved. % marc@coppeliarobotics.com % www.coppeliarobotics.com % % ------------------------------------------------------------------- % THIS FILE IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED % WARRANTY. THE USER WILL USE IT AT HIS/HER OWN RIS...
github
horverno/sze-academic-robotics-projects-master
icp.m
.m
sze-academic-robotics-projects-master/KinectAlgorithmUnderDevelopment/Icp/icp.m
18,933
utf_8
2d418b365e12c59f1f981010601898f3
function [TR, TT, ER, t] = icp(q,p,varargin) % Perform the Iterative Closest Point algorithm on three dimensional point % clouds. % % [TR, TT] = icp(q,p) returns the rotation matrix TR and translation % vector TT that minimizes the distances from (TR * p + TT) to q. % p is a 3xm matrix and q is a 3xn matrix. %...
github
jaydavey/MEAM620_Proj3-master
munkres.m
.m
MEAM620_Proj3-master/munkres.m
6,971
utf_8
d287696892e8ef857858223a49ad48fd
function [assignment,cost] = munkres(costMat) % MUNKRES Munkres (Hungarian) Algorithm for Linear Assignment Problem. % % [ASSIGN,COST] = munkres(COSTMAT) returns the optimal column indices, % ASSIGN assigned to each row and the minimum COST based on the assignment % problem represented by the COSTMAT, where the (i,j...
github
jaydavey/MEAM620_Proj3-master
UpdateRobotPlot.m
.m
MEAM620_Proj3-master/Phase 2/UpdateRobotPlot.m
1,491
utf_8
32bb4c60f1b34ca5e2f326f586187b5d
function [] = UpdateRobotPlot(t, i, robot_vector, robot_vector_dist, robot_time_traj, robot_indv_time,robot_paths_xy, robot_handles, text_handles ) % Updates the plot of the robot a = (1 - 1/sqrt(2))/2; b = 1/sqrt(2); c = 1/(2*sqrt(2)); x = 1; y = 1; %First we need to determine in which path of the robot we are on! ...
github
jaydavey/MEAM620_Proj3-master
CreateCostMatrix.m
.m
MEAM620_Proj3-master/Phase 2/CreateCostMatrix.m
1,001
utf_8
35885e66ae843dd61f9561ac8fc3557e
function [ D ] = CreateCostMatrix( start, goals, prev ) %CREATECOSTMATRIX Creates the cost matrix for N robots to M goals given the %result of Dijkstra's algorithm. num_robots = size(start,1); num_goals = size(goals,1); D = zeros(num_robots, num_goals); for i=1:num_robots for j=1:num_goals %Get cost...
github
jaydavey/MEAM620_Proj3-master
munkres.m
.m
MEAM620_Proj3-master/Phase 2/munkres.m
6,971
utf_8
d287696892e8ef857858223a49ad48fd
function [assignment,cost] = munkres(costMat) % MUNKRES Munkres (Hungarian) Algorithm for Linear Assignment Problem. % % [ASSIGN,COST] = munkres(COSTMAT) returns the optimal column indices, % ASSIGN assigned to each row and the minimum COST based on the assignment % problem represented by the COSTMAT, where the (i,j...