Matlab plotting and changing line colour and marker
Show older comments
Create your own MATLAB code.
Your MATLAB code should include the following:
a. Load in thedataprovided(*.txt file)
b. Create variables for each column of data
c. Create a time vector based on a sample frequency of 100 Hz
d. Determine the maximum and minimum knee flexion/extension angle(degrees)
e. Create a figure with 3 subplots to show the following angle values for the knee: flexion-extension(degrees), abduction/adduction(degrees)and internal/external rotation(degrees)data over time(seconds)
i. Each subplot should use a different marker type and line colour
ii .Create a title for the figure
iii. Label the axes of each subplot, with the appropriate units in brackets
I did all the parts and I am stuck in part e because i cannot do
1 Comment
Steven Lord
on 27 Sep 2020
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
Answers (1)
Waqar Sahi
on 7 Oct 2020
0 votes
can you show me your code , I can help you in you last part
Categories
Find more on Sensors and Transducers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!