how would i write script to graph the 't' and 'y' values?

답변 (2개)

KSSV
KSSV 2022년 3월 3일
Read about plot function.
plot(t,y);
xlabel('t')
ylabel('y')
VBBV
VBBV 2023년 4월 11일
figure;
load('ALL_DATA.mat','Box40');
subplot(3,1,1);
% use the struct name to access the t & y variables
plot(Box40.t,Box40.y);
legend('t','y');
title('Testbox');

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2022년 3월 3일

답변:

2023년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by