How to plot an array effectively?

1 Ansicht (letzte 30 Tage)
Haya Ali
Haya Ali am 23 Mai 2021
Bearbeitet: Haya Ali am 26 Mai 2021
clear all; close all; clc;
X1=[11500.2 11477.9 11417.3 11426.4 11413 11382.9 11375.1 11347.9 11351.1 11329.3]

Akzeptierte Antwort

Kartikay Sapra
Kartikay Sapra am 23 Mai 2021
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

Weitere Antworten (0)


Find more on Matrices and Arrays in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by