How to plot an array effectively?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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]
0 commentaires
Réponse acceptée
Kartikay Sapra
le 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
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!