Help regarding plotting of graphs
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Amy Topaz
am 8 Mär. 2022
Beantwortet: Star Strider
am 8 Mär. 2022
I need to plot points from 10^1 to 10^99 with a scale of 1000.
I am new to matlab. So, I know that we plot using linspace. How to do this?
%Like below?
y = linspace(10^/1, 10^99, 1000);
0 Kommentare
Akzeptierte Antwort
Star Strider
am 8 Mär. 2022
t = logspace(1, 99, 1000);
y = exp(-1E-49*t).*sin(2*pi*t*0.001/numel(t));
figure
plot(t,y)
grid
figure
semilogx(t,y)
grid
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!