% Specify the name of the Excel file and sheet filename = 'KlannKinematicAnalysis.xlsx'; sheetname = 'Sheet1'; % Read the data from the Excel file data = readtable(filename,'Sheet',sheetname); % Extract the X and Y data from the table xPos = data{:,2}; yPos = data{:,3}; xVel = data{:,4}; yVel = data{:,5}; xAcc = data{:,6}; yAcc = data{:,7}; % Plot Position figure; plot(xPos,yPos); xlabel('X Position'); ylabel('Y Position'); %Plot Velocity figure; plot(xVel,yVel); xlabel('X Velocity'); ylabel('Y Velocity'); %Plot Acceleration figure; plot(xAcc,yAcc); xlabel('X Acceleration'); ylabel('Y Acceleration'); |
Welcome to the University Wiki Service! Please use your IID (yourEID@eid.utexas.edu) when prompted for your email address during login or click here to enter your EID. If you are experiencing any issues loading content on pages, please try these steps to clear your browser cache.