Why isn't the plot showing up? (new on programing)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
simon ericsson
il 17 Ott 2021
Commentato: simon ericsson
il 17 Ott 2021
x = linspace(-10,10,100);
y = @(x) (x.^2 + x.^2 + 3.*x)/(x.^2 + 4.*x + 5);
plot(x,y(x),'r','LineWidth',2)
0 Commenti
Risposta accettata
KSSV
il 17 Ott 2021
x = linspace(-10,10,100);
y = @(x) (x.^2 + x.^2 + 3.*x)./(x.^2 + 4.*x + 5); % element by elememnt division
plot(x,y(x),'r','LineWidth',2)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots 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!