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 | rising-turtle/slam_matlab-master | vro_icp_9_cov_tol_batch.m | .m | slam_matlab-master/Localization/vro_icp_9_cov_tol_batch.m | 11,537 | utf_8 | 59fe048123dca9a364123c99bde295e7 | % This function compute the transformation of two 3D point clouds by ICP
%
% Parameters :
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/20/12
% ICP6 + convexhull = ICP9
% ICP9_cov + tolerance adjustment = ICP9_cov_tol
function [phi_icp, theta_icp, psi_icp, trans_icp, match_rmse, match_num, elapsed_time, st... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_icp2_cov_fast_fast.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_icp2_cov_fast_fast.m | 19,935 | utf_8 | b2230e5879dca9b7519e5b3b37483454 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | vro_icp_9_cov_tol_dist.m | .m | slam_matlab-master/Localization/vro_icp_9_cov_tol_dist.m | 10,953 | utf_8 | db7a3f2c470869a3f34f6a0b48cec836 | % This function compute the transformation of two 3D point clouds by ICP
%
% Parameters :
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/20/12
% ICP6 + convexhull = ICP9
% ICP9_cov + tolerance adjustment = ICP9_cov_tol
function [phi_icp, theta_icp, psi_icp, trans_icp, match_rmse, match_num, elapsed_time, st... |
github | rising-turtle/slam_matlab-master | check_stored_matched_points.m | .m | slam_matlab-master/Localization/check_stored_matched_points.m | 1,184 | utf_8 | 1620fb7c613849c92ba3def37bcd39da | % Check if there is the stored matched points
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 3/11/2013
function [exist_flag] = check_stored_matched_points(data_name, dm, first_cframe, second_cframe, isgframe, sequence_data)
exist_flag = 0;
[prefix, confidence_read] = get_sr4k_dataset_prefix(data_name, dm);
if ... |
github | rising-turtle/slam_matlab-master | rot_to_euler.m | .m | slam_matlab-master/Localization/rot_to_euler.m | 1,068 | utf_8 | 5338a4d30525b25e07f1db2f561d509b | % Calculate the euler angle(yaw, pitch, roll) from rotation matrix
%
% Yaw is a counterclockwise rotation of phi(alpha) about the z-axis
% Pitch is a counterclockwise rotation of theta(beta) about the y-axis
% Roll is a counterclockwise rotation of psi(gamma) about the x-axis
%
% Author : Soonhac Hong (sxhong1@ualr.edu... |
github | rising-turtle/slam_matlab-master | vro_icp_9_cov_tol_batch_dist.m | .m | slam_matlab-master/Localization/vro_icp_9_cov_tol_batch_dist.m | 11,663 | utf_8 | 012db11e606c43c3d00d9a83614fbd7c | % This function compute the transformation of two 3D point clouds by ICP
%
% Parameters :
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/20/12
% ICP6 + convexhull = ICP9
% ICP9_cov + tolerance adjustment = ICP9_cov_tol
function [phi_icp, theta_icp, psi_icp, trans_icp, match_rmse, match_num, elapsed_time, st... |
github | rising-turtle/slam_matlab-master | load_icp_pose.m | .m | slam_matlab-master/Localization/load_icp_pose.m | 1,573 | utf_8 | 0187e4f56957260f4e18836e5804c8cf | % Load matched points from a file
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 3/11/2013
%function [match_num, ransac_iteration, op_pset1_image_index, op_pset2_image_index, op_pset_cnt, elapsed_match, elapsed_ransac, op_pset1, op_pset2] = load_matched_points(data_name, dm, first_cframe, second_cframe, isgfram... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist.m | 16,414 | utf_8 | 6d555711bc67c37d10257bef2804a3ea | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | localization_addpath_creative.m | .m | slam_matlab-master/Localization/localization_addpath_creative.m | 434 | utf_8 | d744a68621891ab087fb12d5c0431645 | % Add the path for graph slam
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 10/16/12
function localization_addpath_creative
%addpath('D:\Soonhac\SW\icp');
%addpath('D:\Soonhac\SW\kdtree');
%addpath('D:\Soonhac\SW\LevenbergMarquardt');
addpath('..\SIFT\sift-0.9.19-bin\sift');
%addpath('D:\Soonhac\SW\GradientCo... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist2.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist2.m | 17,174 | utf_8 | 9d45403332d443c4e248983141bed911 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | save_depth_features.m | .m | slam_matlab-master/Localization/save_depth_features.m | 429 | utf_8 | ac126f69540fa93b52e177bf4693644c | % Save sift visual feature into a file
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 2/13/2013
function save_depth_features(data_name, dm, cframe, depth_frm, depth_des, depth_ct)
[prefix, confidence_read] = get_sr4k_dataset_prefix(data_name, dm);
dataset_dir = strrep(prefix, '/d1','');
file_name = sprintf('%s/... |
github | rising-turtle/slam_matlab-master | get_kinect_tum_dir_name.m | .m | slam_matlab-master/Localization/get_kinect_tum_dir_name.m | 823 | utf_8 | 54ffe57adc759fb2881357d54c5bc99e | % Get directory name of kinect_tum data set
%
% Parameters
% dm : index of directory of data
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/25/12
function [dir_name_list]=get_kinect_tum_dir_name()
dir_name_list={'rgbd_dataset_freiburg1_xyz','rgbd_dataset_freiburg1_floor','rgbd_dataset_freiburg2_large_no_lo... |
github | rising-turtle/slam_matlab-master | vro_icp_9_cov_tol_dist_EKF.m | .m | slam_matlab-master/Localization/vro_icp_9_cov_tol_dist_EKF.m | 11,437 | utf_8 | 9c985fd9089bbf1de243e1f8f0ab0be1 | % This function compute the transformation of two 3D point clouds by ICP
%
% Parameters :
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/20/12
% ICP6 + convexhull = ICP9
% ICP9_cov + tolerance adjustment = ICP9_cov_tol
% ICP9_cov_tol_dist + adjust coordinate for EKF = ICP9_cov_tol_dist_EKF
function [phi_icp... |
github | rising-turtle/slam_matlab-master | LoadSR_no_bpc_time_single_binary.m | .m | slam_matlab-master/Localization/LoadSR_no_bpc_time_single_binary.m | 6,295 | utf_8 | c01368aeffe7d712b1c93d366697a3ee | % Load data from Swiss Ranger
%
% Parameters
% data_name : the directory name of data
% dm : index of directory of data
% j : index of frame
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/20/11
% No bad pixel compensation
function [img, x, y, z, c, rtime, error] = LoadSR_no_bpc_time_single_binary(dat... |
github | rising-turtle/slam_matlab-master | LoadPrimesense_newmodel.m | .m | slam_matlab-master/Localization/LoadPrimesense_newmodel.m | 2,811 | utf_8 | fe8af725cda408eb2b6b0fd64fd56a85 | % Load data from Kinect
%
% Parameters
% data_name : the directory name of data
% dm : index of directory of data
% j : index of frame
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/20/11
function [img, X, Y, Z] = LoadPrimesense_model(dm, file_index)
if file_index<11
z_file_name=sprintf('D:/image... |
github | rising-turtle/slam_matlab-master | confidence_filter.m | .m | slam_matlab-master/Localization/confidence_filter.m | 633 | utf_8 | 736f36b137dc30db3995599cb4ed1cb3 | % Eliminate the points by confidence map
function [updated_match] = confidence_filter(match, pset1_index, pset2_index, c1, c2)
% confidence_threshold = 3;
confidence_threshold_percentage = 0.4;
confidence_threshold_1 = floor((max(max(c1)) - min(min(c1))) * confidence_threshold_percentage);
confidence_threshold_2 = floo... |
github | rising-turtle/slam_matlab-master | vro_icp_9_cov_tol.m | .m | slam_matlab-master/Localization/vro_icp_9_cov_tol.m | 10,748 | utf_8 | 47385bb52bb3f1b4eda923d9ea20d7d9 | % This function compute the transformation of two 3D point clouds by ICP
%
% Parameters :
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/20/12
% ICP6 + convexhull = ICP9
% ICP9_cov + tolerance adjustment = ICP9_cov_tol
function [phi_icp, theta_icp, psi_icp, trans_icp, match_rmse, match_num, elapsed_time, st... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast.m | 14,320 | utf_8 | 4a81d4c1c55144dcff1bb08eb0eb1664 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_icp2_cov_fast_fast_dist2.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_icp2_cov_fast_fast_dist2.m | 21,044 | utf_8 | f999be537c4198a4027573b0d293d8e8 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | save_icp_pose.m | .m | slam_matlab-master/Localization/save_icp_pose.m | 1,449 | utf_8 | 1dbca54b1c887539d2074a5459abc5db | % Save matched points into a file
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 8/12/2013
function save_icp_pose(data_name, dm, first_cframe, second_cframe, icp_mode, sequence_data, phi_icp, theta_icp, psi_icp, trans_icp, rmse_icp, match_num, elapsed_icp, sta_icp, error, pose_std)
[prefix, confidence_read] = ... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_pm1.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_pm1.m | 20,682 | utf_8 | 70768c121d2c12aee163d99545605f70 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | LoadSR_no_bpc.m | .m | slam_matlab-master/Localization/LoadSR_no_bpc.m | 4,431 | utf_8 | 4949a8ca77cf111fa99a071ee8736c50 | % Load data from Swiss Ranger
%
% Parameters
% data_name : the directory name of data
% dm : index of directory of data
% j : index of frame
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/20/11
% No bad pixel compensation
function [img, x, y, z, c, rtime] = LoadSR_no_bpc(data_name, filter_name, ...
b... |
github | rising-turtle/slam_matlab-master | get_motive_filename.m | .m | slam_matlab-master/Localization/get_motive_filename.m | 358 | utf_8 | 94ad2275c9cd7f075b6a46f6861a8908 | % Get directory name of motive datasets
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 11/20/13
function motive_filename_lists=get_motive_filename()
motive_filename_lists = {'move_forward','swing_forward','move_loop','swing_loop','move_loop_2','move_loop_3','swing_loop_2','m5_loop','m5_loop_2','m5_swing_loo... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_p.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_p.m | 21,626 | utf_8 | e92b786caef4fe42399ac6059bfd97f2 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov.m | 13,451 | utf_8 | 05fdb67deba8117bf940baeee024754b | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | run_ransac_points.m | .m | slam_matlab-master/Localization/run_ransac_points.m | 2,268 | utf_8 | 282c75429fdbf0eb0159f9aac971d395 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% pt1 : point cloud of data set (n x m) n : data dimensionality
% pt2 : point cloud of data set (n x m) n : data dimensionality
% match : mat... |
github | rising-turtle/slam_matlab-master | LoadSR.m | .m | slam_matlab-master/Localization/LoadSR.m | 3,943 | utf_8 | baf1a3a507ef76292082b44303a3d65b | % Load data from Swiss Ranger
%
% Parameters
% data_name : the directory name of data
% dm : index of directory of data
% j : index of frame
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/20/11
function [img, x, y, z, c, rtime] = LoadSR(data_name, filter_name, boarder_cut_off, dm, j, scale, type_value... |
github | rising-turtle/slam_matlab-master | get_dir_name.m | .m | slam_matlab-master/Localization/get_dir_name.m | 2,093 | utf_8 | f5ada152c3bd0fa001f52118d5833176 | % Get directory name of each data se
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/4/13
function dir_name = get_dir_name(data_name)
switch data_name
case 'c1'
dir_name = {'0','y-3_p6_x100','y-12_p9_x300','y-6_p12_x500'};
case 'c2'
dir_name = {'0','y-6_p3_y200','y-9_p12_y400','y-12_p6... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_pm2.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_pm2.m | 20,597 | utf_8 | 20cef817a6696c63b8f58ea860601567 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | save_pose_std.m | .m | slam_matlab-master/Localization/save_pose_std.m | 1,374 | utf_8 | 94abed80c2732098f1ef02641015c5f9 | % Save matched points into a file
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 2/13/2013
function save_pose_std(data_name, dm, first_cframe, second_cframe, pose_std, isgframe, sequence_data)
[prefix, confidence_read] = get_sr4k_dataset_prefix(data_name, dm);
if sequence_data == true
if strcmp(data_name, '... |
github | rising-turtle/slam_matlab-master | check_stored_icp_pose.m | .m | slam_matlab-master/Localization/check_stored_icp_pose.m | 1,201 | utf_8 | 7af72ceae02de07502cf86983c93c78b | % Check if there is the stored matched points
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 8/12/2013
function [exist_flag] = check_stored_icp_pose(data_name, dm, first_cframe, second_cframe, icp_mode, sequence_data)
exist_flag = 0;
[prefix, confidence_read] = get_sr4k_dataset_prefix(data_name, dm);
if sequen... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_icp2_cov_fast_fast_dist.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_icp2_cov_fast_fast_dist.m | 20,434 | utf_8 | c03980c62e56add66fadbcc1d0662a38 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc.m | 17,547 | utf_8 | cc4c56a90ef6a409e2b616c1da08c397 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | localization_addpath.m | .m | slam_matlab-master/Localization/localization_addpath.m | 433 | utf_8 | e55d2d7d14b2ebe4c14e678200670c35 | % Add the path for graph slam
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 10/16/12
function localization_addpath
addpath('D:\Soonhac\SW\icp');
addpath('D:\Soonhac\SW\kdtree');
addpath('D:\Soonhac\SW\LevenbergMarquardt');
addpath('D:\Soonhac\SW\SIFT\sift-0.9.19-bin\sift');
%addpath('D:\Soonhac\SW\GradientCon... |
github | rising-turtle/slam_matlab-master | save_matched_points.m | .m | slam_matlab-master/Localization/save_matched_points.m | 1,099 | utf_8 | a1d872acde1b9be2e749a1768097b780 | % Save matched points into a file
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 2/13/2013
function save_matched_points(data_name, dm, first_cframe, second_cframe, match_num, ransac_iteration, op_pset1_image_index, op_pset2_image_index, op_pset_cnt, elapsed_match, elapsed_ransac, op_pset1, op_pset2, isgframe, s... |
github | rising-turtle/slam_matlab-master | get_kinect_tum_dir_name_vro_cpp.m | .m | slam_matlab-master/Localization/get_kinect_tum_dir_name_vro_cpp.m | 355 | utf_8 | 4dd3f8a1ba991e4517e0073c27ad290d | % Get directory name of kinect_tum data set
%
% Parameters
% dm : index of directory of data
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 9/25/12
function [dir_name_list]=get_kinect_tum_dir_name()
dir_name_list={'freiburg1_xyz','freiburg1_floor','freiburg2_large_no_loop','freiburg2_large_with_loop'};
%dir_... |
github | rising-turtle/slam_matlab-master | LoadKinect.m | .m | slam_matlab-master/Localization/LoadKinect.m | 1,839 | utf_8 | 45cf2fbc839ba26005f6f0a47ddc3e1d | % Load data from Kinect
%
% Parameters
% data_name : the directory name of data
% dm : index of directory of data
% j : index of frame
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/20/11
function [img, X, Y, Z, rtime] = LoadKinect(dm, j)
t_load = tic;
dir_name = get_kinect_tum_dir_name();
[rgb_data_... |
github | rising-turtle/slam_matlab-master | LoadPrimesense_model.m | .m | slam_matlab-master/Localization/LoadPrimesense_model.m | 4,098 | utf_8 | c81de6acde2583247da4ac18a068adff | % Load data from Kinect
%
% Parameters
% data_name : the directory name of data
% dm : index of directory of data
% j : index of frame
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/20/11
function [img, X, Y, Z] = LoadPrimesense_model(dm, file_index)
%t_load = tic;
%dir_name_list = get_kinect_tum_dir... |
github | rising-turtle/slam_matlab-master | localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_c.m | .m | slam_matlab-master/Localization/localization_sift_ransac_limit_cov_fast_fast_dist2_nobpc_c.m | 20,151 | utf_8 | 1e5a7c5bc4ebf2876f8d7c79555abe21 | % This function computes the pose of the sensor between two data set from
% SR400 using SIFT . The orignial function was vot.m in the ASEE/pitch_4_plot1.
%
% Parameters :
% dm : number of prefix of directory containing the first data set.
% inc : relative number of prefix of directory containing the second data s... |
github | rising-turtle/slam_matlab-master | plotmatches_multi.m | .m | slam_matlab-master/Localization/plotmatches_multi.m | 10,894 | utf_8 | 1abc9136006be4112288feadc80f61fa | function h=plotmatches_multi(I1,I2,P1,P2,matches,matches2,varargin)
% PLOTMATCHES Plot keypoint matches
% PLOTMATCHES(I1,I2,P1,P2,MATCHES) plots the two images I1 and I2
% and lines connecting the frames (keypoints) P1 and P2 as specified
% by MATCHES.
%
% P1 and P2 specify two sets of frames, one per column. ... |
github | rising-turtle/slam_matlab-master | load_depth_features.m | .m | slam_matlab-master/Localization/load_depth_features.m | 397 | utf_8 | 73b869902c9029fed3f113649c1e42e6 | % Load sift visual feature from a file
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 2/13/2013
function [depth_frm, depth_des, depth_ct] = load_depth_features(data_name, dm, cframe)
[prefix, confidence_read] = get_sr4k_dataset_prefix(data_name, dm);
dataset_dir = strrep(prefix, '/d1','');
file_name = sprintf('... |
github | rising-turtle/slam_matlab-master | check_feature_distance.m | .m | slam_matlab-master/Localization/check_feature_distance.m | 1,190 | utf_8 | 17b466611fb0573eb8e7667c8b2663d2 | % Check the distance of feaure points
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 4/5/13
function [op_pset1, op_pset2, op_pset_cnt, op_pset1_image_index, op_pset2_image_index] = check_feature_distance(op_pset1, op_pset2, op_pset_cnt, op_pset1_image_index, op_pset2_image_index)
distance_min = 0.8;
distance_m... |
github | rising-turtle/slam_matlab-master | get_nframe_nvro_npose.m | .m | slam_matlab-master/Localization/get_nframe_nvro_npose.m | 8,552 | utf_8 | 43e0c79509f888ceba43d604a05d6259 | % Get nFrame, vro_size, pose_size
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 8/9/13
function [nFrame, vro_size, pose_size, vro_icp_size, pose_vro_icp_size, vro_icp_ch_size, pose_vro_icp_ch_size] = get_nframe_nvro_npose(file_index, dynamic_index)
%% nFrame list
etas_nFrame_list = [979 1488 988 1979 1889];... |
github | rising-turtle/slam_matlab-master | check_stored_pose_std.m | .m | slam_matlab-master/Localization/check_stored_pose_std.m | 1,321 | utf_8 | b4da71858b5b61210cfbb759eee86f78 | % Check if there is the stored matched points
%
% Author : Soonhac Hong (sxhong1@ualr.edu)
% Date : 3/11/2013
function [exist_flag] = check_stored_pose_std(data_name, dm, first_cframe, second_cframe, isgframe, sequence_data)
exist_flag = 0;
[prefix, confidence_read] = get_sr4k_dataset_prefix(data_name, dm);
if sequen... |
github | uoa1184615/EquationFreeGit-master | functionTemplate.m | .m | EquationFreeGit-master/functionTemplate.m | 521 | utf_8 | a1e11c88c02bb31c1cfedaab3fe4023d | % Short explanation for users typing "help fun"
% Author, date
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{...}: ...}
\label{sec:...}
\localtableofcontents
\subsection{Introduction}
Overview LaTeX explanation.
\begin{matlab}
%}
function ...
%{
\end{matlab}
\paragraph{Input} ...
\paragraph{Output} ...
\beg... |
github | uoa1184615/EquationFreeGit-master | validateDelta.m | .m | EquationFreeGit-master/SandpitPlay/validateDelta.m | 804 | utf_8 | 6bc74cb092b53e03ebbdf85b7cbdea9f | %{
Validates dD>log(bD)/bD rule for PIRK2 by finding the dD at
which the PIRK2 scheme reduces by a factor of 10 each step,
given the fast decay is a rate bD. Reducing by a factor of
two is barely any different. AJR, 5 Feb 2019
%}
clear all, close all
global betaD
betaDs=logspace(log10(exp(1)),3,41);
bTtenth=nan(size(... |
github | uoa1184615/EquationFreeGit-master | ensHeteroDiff.m | .m | EquationFreeGit-master/SandpitPlay/ensHeteroDiff.m | 1,172 | utf_8 | e15cc2732ea08d02271b756707ff2f8f | % Computes the time derivatives of heterogeneous diffusion
% in 1D on patches. Used by homogenisationExample.m,
% ensembleAverageExample.m
% AJR, 4 Apr 2019 -- 7 Feb 2020
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\subsection{\texttt{heteroDiff()}: heterogeneous diffusion}
\label{sec:heteroDiff}
This function codes the ... |
github | uoa1184615/EquationFreeGit-master | heteroLanLif1D.m | .m | EquationFreeGit-master/SandpitPlay/heteroLanLif1D.m | 2,278 | utf_8 | 205cf93e1f254b8cfc678ee3dc654256 | % Computes the time derivatives of heterogeneous
% Landau--Lifshitz PDE on 1D lattice within spatial patches.
% From Leitenmaier & Runborg, arxiv.org/abs/2108.09463 and
% used by homoLanLif1D.m AJR, Sep 2021
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\subsection{\texttt{heteroLanLif1D()}: heterogeneous Landau--Lifshitz... |
github | uoa1184615/EquationFreeGit-master | rk2.m | .m | EquationFreeGit-master/SandpitPlay/rk2.m | 615 | utf_8 | fc1b911f55a37b5b71802b80ecf35a6a | % Second order Runge-Kutta. No adaptive stepping, no error
% control. Use when testing other schemes. Alternatively
% see RKint/rk2int.m for a documented code that also
% estimates errors.
% Inputs:
% differential equation dxdt = dxdt(t,x)
% vector of times tSpan
% initial condition xIC
function [tOut,xOut] = rk2(dxd... |
github | uoa1184615/EquationFreeGit-master | homoDiffBdryEquil3.m | .m | EquationFreeGit-master/SandpitPlay/BCs/homoDiffBdryEquil3.m | 6,957 | utf_8 | d7383388286f2dd582ff26e30b2dc4ff | % Finds equilibrium of forced heterogeneous diffusion in 3D
% cube on 3D patches as an example application. Boundary
% conditions are Neumann on the right face of the cube, and
% Dirichlet on the other faces. The microscale is of known
% period so we interpolate next-to-edge values to get
% opposite edge values. AJR... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt3.m | .m | EquationFreeGit-master/SandpitPlay/BCs/patchEdgeInt3.m | 26,337 | utf_8 | 658f0a10f8d51dd9022ca660c17ff77e | % patchEdgeInt3() provides the interpolation across 3D space
% for 3D patches of simulations of a smooth lattice system
% such as PDE discretisations. AJR, Aug 2020 -- 2 Feb 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt3()}: sets 3D patch
face values from 3D macroscale interpolation}
\lab... |
github | uoa1184615/EquationFreeGit-master | configPatches1.m | .m | EquationFreeGit-master/SandpitPlay/BCs/configPatches1.m | 23,698 | utf_8 | f00f13351f335beceda77bc01a5c7a7c | % configPatches1() creates a data struct of the design of
% 1D patches for later use by the patch functions such as
% patchSys1(). AJR, Nov 2017 -- 4 Jan 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{configPatches1()}: configures spatial
patches in 1D}
\label{sec:configPatches1}
\localtableofcontents
... |
github | uoa1184615/EquationFreeGit-master | Combescure2022.m | .m | EquationFreeGit-master/SandpitPlay/BCs/Combescure2022.m | 20,001 | utf_8 | 1e16325003790d6ce54ef341008ceea9 | % For an example nonlinear elasticity in 1D, simulate and
% use MatCont to continue parametrised equilibria. An
% example of working via patches in space. Adapted from the
% example Figure 3(a) of Combescure(2022). AJR Nov 2022 --
% Jan 2023
%!TEX root = doc.tex
%{
\section{\texttt{Combescure2022}: simulation and
conti... |
github | uoa1184615/EquationFreeGit-master | elastic2Dstaggered.m | .m | EquationFreeGit-master/SandpitPlay/BCs/elastic2Dstaggered.m | 10,276 | utf_8 | d292f24139a8d4f68f460dc05e1e062a | % The aim is to simulate a heterogeneous 2D beam using an
% Equation-free Patch Scheme. Here we code patches to use a
% microscale staggered grid of the microscale heterogeneous
% elasticity PDEs. This function computes the time
% derivatives given that interpolation has provided the
% patch-edge values, except we co... |
github | uoa1184615/EquationFreeGit-master | elastic2DstagHeteroSim.m | .m | EquationFreeGit-master/SandpitPlay/BCs/elastic2DstagHeteroSim.m | 8,178 | utf_8 | db57f7bfe05dea4bcf7cf1ad70c2c16e | % Execute patch scheme on the heterogeneous miscroscale grid
% coded in function elastic2Dstaggered() with specified
% microscale boundary conditions on the beam ends. AJR, 27
% Sep 2022 -- 4 Feb 2023
%!TEX root = doc.tex
%{
\section{\texttt{elastic2DstagHeteroSim}: simulate 2D
heterogeneous elastic patches on stagger... |
github | uoa1184615/EquationFreeGit-master | heteroBurstF.m | .m | EquationFreeGit-master/SandpitPlay/BCs/heteroBurstF.m | 715 | utf_8 | 611b10c66c13bed0fd051798cd7e543d | % Simulates a burst of the system linked to by the
% configuration of patches. Used by ??.m
% AJR, 4 Apr 2019 -- 21 Oct 2022
%!TEX root = doc.tex
%{
\subsection{\texttt{heteroBurstF()}: a burst of
heterogeneous diffusion}
\label{sec:heteroBurstF}
This code integrates in time the derivatives computed by
\verb|heteroDiff... |
github | uoa1184615/EquationFreeGit-master | configPatches2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/configPatches2.m | 30,136 | utf_8 | 60d970c3501f89f25665af35ee248993 | % configPatches2() creates a data struct of the design of 2D
% patches for later use by the patch functions such as
% patchSys2(). AJR, Nov 2018 -- Jan 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{configPatches2()}: configures spatial
patches in 2D}
\label{sec:configPatches2}
\localtableofcontents
... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/patchEdgeInt2.m | 20,179 | utf_8 | 7cac816a06110db2af6ca47960709934 | % patchEdgeInt2() provides the interpolation across 2D space
% for 2D patches of simulations of a lattice system such as
% a PDE discretisation. AJR, Nov 2018 -- 2 Feb 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt2()}: sets 2D patch
edge values from 2D macroscale interpolation}
\label{sec... |
github | uoa1184615/EquationFreeGit-master | patchSys2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/patchSys2.m | 3,798 | utf_8 | 951820e31f71da29cc283e05c0913575 | % patchSys2() Provides an interface to time integrators
% for the dynamics on patches in 2D coupled across space.
% The system must be a smooth lattice system such as PDE
% discretisations. AJR, Nov 2018 -- Nov 2020
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchSys2()}: interface 2D space to time integ... |
github | uoa1184615/EquationFreeGit-master | twoscaleDiffEquil2Errs.m | .m | EquationFreeGit-master/SandpitPlay/BCs/twoscaleDiffEquil2Errs.m | 12,199 | utf_8 | 2d63db620941b674ef8a74a65ebb2bdd | % Explore errors in the steady state of twoscale
% heterogeneous diffusion in 2D on patches as an example,
% inspired by section 5.3.1 of Freese et al., 2211.13731.
% AJR, 31 Jan 2023
%!TEX root = doc.tex
%{
\section{\texttt{twoscaleDiffEquil2Errs}: errors in
equilibria of a 2D twoscale heterogeneous diffusion via
smal... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt1.m | .m | EquationFreeGit-master/SandpitPlay/BCs/patchEdgeInt1.m | 15,387 | utf_8 | bb791ea67bf7f51783c12add715bca8b | % patchEdgeInt1() provides the interpolation across 1D space
% for 1D patches of simulations of a lattice system such as
% PDE discretisations. AJR & JB, Sep 2018 -- Jan 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt1()}: sets patch-edge values
from interpolation over the 1D macroscale}
\l... |
github | uoa1184615/EquationFreeGit-master | abdulleDiffEquil2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/abdulleDiffEquil2.m | 6,045 | utf_8 | 39a09e5e4134b72d1f242ad011a85436 | % Solve for steady state of multiscale heterogeneous diffusion
% in 2D on patches as an example application, varied from
% example of section 5.1 of Abdulle et al., (2020b). AJR,
% 31 Jan 2023
%!TEX root = doc.tex
%{
\section{\texttt{abdulleDiffEquil2}: equilibrium of a 2D
multiscale heterogeneous diffusion via small ... |
github | uoa1184615/EquationFreeGit-master | theRes.m | .m | EquationFreeGit-master/SandpitPlay/BCs/theRes.m | 1,032 | utf_8 | 8cdbd483b1840c6fb1b04f49c5e6fbda | % This functions converts a vector of values into the
% interior values of the patches, then evaluates the time
% derivative of the system at $t=1$, and returns the vector
% of patch-interior time derivatives. AJR, 1 Feb 2023
%!TEX root = doc.tex
%{
\section{\texttt{theRes()}: wrapper function to zero}
\label{sec:theRe... |
github | uoa1184615/EquationFreeGit-master | heteroDiffF.m | .m | EquationFreeGit-master/SandpitPlay/BCs/heteroDiffF.m | 1,725 | utf_8 | 05cc0adfbdb44ef3b989b2c4a40bccfa | % Computes the time derivatives of forced heterogeneous
% diffusion in 1D on patches. AJR, Apr 2019 -- 3 Jan 2023
%!TEX root = doc.tex
%{
\subsection{\texttt{heteroDiffF()}: forced heterogeneous diffusion}
\label{sec:heteroDiffF}
This function codes the lattice heterogeneous diffusion
inside the patches with forcing ... |
github | uoa1184615/EquationFreeGit-master | configPatches3.m | .m | EquationFreeGit-master/SandpitPlay/BCs/configPatches3.m | 32,908 | utf_8 | d0d168ba4e05326bca019ec74e76e6c7 | % configPatches3() creates a data struct of the design of 3D
% patches for later use by the patch functions such as
% patchSys3(). AJR, Aug 2020 -- 2 Feb 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{configPatches3()}: configures spatial
patches in 3D}
\label{sec:configPatches3}
\localtableofcontents
... |
github | uoa1184615/EquationFreeGit-master | monoscaleDiffEquil2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/monoscaleDiffEquil2.m | 6,300 | utf_8 | b5bff0521417654313c3c19b2d649993 | % Solve for steady state of monoscale heterogeneous
% diffusion in 2D on patches as an example application, from
% section 5.2 of Freese, 2211.13731. AJR, 31 Jan 2023
%!TEX root = doc.tex
%{
\section{\texttt{monoscaleDiffEquil2}: equilibrium of a 2D
monoscale heterogeneous diffusion via small patches}
\label{sec:monos... |
github | uoa1184615/EquationFreeGit-master | randAdvecDiffEquil2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/randAdvecDiffEquil2.m | 6,862 | utf_8 | 8ec5f7b765db0f9321d4903f46912f15 | % Solve for steady state of two-scale heterogeneous
% diffusion in 2D on patches as an example application
% involving Neumann boundary conditions, from section 6.2 of
% Bonizzoni, 2211.15221. AJR, 1 Feb 2023
%!TEX root = doc.tex
%{
\section{\texttt{randAdvecDiffEquil2}: equilibrium of a 2D
random heterogeneous advect... |
github | uoa1184615/EquationFreeGit-master | twoscaleDiffEquil2.m | .m | EquationFreeGit-master/SandpitPlay/BCs/twoscaleDiffEquil2.m | 5,848 | utf_8 | b5a2f015f12f802529041681a6493474 | % Solve for steady state of twoscale heterogeneous diffusion
% in 2D on patches as an example application, from section
% 5.3.1 of Freese, 2211.13731. AJR, 31 Jan 2023
%!TEX root = doc.tex
%{
\section{\texttt{twoscaleDiffEquil2}: equilibrium of a 2D
twoscale heterogeneous diffusion via small patches}
\label{sec:twosca... |
github | uoa1184615/EquationFreeGit-master | patchSys1.m | .m | EquationFreeGit-master/SandpitPlay/BCs/patchSys1.m | 3,474 | utf_8 | 255dbcfbe2dcb47cbf775fe5a41f94bd | % patchSys1() provides an interface to time integrators
% for the dynamics on patches coupled across space. The
% system must be a smooth lattice system such as PDE
% discretisations. AJR, Nov 2017 -- Feb 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchSys1()}: interface 1D space to time integrato... |
github | uoa1184615/EquationFreeGit-master | projIntDMDExample1.m | .m | EquationFreeGit-master/SandpitPlay/ProjIntDMD/projIntDMDExample1.m | 2,643 | utf_8 | cea35b451ac65ded69b367b6fb56ea1a | % Example of the time integration function projIntDMD()
% on discretisation of nonlinear diffusion PDE.
% AJR, Oct 2017
%!TEX root = doc.tex
%{
\section{\texttt{projIntDMDExample1}: A first test of basic
projective integration}
\label{sec:ftbpi}
\localtableofcontents
Seek to simulate the nonlinear diffusion \pde\
\... |
github | uoa1184615/EquationFreeGit-master | projIntDMDExplore2.m | .m | EquationFreeGit-master/SandpitPlay/ProjIntDMD/projIntDMDExplore2.m | 2,944 | utf_8 | 78117aa55dce93ef25d0520f2fbaf9d3 | % Explore the time integration function projIntDMD()
% on discretisation of a nonlinear diffusion PDE.
% Test dependence of errors on macro-time-step.
% AJR, Feb 2018
%!TEX root = doc.tex
%{
\section{\texttt{projIntDMDExplore2}: explore effect of varying parameters}
\label{sec:pi1eevp}
\localtableofcontents
Seek to... |
github | uoa1184615/EquationFreeGit-master | projIntDMDPatches.m | .m | EquationFreeGit-master/SandpitPlay/ProjIntDMD/projIntDMDPatches.m | 5,220 | utf_8 | dc589e422abbb92a08ec8450030743be | % Example of the time integration function projIntDMD()
% on a patch simulation of Burgers PDE.
% AJR, Oct 2017
%!TEX root = doc.tex
%{
\section{\texttt{projIntDMDPatches}: Projective integration of patch scheme}
\label{sec:pips}
\localtableofcontents
As an example of the use of projective integration, seek to simu... |
github | uoa1184615/EquationFreeGit-master | projIntDMD.m | .m | EquationFreeGit-master/SandpitPlay/ProjIntDMD/projIntDMD.m | 9,508 | utf_8 | 48b56d75182b6b1f3285402fa2864144 | % projIntDMD() is a basic projective integration of a
% given system of stiff deterministic ODEs. AJR, Oct 2017
%!TEX root = doc.tex
%{
\section{\texttt{projIntDMD()}}
\label{sec:projIntDMD}
\localtableofcontents
This is a basic example of projective integration of a given
system of stiff deterministic \ode{}s via \d... |
github | uoa1184615/EquationFreeGit-master | projIntDMDExplore1.m | .m | EquationFreeGit-master/SandpitPlay/ProjIntDMD/projIntDMDExplore1.m | 4,839 | utf_8 | 25dc7d34dbd51ab52031fda41616128b | % Explore the time integration function projIntDMD()
% on discretisation of a nonlinear diffusion PDE.
% AJR, Jan 2018
%!TEX root = doc.tex
%{
\section{\texttt{projIntDMDExplore1}: explore effect of varying parameters}
\label{sec:pi1eevp}
\localtableofcontents
Seek to simulate the nonlinear diffusion \pde\
\begin{e... |
github | uoa1184615/EquationFreeGit-master | mmPatchSys2.m | .m | EquationFreeGit-master/SandpitPlay/MoveMesh/mmPatchSys2.m | 18,670 | utf_8 | 6414e727f6bee29c0f16dc8daec55977 | % mmPatchSys2() provides an interface to time integrators
% for the dynamics on moving patches coupled across space. The
% system must be a lattice system such as a PDE
% discretisation. AJR, Aug 2021 -- Sep 2021
%!TEX root = doc.tex
%{
\section{\texttt{mmPatchSys2()}: interface 2D space of
moving patches to time inte... |
github | uoa1184615/EquationFreeGit-master | mmNonDiffPDE.m | .m | EquationFreeGit-master/SandpitPlay/MoveMesh/mmNonDiffPDE.m | 1,206 | utf_8 | ded09a422eb4981ce37cf704c78d2e51 | % Microscale discretisation of a nonlinear diffusion PDE in
% 2D space (x,y) on moving 2D patches.
% AJR, Aug 2021 -- Sep 2021
%!TEX root = doc.tex
%{
\subsection{\texttt{mmNonDiffPDE():} (non)linear diffusion PDE inside moving patches}
As a microscale discretisation of \(u_t=\Vv\cdot\grad u+\delsq(u^3)\), code
\(\dot ... |
github | uoa1184615/EquationFreeGit-master | mmBurgersPDE.m | .m | EquationFreeGit-master/SandpitPlay/MoveMesh/mmBurgersPDE.m | 2,354 | utf_8 | d592a3874ab094fa21b653f27077e4b9 | % mmBurgersPDE() is a microscale discretisation of Burgers'
% PDE on multiscale patches of a lattice x, when the patches
% move according to some scheme. AJR, Aug 2021
%!TEX root = doc.tex
%{
\subsection{\texttt{mmBurgersPDE()}: Burgers PDE inside a
moving mesh of patches}
For the evolving scalar field~\(u(t,x)\), we... |
github | uoa1184615/EquationFreeGit-master | mmPatchSys1.m | .m | EquationFreeGit-master/SandpitPlay/MoveMesh/mmPatchSys1.m | 11,231 | utf_8 | 1adfa605d2346d08dd479dce644de6a6 | % mmPatchSys1() provides an interface to time integrators
% for the dynamics on moving patches coupled across space. The
% system must be a lattice system such as a PDE
% discretisation. AJR, Aug 2021
%!TEX root = doc.tex
%{
\section{\texttt{mmPatchSys1()}: interface 1D space of
moving patches to time integrators}
\la... |
github | uoa1184615/EquationFreeGit-master | mm2dExample.m | .m | EquationFreeGit-master/SandpitPlay/MoveMesh/mm2dExample.m | 9,008 | utf_8 | a64d0699cbdd1be97f6526f8e6569531 | % mm2dExample: moving patches of Burgers PDE
%!TEX root = doc.tex
%{
\section{\texttt{mm2dExample}: example of moving
patches in 2D for nonlinear diffusion}
\label{sec:mm2dExample}
The code here shows two ways to use moving patches in 2D.
Plausible generalisations from the 1D code to this 2D code is the case \verb|a... |
github | uoa1184615/EquationFreeGit-master | mm1dBurgersExample.m | .m | EquationFreeGit-master/SandpitPlay/MoveMesh/mm1dBurgersExample.m | 6,382 | utf_8 | e41c7863cd3185ecc93835286bc7fdd7 | % mm1dBurgersExample: moving patches of Burgers PDE
%!TEX root = doc.tex
%{
\section{\texttt{mm1dBurgersExample}: example of moving
patches for Burgers' PDE}
\label{sec:mm1dBurgersExample}
The code here shows one way to get started: a user's script
may have the following three steps (left-right arrows denote
functio... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt3.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/patchEdgeInt3.m | 28,529 | utf_8 | 994388f67e0cb617d206311ba65f6db3 | % patchEdgeInt3() provides the interpolation across 3D space
% for 3D patches of simulations of a smooth lattice system
% such as PDE discretisations. AJR, Aug 2020 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt3()}: sets 3D patch
face values from 3D macroscale interpolation}
\la... |
github | uoa1184615/EquationFreeGit-master | configPatches1.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/configPatches1.m | 24,736 | utf_8 | 658f09fbcd57e0cafaf7592fe95529ef | % configPatches1() creates a data struct of the design of
% 1D patches for later use by the patch functions such as
% patchSys1(). AJR, Nov 2017 -- 23 Mar 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{configPatches1()}: configure spatial
patches in 1D}
\label{sec:configPatches1}
\localtableofcontents
... |
github | uoa1184615/EquationFreeGit-master | hyperDiffHetero.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/hyperDiffHetero.m | 5,068 | utf_8 | 86abdf14874293588d096b8c6c5856cc | % Simulate a heterogeneous version of hyper-diffusion PDE in
% 1D on patches as an example application with pairs of edge
% points needing to be interpolated between patches in
% space. AJR, 12 Apr 2023
%!TEX root = doc.tex
%{
\section{\texttt{hyperDiffHetero}: simulate a heterogeneous
hyper-diffusion PDE in 1D on pat... |
github | uoa1184615/EquationFreeGit-master | configPatches2.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/configPatches2.m | 31,139 | utf_8 | 0503e5a59406ec06c7901c982f712d36 | % configPatches2() creates a data struct of the design of 2D
% patches for later use by the patch functions such as
% patchSys2(). AJR, Nov 2018 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{configPatches2()}: configures spatial
patches in 2D}
\label{sec:configPatches2}
\localtableofcontents... |
github | uoa1184615/EquationFreeGit-master | SwiftHohenbergPattern.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/SwiftHohenbergPattern.m | 6,903 | utf_8 | 39b464ae1e17aa2bb9504ef140cd20eb | % Simulate Swift--Hohenberg PDE in 1D on patches as an
% example application of patches in space with pairs of edge
% points needing to be interpolated between patches. AJR,
% 28 Mar 2023
%!TEX root = doc.tex
%{
\section{\texttt{SwiftHohenbergPattern}: patterns of the
Swift--Hohenberg PDE in 1D on patches}
\label{sec:... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt2.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/patchEdgeInt2.m | 21,894 | utf_8 | 69c7eba8d39f1ca697e955100def73e9 | % patchEdgeInt2() provides the interpolation across 2D space
% for 2D patches of simulations of a lattice system such as
% a PDE discretisation. AJR, Nov 2018 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt2()}: sets 2D patch
edge values from 2D macroscale interpolation}
\label{se... |
github | uoa1184615/EquationFreeGit-master | SwiftHohenbergHetero.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/SwiftHohenbergHetero.m | 13,923 | utf_8 | 24872db870e64f9f9566f80b37600307 | % Simulate a heterogeneous version of Swift--Hohenberg PDE
% in 1D on patches as an example application with pairs of
% edge points needing to be interpolated between patches in
% space. AJR, 28 Mar 2023
%!TEX root = doc.tex
%{
\section{\texttt{SwiftHohenbergHetero}: patterns of a
heterogeneous Swift--Hohenberg PDE in... |
github | uoa1184615/EquationFreeGit-master | patchSys2.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/patchSys2.m | 3,739 | utf_8 | 89dfc4cb2288733f30c09a385da6fe21 | % patchSys2() Provides an interface to time integrators
% for the dynamics on patches in 2D coupled across space.
% The system must be a lattice system such as PDE
% discretisations. AJR, Nov 2018 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchSys2()}: interface 2D space to time integrato... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt1.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/patchEdgeInt1.m | 16,444 | utf_8 | 4d5890cdcc086ffde04fad57d210c2f8 | % patchEdgeInt1() provides the interpolation across 1D space
% for 1D patches of simulations of a lattice system such as
% PDE discretisations. AJR & JB, Sep 2018 -- 23 Mar 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt1()}: sets patch-edge values
from interpolation over the 1D macroscale}... |
github | uoa1184615/EquationFreeGit-master | patchSys3.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/patchSys3.m | 4,266 | utf_8 | 5fe96a5fc1710aa27ba6225006093653 | % patchSys3() provides an interface to time integrators
% for the dynamics on patches in 3D coupled across space.
% The system must be a lattice system such as PDE
% discretisations. AJR, Aug 2020 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchSys3()}: interface 3D space to time integrato... |
github | uoa1184615/EquationFreeGit-master | heteroDispersiveWave3.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/heteroDispersiveWave3.m | 6,842 | utf_8 | 2c0f537ee293e1547eb9cea5e368629a | % Simulate in 3D on patches the heterogeneous dispersive
% waves in a fourth-order wave PDE. AJR, 16 Apr 2023
%!TEX root = doc.tex
%{
\section{\texttt{heteroDispersiveWave3}: heterogeneous
Dispersive Waves from 4th order PDE}
\label{sec:heteroDispersiveWave3}
This uses small spatial patches to simulate heterogeneous... |
github | uoa1184615/EquationFreeGit-master | configPatches3.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/configPatches3.m | 33,983 | utf_8 | b4291a4d1d004f1936b796a38893502e | % configPatches3() creates a data struct of the design of 3D
% patches for later use by the patch functions such as
% patchSys3(). AJR, Aug 2020 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{configPatches3()}: configures spatial
patches in 3D}
\label{sec:configPatches3}
\localtableofcontents... |
github | uoa1184615/EquationFreeGit-master | quasiLogAxes.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/quasiLogAxes.m | 7,770 | utf_8 | 3c6cea4c5e176ba4f43466f34876e111 | % quasiLogAxes() transforms selected axes of the given plot
% to a quasi-log axes (via asinh), including possibly
% transforming color axis. AJR, 25 Sep 2021 -- 18 Apr 2023
%!TEX root = doc.tex
%{
\section{\texttt{quasiLogAxes()}: transforms some axes of a
plot to quasi-log}
\label{sec:quasiLogAxes}
This function res... |
github | uoa1184615/EquationFreeGit-master | SwiftHohenberg2dPattern.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/SwiftHohenberg2dPattern.m | 7,080 | utf_8 | 07fe674e7f52283bfae0d9831267a22f | % Simulate Swift--Hohenberg PDE in 2D on patches as an
% example application of patches in 2D space with pairs of
% edge points needing to be interpolated between patches.
% AJR, 13 Apr 2023
%!TEX root = doc.tex
%{
\section{\texttt{SwiftHohenberg2dPattern}: patterns of the
Swift--Hohenberg PDE in 2D on patches}
\label... |
github | uoa1184615/EquationFreeGit-master | patchSys1.m | .m | EquationFreeGit-master/SandpitPlay/MultiEdgeValues/patchSys1.m | 3,219 | utf_8 | a1fb92a0c8cf097956420a725b7f4cef | % patchSys1() provides an interface to time integrators for
% the dynamics on patches coupled across space. The system
% must be a lattice system such as PDE discretisations.
% AJR, Nov 2017 -- 31 Mar 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchSys1()}: interface 1D space to time integrators}... |
github | uoa1184615/EquationFreeGit-master | rk2int.m | .m | EquationFreeGit-master/SandpitPlay/RKInt/rk2int.m | 2,266 | utf_8 | 74c1245d7cd40c8ace1329480e507287 | %rk2int() is a simple example of Runge--Kutta, 2nd order,
%integration of a given deterministic ODE.
%AJR, 29 Mar 2017
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{rk2int()}}
\label{sec:rk2int}
\localtableofcontents
This is a simple example of Runge--Kutta, 2nd order,
integration of a given deterministic... |
github | uoa1184615/EquationFreeGit-master | homoDiffBdryEquil3.m | .m | EquationFreeGit-master/Patch/homoDiffBdryEquil3.m | 6,974 | utf_8 | 7cecd10e3fe6ae3ac7058761acf6df6a | % Finds equilibrium of forced heterogeneous diffusion in 3D
% cube on 3D patches as an example application. Boundary
% conditions are Neumann on the right face of the cube, and
% Dirichlet on the other faces. The microscale is of known
% period so we interpolate next-to-edge values to get
% opposite edge values. AJR... |
github | uoa1184615/EquationFreeGit-master | patchEdgeInt3.m | .m | EquationFreeGit-master/Patch/patchEdgeInt3.m | 28,529 | utf_8 | 994388f67e0cb617d206311ba65f6db3 | % patchEdgeInt3() provides the interpolation across 3D space
% for 3D patches of simulations of a smooth lattice system
% such as PDE discretisations. AJR, Aug 2020 -- 12 Apr 2023
%!TEX root = ../Doc/eqnFreeDevMan.tex
%{
\section{\texttt{patchEdgeInt3()}: sets 3D patch
face values from 3D macroscale interpolation}
\la... |
github | uoa1184615/EquationFreeGit-master | homoDiff31spmd.m | .m | EquationFreeGit-master/Patch/homoDiff31spmd.m | 10,046 | utf_8 | 893ea075ff595700254aece837a89c03 | % homoDiff31spmd simulates heterogeneous diffusion in 1D
% space on 3D patches as a Proof of Principle example of
% parallel computing with spmd. The interest here is on
% using spmd and comparing it with code not using spmd. The
% discussion here only addresses issues with spmd and
% parallel computing. For discussi... |
github | uoa1184615/EquationFreeGit-master | simpleWavepde.m | .m | EquationFreeGit-master/Patch/simpleWavepde.m | 1,216 | utf_8 | 67dc4777a37a0c263f408f1bfaf79596 | % Used by patchEdgeInt1test.m
% AJR, 2018
function Ut=simpleWavepde(t,U,x)
% global patches
dx=x(2)-x(1);
Ut=nan(size(U));
ht=Ut;
%{
\end{matlab}
Compute the PDE derivatives at points internal to the
patches.
\begin{matlab}
%}
i=2:size(U,1)-1;
%{
\end{matlab}
Here `wastefully' compute time derivatives for both \pde{}s
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.