matlab循环读图的代码-Gait-Analysis:步态分析

  • H5_342166
    了解作者
  • 3.7MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-13 00:42
    上传日期
matlab循环读图的代码
Gait-Analysis-master.zip
  • Gait-Analysis-master
  • ReadMe.txt
    3.4KB
  • Results_Plots
  • Figure_11.png
    59KB
  • Figure_1.png
    46.6KB
  • Figure_7.png
    50.5KB
  • Figure_2.png
    66.3KB
  • Figure_13.png
    125.6KB
  • Figure_3.png
    70.2KB
  • Figure_10.png
    65.4KB
  • Figure_8.png
    65.8KB
  • Figure_6.png
    49.3KB
  • Figure_9.png
    78.8KB
  • Figure_5.png
    47.5KB
  • Figure_12.png
    126.2KB
  • Figure_4.png
    49.6KB
  • Healthy
  • subject01_gait_m5_hf.xlsx
    710.9KB
  • subject01_gait_p5_hf.xlsx
    650.6KB
  • subject01_gait.xlsx
    717.3KB
  • Code
  • edit_data.m
    4.3KB
  • convert_LCS.m
    8KB
  • vectors_2d_3d.m
    13.2KB
  • gait_data_processing.m
    5.2KB
  • determine_local_CS_with_origin.m
    4.3KB
  • plot_2d_results.m
    16.4KB
  • plot_animation.m
    14.7KB
  • plot_3d_results.m
    3.3KB
  • extract_pt_data_from_data_matrix.m
    2KB
  • save_tables.m
    3.4KB
  • inverse_dynamics.m
    7.3KB
  • calcEulerAngs.m
    1.6KB
  • edit_anthropometrics.m
    1.8KB
  • Input_Data
  • anthropometrics.xlsx
    10KB
  • Results_Tables
  • LCS-Forces-Moments_Patient1_Case_2.xlsx
    62.7KB
  • LCS-Forces-Moments_Patient1_Case_1.xlsx
    62.8KB
  • Transformation_Table_Patient_1_Case_1.xlsx
    165.7KB
  • LCS-Joint_and Euler_Angles_Patient1_Case_2.xlsx
    131.5KB
  • Transformation_Table_Patient_1_Case_2.xlsx
    165.3KB
  • LCS-Joint_and Euler_Angles_Patient1_Case_1.xlsx
    131.6KB
  • THR
  • Patient_1_Walking_01.xlsx
    81.7KB
  • Patient_1_Walking_02.xlsx
    81.2KB
内容介绍
This text file provides an explanation about the code and the functions developed. It also explains how to run the code. However the results cannot be reproduced since the anthropometric data are not available due to copyrights. An example of "fake" anthropometric data is included for testing the code. For the code to run smoothly, please change all the input and output directories. There are five directories: A) Two directories for the output results: 1) The first one is used to store all the plots. 2) The second one is used to store all the excel files. B) Three directories for the input results: 1) The first one is used to access Input file. 2) The second one is used to acces THR files. 3) The third one is used to access Healthy files. The code is structured using a number of small functions controlled by the master MATLAB code called "gait_data_processing.m". I tried to make the code as general as possible in order to be able to handle changes from the input files. The functions used are the following: 1 -> gait_data_processing (main code used for reading input files, storing the output files and calling all the other functions). 2 -> edit_anthropometrics (processing the 'anthropometrics.xlsx' file). 3 -> edit_data (processing the data read from THR_patients files). 4 -> inverse_dynamics (uses the data from edit_data function to perform inverse dynamics analysis). 5 -> convert_LCS (convert points, forces and moments from GCS to LCS). This function calls other functions for achieving its goal: 5.1 -> extract_pt_data_from_data_matrix (uses THR_patients files (T2 table) to extract point/landmark locations). 5.2 -> determine_local_CS_with_origin (calculates the transformation T to a local coordinate system). 5.3 -> calcEulerAngs (used to extract euler angles from cosine matrices). 6 -> plot_2d_results (used to plot 2d graphs of the results). 7 -> plot_3d_results (used to plot 3d graphs of the results). 8 -> vectors_2d_3d (used to plot the vectors of forces and moments at each joint in both 2d and 3d). 9 -> plot_animation (used to perform simple vector style animation showing the direction of the force and moment at each joint during a gait cycle for patient 1 walking trial 1). 10 -> save_results (used to save the plots and excel file in the corresponding directories). IF FUNCTIONS 6, 7, 8 and 9 are commented, uncomment to see the results. Computation time for some plots is long because of the extensive use of scatter plots. The code might take saveral minutes to produce the results based on the pc used. !!! SOS !!! /////////////////////////////////////////////////////////////////////////////////////// /// For the plot_animation function to work as expected, change the values of the /// /// off marker of the patients from -1 to 0 to indicate when the left foot is off /// /// is off from the plate. /// ///////////////////////////////////////////////////////////////////////////////////////
评论
    相关推荐
    • matlab 课件
      matlab 功能很强大,本课件详细的介绍了matlab在科学计算中的应用。
    • Matlab教程
      MatlaB经典ppt,主要讲解了MatlaB的入门知识,图形编程以及仿真。
    • matlab入门
      matlab的入门教程,很值得仔细看看,对提高matlab能力有帮助
    • matlab编译器
      matlab编译为exe文件所需要的文件; 使用时解压,将解压后文件拖入至matlab命令行即可
    • matlab
      matlab的基础知识进行介绍
    • MatLab
      “#MatLab
    • MATLAB编译器
      基于MATLAB 2018b版本介绍MATLAB编译器。介绍如何利用编译器将MATLAB代码编译为独立应用程序或组件,并在没有安装MATLAB的计算机上进行部署。
    • MATLAB 论文
      基于MATLAB的论文撰写!可以为你指明一条写作MATLAB论文的道路!
    • matlab
      matlab经典课堂讲义
    • matlab
      matlab