Considering the following function. Plot each of the following function and use subplot to illustrate the plot. y=(tan(9*x))/x.^0.5, 0<=x<=5
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Tamara Dunford
am 28 Nov. 2017
Beantwortet: Birdman
am 28 Nov. 2017
Considering the following function. Plot each of the following function and use subplot to illustrate the plot. y=(tan(9*x))/x.^0.5, 0<=x<=5
Here's what I have so far:
x=2
y=(tan(9*x))/(x.^0.5)
0 Kommentare
Akzeptierte Antwort
Birdman
am 28 Nov. 2017
You told each of the function, but I see only one, so here is the solution:
x=0.1:0.1:5;
for i=1:numel(x)
y(i)=(tan(9*x(i)))/(x(i).^0.5);
end
subplot(2,1,1)
plot(x,y)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Subplots 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!