How to plot an array effectively?

조회 수: 2 (최근 30일)
Haya Ali
Haya Ali 2021년 5월 23일
편집: Haya Ali 2021년 5월 26일
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