how do you write the equation f=exp(x)*cos(x)?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jennifer Badash
il 13 Nov 2017
Commentato: ChangQing Teng
il 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 Commenti
Risposta accettata
James Tursa
il 13 Nov 2017
I am guessing you want to use the element-wise multiply operator, which has the dot:
f = exp(x) .* cos(x);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!