Can someone help me?
Show older comments
I am not exactly sure if I am doing them all right.. I have been practice and trying to learn but.. I dont know if I got them right.. Can someone help and check thur to make sure that I did them right...
Thank you!
5 Comments
James Tursa
on 3 Mar 2020
What is the assignment? What specific problems are you having with your code?
KSSV
on 3 Mar 2020
You have to load a file using:
load("data_set2.txt") %load data set
You have to mention your error/ stright away your problem.
KALYAN ACHARJYA
on 3 Mar 2020
In addition, define EMG
num = length (EMG);
Vanessa Arp
on 3 Mar 2020
Rik
on 3 Mar 2020
What were you trying to do when writing that line of code?
Answers (1)
Sai Sri Pathuri
on 6 Mar 2020
If this is the error, it might be because you did not define EMG variable.
Undefined function or variable 'EMG'
Error in ArpAssignment3 (line 29)
num = length (EMG);
If you are referring the data in MuscleX, MuscleY, MuscleZ as EMG ( you commented in the code : EMG data for muscle X as column 2, muscle Y as column 3 and muscle Z as column 4), you may find num by taking length of one of these.
num = length(MuscleX);
Categories
Find more on Spectral Measurements 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!