how do i draw the function of 3t^2+2t-0.5

2 Ansichten (letzte 30 Tage)
Tshimwandi Tshafa
Tshimwandi Tshafa am 16 Nov. 2021
Beantwortet: Gianluca Regina am 16 Nov. 2021
it should in blue
with titles

Antworten (2)

Cris LaPierre
Cris LaPierre am 16 Nov. 2021
MATLAB Onramp. Ch 9 covers plotting, but you may need some of the earlier chapters to know how to set it all up.

Gianluca Regina
Gianluca Regina am 16 Nov. 2021
t = -10:0.1:10 ;
y = 3*t.^2 + 2*t - 0.5 ;
plot( t , y , 'linewidth' ,1.5)
xline( 0 )
yline( 0 )
xlabel('\bf t', 'Fontsize', 18, 'Fontweight','bold');
ylabel( '\bf y' , 'Fontsize', 18, 'Fontweight','bold');
set(gca , 'Linewidth' , 1.2 ,'Fontsize',18,'FontWeight','bold', 'Box','on')
set(gcf , 'color','w' , 'WindowState' , 'Maximize')
This is plotted from -10 to 10 with a step of 0.1

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by