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

Antworten (2)

KSSV
KSSV am 3 Mär. 2022
Read about plot function.
plot(t,y);
xlabel('t')
ylabel('y')
VBBV
VBBV am 11 Apr. 2023
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');

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Mär. 2022

Beantwortet:

am 11 Apr. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by