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
bozso/orb_prop-master
ecef2pef.m
.m
orb_prop-master/vallado/ecef2pef.m
1,496
utf_8
b6e8fc546f690b93d0a0ea1d89c00c08
% % ---------------------------------------------------------------------------- % % function ecef2pef % % this function transforms a vector from the earth fixed itrf frame % (itrf), to the pseudo earth fixed frame (pef). % % author : david vallado 719-573...
github
bozso/orb_prop-master
quartbln.m
.m
orb_prop-master/vallado/quartbln.m
3,068
utf_8
9a0d1ef53662b35a613406d90f7f93c8
% % ------------------------------------------------------------------------------ % % function quartbln % % this function performs quartic blending of an input zero crossing % function in order to find event times. % % author : david vallado 719-573-2600 ...
github
bozso/orb_prop-master
sight.m
.m
orb_prop-master/vallado/sight.m
3,113
utf_8
3a6196eefbed2adf02229f5ddb2c20a8
% ------------------------------------------------------------------------------ % % function sight % % this function takes the position vectors of two satellites and determines % if there is line-of-sight between the two satellites. an oblate earth % with radius of 1 er is assum...
github
bozso/orb_prop-master
nutation.m
.m
orb_prop-master/vallado/nutation.m
3,996
utf_8
672d80024c052c8db1a191f5654d9448
% % ---------------------------------------------------------------------------- % % function nutation % % this function calulates the transformation matrix that accounts for the % effects of nutation. % % author : david vallado 719-573-2600 27 jun 2002 ...
github
bozso/orb_prop-master
rv2flt.m
.m
orb_prop-master/vallado/rv2flt.m
3,340
utf_8
a0c40e74a8fe4b8469523d80fc92e57c
% % ---------------------------------------------------------------------------- % % function rv2flt.m % % this function transforms a position and velocity vector into the flight % elements - latgc, lon, fpa, az, position and velocity magnitude. % % author : david vallado ...
github
bozso/orb_prop-master
jdayall.m
.m
orb_prop-master/vallado/jdayall.m
2,130
utf_8
4e252b8d38592d059276fe073b934d66
% ------------------------------------------------------------------------------ % % function jdayall % % this function finds the julian date given the year, month, day, and time. % the julian date is defined by each elapsed day since noon, jan 1, 4713 bc. % % author : david...
github
bozso/orb_prop-master
rv2coe.m
.m
orb_prop-master/vallado/rv2coe.m
7,827
utf_8
34dfa4b491a07d1831325ae24c32ccc0
% % ------------------------------------------------------------------------------ % % function rv2coe % % this function finds the classical orbital elements given the geocentric % equatorial position and velocity vectors. % % author : david vallado 719-57...
github
bozso/orb_prop-master
hill2eci.m
.m
orb_prop-master/vallado/hill2eci.m
2,571
utf_8
288f3316a419495cf2747ff212eb9e89
% ------------------------------------------------------------------------------ % % function hill2eci % % this function finds the interceptor's ECI pos/vel vectors % given the ECI target and hill (relative) interceptor vectors. % % Routine not dependent on km or m for distance unit...
github
bozso/orb_prop-master
coe2rvh.m
.m
orb_prop-master/vallado/coe2rvh.m
3,879
utf_8
6c5b6b6c8f2434393e97c6213463ffde
% % ------------------------------------------------------------------------------ % % function coe2rvh % % this function finds the position and velocity vectors in geocentric % equatorial (ijk) system given the classical orbit elements. % % author : david vallado ...
github
bozso/orb_prop-master
sunalmanac.m
.m
orb_prop-master/vallado/sunalmanac.m
3,992
utf_8
eae3df96df97a0fac78683362a819be4
% % ------------------------------------------------------------------------------ % % function sunalmanac % % this function calculates the geocentric equatorial position vector % the sun given the julian date. this is the low precision formula and % is valid for years from 195...
github
bozso/orb_prop-master
dpper.m
.m
orb_prop-master/vallado/dpper.m
6,745
utf_8
4bea7cf24b6eb0ee51f55ff5b60e832d
% ----------------------------------------------------------------------------- % % procedure dpper % % this procedure provides deep space long period periodic contributions % to the mean elements. by design, these periodics are zero at epoch. % this used to be dscom which i...
github
bozso/orb_prop-master
rot1.m
.m
orb_prop-master/vallado/rot1.m
1,061
utf_8
7dfdd598a0de89af46a5183f53e586e1
% ------------------------------------------------------------------------------ % % rot1 % % this function performs a rotation about the 1st axis. % % author : david vallado 719-573-2600 27 may 2002 % % revisions % - % % inputs ...
github
bozso/orb_prop-master
truemean.m
.m
orb_prop-master/vallado/truemean.m
6,293
utf_8
9470e0a097e25c24a0a4f6e8a0e175d7
% ---------------------------------------------------------------------------- % % function truemean % % this function forms the transformation matrix to go between the % norad true equator mean equinox of date and the mean equator mean equinox % of date (eci). the results approx...
github
bozso/orb_prop-master
ijk2lle.m
.m
orb_prop-master/vallado/ijk2lle.m
3,683
utf_8
703ded9c46694799201a250ea1900dbd
% % ------------------------------------------------------------------------------ % % function ijk2lle % % these subroutines convert a geocentric equatorial (ijk) position vector into % latitude and longitude. geodetic and geocentric latitude are found. % % author : davi...
github
bozso/orb_prop-master
lambertu.m
.m
orb_prop-master/vallado/lambertu.m
12,556
utf_8
55de90c73681e7474ff2eefa0725ea6a
% ------------------------------------------------------------------------------ % % function lambertu % % this function solves the lambert problem for orbit determination and returns % the velocity vectors at each of two given position vectors. the solution % uses universal vari...
github
bozso/orb_prop-master
rngaz.m
.m
orb_prop-master/vallado/rngaz.m
6,600
utf_8
4f5a88c1d2ad819234b9308990dc04a8
% ------------------------------------------------------------------------------ % % function rngaz % % this function calculates the range and azimuth between two specified % ground points on a spherical earth. notice the range will always be % within the range of values listed s...
github
bozso/orb_prop-master
radec2rv.m
.m
orb_prop-master/vallado/radec2rv.m
1,964
utf_8
519beb0526ff5eebd29c556da3346f88
% ------------------------------------------------------------------------------ % % function radec2rv % % this function converts the right ascension and declination values with % position and velocity vectors of a satellite. uses velocity vector to % find the solution of singular...
github
bozso/orb_prop-master
eci2teme.m
.m
orb_prop-master/vallado/eci2teme.m
2,274
utf_8
e8f33a8270af2c8c35a442392589f4c0
% % ---------------------------------------------------------------------------- % % function eci2teme % % this function transforms a vector from the mean equator mean equinox frame % (j2000) to the true equator mean equinox of date (teme). % % author : david vallado ...
github
bozso/orb_prop-master
ecef2eci.m
.m
orb_prop-master/vallado/ecef2eci.m
3,287
utf_8
bbe847edaacb7f8af7984d4edcd04031
% % ---------------------------------------------------------------------------- % % function ecef2eci % % this function transforms a vector from the earth fixed (itrf) frame, to % the eci mean equator mean equinox (j2000). % % author : david vallado 719-5...
github
bozso/orb_prop-master
covct2fl.m
.m
orb_prop-master/vallado/covct2fl.m
7,949
utf_8
fd39b0e317aefb5f5f01e17eafda36ab
% ---------------------------------------------------------------------------- % % function covct2fl % % this function transforms a six by six covariance matrix expressed in cartesian elements % into one expressed in flight parameters % % author : david vallado ...
github
bozso/orb_prop-master
rvs2raz.m
.m
orb_prop-master/vallado/rvs2raz.m
2,927
utf_8
f1e03fe92a164befb90924db222deb2a
% ------------------------------------------------------------------------------ % % function rvs2raz % % this function converts range, azimuth, and elevation values with slant % range and velocity vectors for a satellite from a radar site in the % topocentric horizon (sez) system...
github
bozso/orb_prop-master
setcov.m
.m
orb_prop-master/vallado/setcov.m
6,613
utf_8
9e54802af1ec5f2c4832eb5fbcdffe61
% ---------------------------------------------------------------------------- % % function setcov % % this function sets the intilal states for the covariance calculations. % % author : david vallado 719-573-2600 21 jul 2003 % % revisions % % inputs ...
github
GBJim/mscnn-master
classification_demo.m
.m
mscnn-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
abarret/IBAMR-master
spring_viewer3d.m
.m
IBAMR-master/scripts/IB/spring_viewer3d.m
1,610
utf_8
ff1b2b6eb9e21cff4b43e216b0cc9763
%% --------------------------------------------------------------------- %% %% Copyright (c) 2008 - 2020 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
vertex_viewer3d.m
.m
IBAMR-master/scripts/IB/vertex_viewer3d.m
995
utf_8
7cfce79749ed82d8b88efd282b224836
%% --------------------------------------------------------------------- %% %% Copyright (c) 2008 - 2020 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
beam_viewer3d.m
.m
IBAMR-master/scripts/IB/beam_viewer3d.m
1,664
utf_8
c21b8242ea28b260cad3eb4e311bba90
%% --------------------------------------------------------------------- %% %% Copyright (c) 2008 - 2020 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
target_viewer3d.m
.m
IBAMR-master/scripts/IB/target_viewer3d.m
1,429
utf_8
5766f7a58626729d7bcfff991021c534
%% --------------------------------------------------------------------- %% %% Copyright (c) 2008 - 2020 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IIM/ex4/compute_St.m
1,912
utf_8
f31321b9e1f15816d46396560c7ee222
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2022 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IIM/ex3/compute_St.m
1,912
utf_8
f31321b9e1f15816d46396560c7ee222
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2022 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IIM/ex1/compute_St.m
1,912
utf_8
f31321b9e1f15816d46396560c7ee222
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2022 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IIM/ex0/compute_St.m
1,912
utf_8
83ae35177c037ba45389c53f14f8c1af
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2021 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
generate_curve2d.m
.m
IBAMR-master/examples/IB/explicit/ex6/generate_curve2d.m
2,258
utf_8
f0a852c57fdd279c02f22907cb25b1be
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IB/explicit/ex2/compute_St.m
1,912
utf_8
4822fb7b1e1eaab053d6c3fe6964975a
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
generate_shell2d.m
.m
IBAMR-master/examples/IB/explicit/ex1/generate_shell2d.m
4,112
utf_8
70750df420422ba11e8f1dcb10202355
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
generate_curve2d.m
.m
IBAMR-master/examples/IB/explicit/ex1/generate_curve2d.m
2,258
utf_8
f0a852c57fdd279c02f22907cb25b1be
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compareStokesFifthOrder.m
.m
IBAMR-master/examples/wave_tank/ex0/compareStokesFifthOrder.m
5,070
utf_8
a5ac315ccb6f27331e6d87bdccdedf2d
%% --------------------------------------------------------------------- %% %% Copyright (c) 2019 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IBFE/explicit/ex5/compute_St.m
1,912
utf_8
4822fb7b1e1eaab053d6c3fe6964975a
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
compute_St.m
.m
IBAMR-master/examples/IBFE/explicit/ex11/compute_St.m
1,912
utf_8
6837f0ec8c66f5a5642afe9cd00d70b8
%% --------------------------------------------------------------------- %% %% Copyright (c) 2018 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L1norm.m
.m
IBAMR-master/examples/navier_stokes/ex2/L1norm.m
614
utf_8
121a2abbdebedc63d83f42c24a01f7ae
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L2norm.m
.m
IBAMR-master/examples/navier_stokes/ex2/L2norm.m
618
utf_8
ad9302963a35485415dc8298b9fceb68
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L1normy.m
.m
IBAMR-master/examples/navier_stokes/ex2/L1normy.m
620
utf_8
7ecf232e746e4a115975058e7fc8448f
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L2normy.m
.m
IBAMR-master/examples/navier_stokes/ex2/L2normy.m
620
utf_8
c851e7ae2317a5a9a099f3006a4c9cfb
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L2normx.m
.m
IBAMR-master/examples/navier_stokes/ex2/L2normx.m
620
utf_8
fdc5ed6c9919c0cfc3586ba91d645a06
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L1normx.m
.m
IBAMR-master/examples/navier_stokes/ex2/L1normx.m
620
utf_8
60e0a74339aa4a63057b4e178faa5ed8
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L1norm.m
.m
IBAMR-master/examples/navier_stokes/ex3/L1norm.m
614
utf_8
121a2abbdebedc63d83f42c24a01f7ae
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L2norm.m
.m
IBAMR-master/examples/navier_stokes/ex3/L2norm.m
618
utf_8
ad9302963a35485415dc8298b9fceb68
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L1normy.m
.m
IBAMR-master/examples/navier_stokes/ex3/L1normy.m
620
utf_8
7ecf232e746e4a115975058e7fc8448f
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L2normy.m
.m
IBAMR-master/examples/navier_stokes/ex3/L2normy.m
620
utf_8
c851e7ae2317a5a9a099f3006a4c9cfb
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L2normx.m
.m
IBAMR-master/examples/navier_stokes/ex3/L2normx.m
620
utf_8
fdc5ed6c9919c0cfc3586ba91d645a06
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
L1normx.m
.m
IBAMR-master/examples/navier_stokes/ex3/L1normx.m
620
utf_8
60e0a74339aa4a63057b4e178faa5ed8
%% --------------------------------------------------------------------- %% %% Copyright (c) 2014 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
generate_shell2d.m
.m
IBAMR-master/tests/unfinished-tests/Stokes-IB/test1/generate_shell2d.m
2,180
utf_8
7fabe3acdf45c1b72356720890748fe6
%% --------------------------------------------------------------------- %% %% Copyright (c) 2019 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
abarret/IBAMR-master
generate_leaf2d.m
.m
IBAMR-master/tests/unfinished-tests/Stokes-IB/test2/generate_leaf2d.m
2,195
utf_8
06ff6ffb53c62b40ac6b1eee614eaa40
%% --------------------------------------------------------------------- %% %% Copyright (c) 2019 - 2019 by the IBAMR developers %% All rights reserved. %% %% This file is part of IBAMR. %% %% IBAMR is free software and is distributed under the 3-clause BSD %% license. The full text of the license can be found in the f...
github
IPGP/deformation-lib-master
okada85_checklist.m
.m
deformation-lib-master/okada/okada85_checklist.m
3,768
utf_8
bb7b0783b2698a29e501f3e2c947bf85
function okada_checklist % Checks consistency of OKADA85 results using the "Checklist for numerical calculations" % from Table 2 [Okada, 1985] page 1149. % % References: % Okada Y., Surface deformation due to shear and tensile faults in a % half-space, Bull. Seismol. Soc. Am., 75:4, 1135-1154, 1985. % % Author...
github
sundyCoder/KalmanFilter-master
ekf.m
.m
KalmanFilter-master/code/matlab/ekf/ekf.m
2,936
utf_8
2d280bc0f63d512049d0c1d602ed5efe
function [x,P]=ekf(fstate,x,P,hmeas,z,Q,R) % EKF Extended Kalman Filter for nonlinear dynamic systems % [x, P] = ekf(f,x,P,h,z,Q,R) returns state estimate, x and state covariance, P % for nonlinear dynamic system: % x_k+1 = f(x_k) + w_k % z_k = h(x_k) + v_k % where w ~ N(0,Q) meaning w is gauss...
github
sundyCoder/KalmanFilter-master
kalmanf_robot.m
.m
KalmanFilter-master/code/matlab/ekf_robot/kalmanf_robot.m
5,009
utf_8
7fc8f4b3d0fa662ce0a2ed58b6a71cb9
% % USAGE: % % s = kalmanf_robot(s) % % "s" is a "system" struct containing various fields used as input % and output. The state estimate "x" and its covariance "P" are % updated by the function. The other fields describe the mechanics % of the system and are left unchanged. A calling routine may change % these other f...
github
sundyCoder/KalmanFilter-master
kalmanf.m
.m
KalmanFilter-master/code/matlab/kf/kalmanf.m
6,031
utf_8
42804cacf4d34f5eb084c4654c8fe42b
% KALMANF - updates a system state vector estimate based upon an % observation, using a discrete Kalman filter. % % Version 1.0, June 30, 2004 % % This tutorial function was written by Michael C. Kleder % % INTRODUCTION % % Many people have heard of Kalman filtering, but regard the topic % as mysterious. Whil...
github
JanisErdmanis/MDrop-master
meshgen.m
.m
MDrop-master/bin/meshgen.m
262
utf_8
95a973077f8de4ca136f10df3b53433e
function [p,t] = meshgen() %,boxsize) function f = fd(p) f = p(:,1).^2/1+p(:,2).^2/1+p(:,3).^2/1-1; end [p,t]=distmeshsurface(@fd,@huniform,0.2,[-1.1 -1.1 -1.1 1.1 1.1 1.1]); end function h=huniform(p,varargin) h=ones(size(p,1),1); end
github
mec560sbu/mec560sbu.github.io-master
bezier.m
.m
mec560sbu.github.io-master/mec560_MATLAB_codes/CartPoleDemo/CartPoleStabilize/fcn_support/bezier.m
747
utf_8
2fa0c8853e1f2ec3137b2d6ff7d4b04e
function fcn = bezier(coeff,s) % Calculates the value of Bezier polynomials % Inputs: % ~ coeff: an NxM matrix of coefficients. Each row is one polynomial of % order M-1. % ~ s: a row vector of length p containing numbers between 0 and 1. % Output: % ~ fcn: a Nxp matrix containing the evaluated polynomial...
github
mec560sbu/mec560sbu.github.io-master
bezier.m
.m
mec560sbu.github.io-master/mec560_MATLAB_codes/CartPoleDemo/DeriveEOMs/fcn_support/bezier.m
747
utf_8
2fa0c8853e1f2ec3137b2d6ff7d4b04e
function fcn = bezier(coeff,s) % Calculates the value of Bezier polynomials % Inputs: % ~ coeff: an NxM matrix of coefficients. Each row is one polynomial of % order M-1. % ~ s: a row vector of length p containing numbers between 0 and 1. % Output: % ~ fcn: a Nxp matrix containing the evaluated polynomial...
github
mec560sbu/mec560sbu.github.io-master
bezier.m
.m
mec560sbu.github.io-master/mec560_MATLAB_codes/CartPoleDemo/CartPoleTracking/fcn_support/bezier.m
747
utf_8
2fa0c8853e1f2ec3137b2d6ff7d4b04e
function fcn = bezier(coeff,s) % Calculates the value of Bezier polynomials % Inputs: % ~ coeff: an NxM matrix of coefficients. Each row is one polynomial of % order M-1. % ~ s: a row vector of length p containing numbers between 0 and 1. % Output: % ~ fcn: a Nxp matrix containing the evaluated polynomial...
github
mec560sbu/mec560sbu.github.io-master
bezier.m
.m
mec560sbu.github.io-master/mec560_MATLAB_codes/CartPoleDemo/GenerateDesiredTraj/fcn_support/bezier.m
747
utf_8
2fa0c8853e1f2ec3137b2d6ff7d4b04e
function fcn = bezier(coeff,s) % Calculates the value of Bezier polynomials % Inputs: % ~ coeff: an NxM matrix of coefficients. Each row is one polynomial of % order M-1. % ~ s: a row vector of length p containing numbers between 0 and 1. % Output: % ~ fcn: a Nxp matrix containing the evaluated polynomial...
github
mec560sbu/mec560sbu.github.io-master
bezier.m
.m
mec560sbu.github.io-master/mec560_MATLAB_codes/Deriving_EOMs/fcn_support/bezier.m
747
utf_8
2fa0c8853e1f2ec3137b2d6ff7d4b04e
function fcn = bezier(coeff,s) % Calculates the value of Bezier polynomials % Inputs: % ~ coeff: an NxM matrix of coefficients. Each row is one polynomial of % order M-1. % ~ s: a row vector of length p containing numbers between 0 and 1. % Output: % ~ fcn: a Nxp matrix containing the evaluated polynomial...
github
mec560sbu/mec560sbu.github.io-master
smoothPath.m
.m
mec560sbu.github.io-master/Assignments2016/MiniProject1_solution1/smoothPath.m
690
utf_8
72798b02bdbaf45720597112a467e455
% Path smoothing function function newPath = smoothPath(origPath) alpha_smooth = .1; for i_alpha = 1 newPath = origPath; newPath(1,:) = origPath(1,:); newPath(end,:)=origPath(end,:); newPath_old = newPath; error = 1; i_iter = 0; while error > 0.00000001 i_ite...
github
mec560sbu/mec560sbu.github.io-master
pointToTrajectory.m
.m
mec560sbu.github.io-master/Assignments2016/MiniProject1_solution1/pointToTrajectory.m
956
utf_8
c4f8a519f56605038bf370683ecca23d
% Time trajectory function [timeInter, xInter, yInter] = pointToTrajectory(smoothPath) % Define time vector, initial time & velocity (max) time = zeros(length(smoothPath),1); time(1) = 0; v = 1.5; % Determine time for each waypoint for i = 2:length(smoothPath) dist = sqrt((smoothPath(i,1)-smoothPath(i-1...
github
mec560sbu/mec560sbu.github.io-master
genPath.m
.m
mec560sbu.github.io-master/Assignments2016/MiniProject1_solution1/genPath.m
5,038
utf_8
e8cd0d9e2da97fa2b3de5db3ca7b2546
%% Generate path function path = genPath(x, y, x_intial, y_intial, x_end, y_end, obs_locs, buffer) Act = zeros(length(x),length(y)); V = zeros(length(x),length(y)); [xx,yy] = meshgrid(x,y); figure; plot(xx,yy,'k.') hold on; x_start = 0; y_start = 0; [i_x,i_y]= xy_to_indices(x_end,y_end); ix_end = i...
github
mec560sbu/mec560sbu.github.io-master
LQR_k.m
.m
mec560sbu.github.io-master/Assignments2016/MiniProject1_solution1/LQR_k.m
108
utf_8
2d87c6f46014f1a663c740515e5682f5
% Determine optimal K function optK = LQR_k(A, B, Q, R) P = care(A,B,Q,R); K = inv(R)*B'*P'; optK = K;
github
ZelaTaino/amalthea-master
getDatasets.m
.m
amalthea-master/code/getDatasets.m
4,956
utf_8
e54b515b58843473abefc08c257487b7
%-------------------------------------------------------------------------- % Function: getDatasets % Description: Loads the coefficient datasets from saved .mat files. % % Outputs % % datasets - A array of structs with fields % 'name' : name of the dataset % 'path' ...
github
ZelaTaino/amalthea-master
plot2DShapeAndSave.m
.m
amalthea-master/code/wde/Plotting_Code/plot2DShapeAndSave.m
1,388
utf_8
6e0054ed391721cfbcf00dd5fa480f8e
%-------------------------------------------------------------------------- % Function: plot2DShapeAndSave % Description: This functions plots a 2D shape and saves the figure in eps % format. Its original use is meant for shape analysis on the % MPEG7 dataset. % % Inputs: % % sha...
github
ZelaTaino/amalthea-master
saveFigureToEPS.m
.m
amalthea-master/code/wde/Plotting_Code/saveFigureToEPS.m
914
utf_8
089bb425bdf4eb4757dedf9243c2fc8c
%-------------------------------------------------------------------------- % Function: saveImageEPS % Description: This functions saves a Matlab figure in eps format. % % Inputs: % % fileName - Filename that is used to save the file as. % % figHand - Figure handle to save. % % Outputs:...
github
ZelaTaino/amalthea-master
EigenfunctionsonShapes.m
.m
amalthea-master/code/wde/Plotting_Code/CodeToGenerateFiguresTIP/EigenfunctionsonShapes.m
3,480
utf_8
cd00e82e517fab51be98c70da272d206
% Eigenfunctions on Shapes TIP Figure 2. clc; close all; clear; % Change directory to main shape directory. cd('C:\Users\mmoyou\Documents\MATLAB\3D Shape wavelet matching\DataSetup'); % Load the SHREC 11 shape data. shFileName = '.\PamiShapeFiles\SHREC11.mat'; load(shFileName); % Load the SHRECC 11...
github
ZelaTaino/amalthea-master
resizeShapesToSquareGrid.m
.m
amalthea-master/code/wde/ShapeProcessing_Code/resizeShapesToSquareGrid.m
1,632
utf_8
3110056085fa2d114de3e2e446a1dd84
%-------------------------------------------------------------------------- % Function: resizeShapesToSquareGrid % Description: This functions normalizes 2D and 3D shapes into a square % grid with the size chosen by the user. % % Inputs: % % X - Shape to be resized. NxD. % % ...
github
ZelaTaino/amalthea-master
vectorToString.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/vectorToString.m
1,673
utf_8
6afe0c52e44fd9348891ed4fe0ec48e3
%-------------------------------------------------------------------------- % Function: vectorToString % Description: This function takes in a vector and returns a string with % the numbers stored in the vector, separated by '_'. % % Inputs: % % v - Vector to manipulate. % % Ou...
github
ZelaTaino/amalthea-master
computingMultiDCoeffs.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/computingMultiDCoeffs.m
2,900
utf_8
81639946da20447628c55b116259901d
%-------------------------------------------------------------------------- % Function: computeTranslatesForEachDimension % Description: Calculates the translates based on the sample domain. % % Inputs: % dim - sample dimension % dims - total size of the translate lattice % ...
github
ZelaTaino/amalthea-master
trueDensityPlotForDeriv.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/trueDensityPlotForDeriv.m
2,453
utf_8
7f24fd63fa2231c42e1f0a734ab58bd3
%-------------------------------------------------------------------------- % Function: trueDensityPlot % Description: plots the true distribution % % Inputs: % domain - Domain over which to calculate the density % function. % discretization - Value that the support of...
github
ZelaTaino/amalthea-master
selectRelevantCoefficients.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/selectRelevantCoefficients.m
1,581
utf_8
824bea933625ed573f5379850c65c5d5
%-------------------------------------------------------------------------- % Function: selectRelevantCoefficients % Description: Calculates the translates based on the sample domain. % % Inputs: % coefficients - sample coefficients % indexofRelevantTrans - relevant translates inde...
github
ZelaTaino/amalthea-master
densityEstimationVariables.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/densityEstimationVariables.m
3,921
utf_8
0667cbfa3a682fb6546a62271b6f6f7f
%-------------------------------------------------------------------------- % Function: densityEstimationVariables % Description: Stores all the variables needed for online density % estimation. % % Inputs: No Inputs. % Outputs: % sample - Vector of numbers or single sample. ...
github
ZelaTaino/amalthea-master
processingOnlyRelevantTransetsPerSample.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/processingOnlyRelevantTransetsPerSample.m
3,005
utf_8
8530bd104f0a6df2c861b7e9574f8d33
%-------------------------------------------------------------------------- % Function: accessEachTranslates % Description: evaluates tensor prodiucts at each lattice translate % % Inputs: % sample - the N x D data % dim - sample dimension % dims - total size of...
github
ZelaTaino/amalthea-master
estimatingCoeffs.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/estimatingCoeffs.m
4,559
utf_8
95a5a94355553e5c0ad1b0f364ba4e37
% with scaling + wavelets. The default is density % estimation with the scaling function only. % waveletFlag = 1; Wavelet is on. % waveletFlag = 0; Wavelet is off. % scalTranslates - Scaling function translate values. %...
github
ZelaTaino/amalthea-master
createSrings.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/createSrings.m
723
utf_8
ebc865b8893358c36257694d43324c22
%-------------------------------------------------------------------------- % Function: createSrings % Description: evaluates the tensor prod vectors % % Inputs: % dim - sample dimension % a - variable to be created % % Outputs: % str ...
github
ZelaTaino/amalthea-master
interpolationFun.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/interpolationFun.m
1,788
utf_8
b83c04c792b16f547208e28436995bee
%-------------------------------------------------------------------------- % Function: interpolationFun % Description: Calculates the basis functions. % % Inputs: % indices - linear index of each position % sample - the N x D data % supp - the sample support % phi...
github
ZelaTaino/amalthea-master
accessAllTranslatesAndTensorProd.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/accessAllTranslatesAndTensorProd.m
2,461
utf_8
8bb06f805ec9cccf416469da1c4bb788
%-------------------------------------------------------------------------- % Function: accessAllTranslatesAndTensorProd % Description: evaluates tensor prodiucts using all translates for each % sample % % Inputs: % sample - the N x D data % dim - sample dimension % dims ...
github
ZelaTaino/amalthea-master
reAdjustingTheCoeff.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/reAdjustingTheCoeff.m
2,005
utf_8
e4707ce24566a0b816e2c5d947f32be7
%-------------------------------------------------------------------------- % Function: reAdjustingTheCoeff % Description: re-adjust the size of the coefficients % % Inputs: % allCoeffUpd - sample coefficients % indexofRelevantTrans - relevant translates indexes % linearIn...
github
ZelaTaino/amalthea-master
preProcessingOfDerivative.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/preProcessingOfDerivative.m
774
utf_8
9f9d8dd3f32bcd2a7ae95ae11f5ab0b6
%-------------------------------------------------------------------------- % Function: preProcessing % Description: gets domain of the sample % % Inputs: % sample - sample data % Outputs: % sample - Vector of numbers or single sample. % domain - Domain bounds...
github
ZelaTaino/amalthea-master
density3DPlot.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/density3DPlot.m
2,032
utf_8
fcb8e511c8e7e936505be0f0e0f4d0bc
%-------------------------------------------------------------------------- % Function: getDensity % Description: Calculates the probability density function. % % Inputs: % domain - Domain over which to calculate the density % function. % density - density values...
github
ZelaTaino/amalthea-master
preProcessing.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/preProcessing.m
762
utf_8
6f00dcc3df096fd2a502f807dc26793d
%-------------------------------------------------------------------------- % Function: preProcessing % Description: gets domain of the sample % % Inputs: % sample - sample data % Outputs: % sample - Vector of numbers or single sample. % domain - Domain bounds...
github
ZelaTaino/amalthea-master
generateBivarNormalDist.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/generateBivarNormalDist.m
770
utf_8
bfd20626fe3cfabb0ceeebaf795d26aa
%-------------------------------------------------------------------------- % Function: generateBivarNormalDist % Description: generates normal distribution % % Inputs: % N - size of the sample % Outputs: % temp - sample % % Authors(s): % Eddy Ihou(ihouk2002@my.fit.edu) ...
github
ZelaTaino/amalthea-master
trueDensityPlot.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/wde3D/trueDensityPlot.m
2,354
utf_8
c6ad99fe406f81c993467d38a2efa428
%-------------------------------------------------------------------------- % Function: trueDensityPlot % Description: plots the true distribution % % Inputs: % domain - Domain over which to calculate the density % function. % discretization - Value that the support of...
github
ZelaTaino/amalthea-master
filterToBasis.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/3DsqrtWDE/waveCommon/filterToBasis.m
2,052
utf_8
4b201ff65d6fb3e493ce8c234befab49
% function [x,phi,psi] = filterToBasis(h,i) % Generate a scaling function and its associated wavelet % using the given filter coefficients % Kevin Amaratunga (original author) % 5 March, 1993 % Adrian Peter (modified) % 2008 % % h = filter coefficients (sum(h)...
github
ZelaTaino/amalthea-master
computeCoefficientsV3.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/CVIUExperimentCode/CoefficientEstimation/computeCoefficientsV3.m
4,043
utf_8
e71dd2247e516c691c5b6dc20375801b
%-------------------------------------------------------------------------- % Function: ComputeCoefficients % Description: This function computes the wavelet coefficients for the GPS % coordinates on 3D shapes. % % Inputs: % % startLevel - Start level resolution. % % stopLevel - Stop...
github
ZelaTaino/amalthea-master
computeCoefficientsV2_Par.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/CVIUExperimentCode/CoefficientEstimation/computeCoefficientsV2_Par.m
2,049
utf_8
e13a6bef699636d7b50cd2d1a964187b
%-------------------------------------------------------------------------- % Function: ComputeCoefficientsV2_Par % Description: This function computes the scaling and wavelet coefficients % % % Inputs: % % % % Outputs: % % wdeCell - Wavelet density estimation cell. The first c...
github
ZelaTaino/amalthea-master
resizeShapesToSquareGrid.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/3DWDE/CVIUExperimentCode/CoefficientEstimation/resizeShapesToSquareGrid.m
1,632
utf_8
3110056085fa2d114de3e2e446a1dd84
%-------------------------------------------------------------------------- % Function: resizeShapesToSquareGrid % Description: This functions normalizes 2D and 3D shapes into a square % grid with the size chosen by the user. % % Inputs: % % X - Shape to be resized. NxD. % % ...
github
ZelaTaino/amalthea-master
filterToBasis.m
.m
amalthea-master/code/wde/WaveletDensityEstimator/waveCommon/filterToBasis.m
2,052
utf_8
4b201ff65d6fb3e493ce8c234befab49
% function [x,phi,psi] = filterToBasis(h,i) % Generate a scaling function and its associated wavelet % using the given filter coefficients % Kevin Amaratunga (original author) % 5 March, 1993 % Adrian Peter (modified) % 2008 % % h = filter coefficients (sum(h)...
github
ZelaTaino/amalthea-master
linearAssignment.m
.m
amalthea-master/code/linassgn/sphere_dist_linassgn_old/linearAssignment.m
5,267
UNKNOWN
4901c493145572b7d99e8dc1636b4f66
%-------------------------------------------------------------------------- % Function: linearAssignment % Description: Performs linear assignment between wavelet coefficients from % shape 1 versus shape 2. Calls C++ routines to do actual % work. The C++ codes implements: % ...
github
ZelaTaino/amalthea-master
wde2DSlidingDist.m
.m
amalthea-master/code/linassgn/sphere_dist_linassgn_old/wde2DSlidingDist.m
9,165
utf_8
f24c1eaa482659a2185c092295f01fdb
%-------------------------------------------------------------------------- % Function: wde2DSlidingDist % Description: Computes the cosine distance between two square-root wavelet % densities (sqWDE) after "adjusting" one coefficient set to % be more similar to the other. % % Input...
github
ZelaTaino/amalthea-master
euclidDistsBetwCoeffs.m
.m
amalthea-master/code/linassgn/sphere_dist_linassgn_old/euclidDistsBetwCoeffs.m
2,684
utf_8
fd3e00f3a7f38fd13d5ec1ec812a2669
%-------------------------------------------------------------------------- % Function: distMatsAcrossLevels % Description: Creates all the necessary Euclidean distance matrices for % the different wavelet decomposition levels. % % Inputs: % % Outputs: % distMats - Lx1 cell array w...
github
ZelaTaino/amalthea-master
linassgn_warp.m
.m
amalthea-master/code/linassgn/linassgn_main/linassgn_warp.m
1,766
utf_8
97678e99db06eb8ddaa23396ef280e68
%-------------------------------------------------------------------------- % Function: linassgn_warp % Description: Warps two images as closely as possible for a given set of lambda. % Inputs: % % x,y - Images of the same size. % % distMatrix - A cell array of the Euclidean distance between pairs of points. ...
github
ZelaTaino/amalthea-master
construct_dist_matrix.m
.m
amalthea-master/code/linassgn/linassgn_main/construct_dist_matrix.m
1,485
utf_8
9f3b08f0daa3e2e1cd114b567475afb3
%-------------------------------------------------------------------------- % Function: construct_dist_matrix % Description: Constructs a distance matrix of every point % to every other point in a rectangular prism. % % Inputs: % % numTranslates - A vector of the dimensions of a rectangular prism % 2D: [x ...
github
ZelaTaino/amalthea-master
sphere_dist_linassgn.m
.m
amalthea-master/code/linassgn/linassgn_main/sphere_dist_linassgn.m
2,393
utf_8
a558cd644900c2b757499db5c89b70cb
%-------------------------------------------------------------------------- % Function: sphere_dist_linassgn % Description: Takes the spherical distance between two points after % after linearly assigning one to match the other % as closely as possible. % % Inputs: % % x,y - Vectors of points on the ...
github
ZelaTaino/amalthea-master
linearAssignment.m
.m
amalthea-master/code/linassgn/linassgn_old/linearAssignment.m
5,181
UNKNOWN
dfb5049d1de1ae574dd8e6778c521607
%-------------------------------------------------------------------------- % Function: linearAssignment % Description: Performs linear assignment between wavelet coefficients from % shape 1 versus shape 2. Calls C++ routines to do actual % work. The C++ codes implements: % ...
github
ZelaTaino/amalthea-master
karcher_mean.m
.m
amalthea-master/code/karcher_mean/karcher_mean.m
1,462
utf_8
3eb7015f5608589e333f7f3707ebb4b7
%-------------------------------------------------------------------------- % Function: karcher_mean % Description: Computes the Karcher (geodesic) mean between points on a sphere. % % Inputs: % % D - An nxd matrix of points on a sphere. % % Outputs % % M - Mean of the points. % % Usage: Used in ...