how do you write the equation f=exp(x)*cos(x)?
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Jennifer Badash
 am 13 Nov. 2017
  
    
    
    
    
    Kommentiert: ChangQing Teng
 am 28 Nov. 2019
            how do you write the equation f=exp(x)*cos(x)? it is saying that the inner matrix dimensions must agree
0 Kommentare
Akzeptierte Antwort
  James Tursa
      
      
 am 13 Nov. 2017
        I am guessing you want to use the element-wise multiply operator, which has the dot:
f = exp(x) .* cos(x);
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


