how do i draw the function of 3t^2+2t-0.5
조회 수: 2 (최근 30일)
이전 댓글 표시
it should in blue
with titles
댓글 수: 0
답변 (2개)
Cris LaPierre
2021년 11월 16일
MATLAB Onramp. Ch 9 covers plotting, but you may need some of the earlier chapters to know how to set it all up.
댓글 수: 0
Gianluca Regina
2021년 11월 16일
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!