How to plot an array effectively?

1 次查看(过去 30 天)
clear all; close all; clc;
h=0.05;
t=0:h:599.5;
X1=[11500.2 11477.9 11417.3 11426.4 11413 11382.9 11375.1 11347.9 11351.1 11329.3]

采纳的回答

Kartikay Sapra
Kartikay Sapra 2021-5-23
plot(t, X1)
Assuming X1(i) is the value at t(i), we first specify the value for x-axis and then the value for y-axis

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by