I get an error and what caused it? - Function Plotting
Mostra commenti meno recenti
I get an error. What caused it and how do I fix it?
Here my code:
t = -5:0.1:5;
y = ((2.*cos(x)+exp(-0.4.*x))./(0.2.*x+exp(-0.2.*x))) + ((4.*x)./3);
plot(t,y);

Edit: Typo correction.
1 Commento
KSSV
il 6 Gen 2022
You have not shown us the values of x.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
