How do import just the numerical data into MATLAB
Show older comments
I have EMG data in an xls file that contains a numerical value associated to a unit value such as m for micro. How do I get rid of this alphabetical unit, as when I import and try to plot the data, MATLAB replaces the number and unit with NaN.
Answers (1)
Sean de Wolski
on 16 Oct 2014
0 votes
Have you used the import tool which will strip off consistent units for you?

2 Comments
David Wain
on 16 Oct 2014
Sean de Wolski
on 16 Oct 2014
Right click on the file in the current folder and select "Import Data" or Hit the "Import Data" button on the home tab.
Categories
Find more on String Parsing 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!