Create data set according to a plot ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anupa Koswatta
le 10 Juin 2019
Commenté : Anupa Koswatta
le 10 Juin 2019
How can I create this input data set in matlab? (according to the figure).
Because I want to input this data set into simulink to do a simulation.
This chart the increasement and decreasement could be any value.
Please help me with this problem.
Thank you.

0 commentaires
Réponse acceptée
KSSV
le 10 Juin 2019
t = [0 10 15 30 40 50 60] ;
vel = [20 20 30 30 10 5 5] ;
plot(t,vel)
ylim([0 35])
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!