error reading using xlsread
    4 views (last 30 days)
  
       Show older comments
    
    sri satya ravi
 on 12 Apr 2016
  
    
    
    
    
    Edited: Azzi Abdelmalek
      
      
 on 12 Apr 2016
            I am trying to run this code and i am getting an error 'Undefined operator '.*' for input arguments of type 'cell'. All i am trying to do is vector multiplication of the two columns of data which is imported from the file.
clc
clear all
[num,txt,Rawdata] = xlsread ('MAE 525 HW5 Soln.xlsx'); 
CO2_meas = Rawdata (16:end,2);
CO_meas = Rawdata (16:end,3);
result = CO2_meas.* CO_meas
0 Comments
Accepted Answer
  Azzi Abdelmalek
      
      
 on 12 Apr 2016
        [num,txt,Rawdata] = xlsread ('MAE 525 HW5 Soln.xlsx'); 
CO2_meas = num(16:end,2);
CO_meas = num(16:end,3);
result = CO2_meas.* CO_meas
0 Comments
More Answers (0)
See Also
Categories
				Find more on Data Import from MATLAB 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!