How would I write the function of f(x)=sin(x)*exp(-x/10)
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Where would I need to put periods in this function?
0 Commenti
Risposte (1)
James Tursa
il 29 Set 2020
Modificato: James Tursa
il 29 Set 2020
The multiply. E.g.,
f = @(x) sin(x) .* exp(-x/10);
You don't need it on the divide because you are dividing by a scalar.
0 Commenti
Vedere anche
Categorie
Scopri di più su NaNs 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!