this is my code and it has a problem while calculating kafa=y2/y12
    1 view (last 30 days)
  
       Show older comments
    
    waqas muhammad
 on 17 Jan 2018
  
    
    
    
    
    Commented: per isakson
      
      
 on 17 Jan 2018
            kafa=y2/y12. but it gives error.. Matrix dimensions must agree.
4 Comments
Accepted Answer
  per isakson
      
      
 on 17 Jan 2018
        
      Edited: per isakson
      
      
 on 17 Jan 2018
  
      Error using  / 
Matrix dimensions must agree. 
>> whos y2 y12
  Name       Size             Bytes  Class     Attributes
  y12        1x450             3600  double              
  y2        15x1                120  double              
>>
- What kind of result do you expect from y2/y12 ?
 - See Debug a MATLAB Program
 
9 Comments
More Answers (2)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!