How would I write the function of f(x)=sin(x)*exp(-x/10)
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Where would I need to put periods in this function?
0 Kommentare
Antworten (1)
James Tursa
am 29 Sep. 2020
Bearbeitet: James Tursa
am 29 Sep. 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 Kommentare
Siehe auch
Kategorien
Mehr zu NaNs 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!