Plotting graph using scope
25 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mrudul Agrawal
il 19 Ott 2020
Commentato: Jesús Zambrano
il 23 Ott 2020
I solved 2 degree dependant differential equations in simulink and I got 2 equations as a funtion of time say X(t) and Y(t). Scope is plotting graph between x vs t and y vs t. But I want grph of T vs X, T vs Y, and X vs y. Tell me if some way is there or suggest if some other technique I can use.
0 Commenti
Risposta accettata
Jesús Zambrano
il 19 Ott 2020
With a Scope block (form Library, section Sinks) you get a trend of a variable as function of time.
If you use the XY Graph block (also from Library, sectino Sinks) you can plot a variable vs another variable.
Hope it helps.
2 Commenti
Jesús Zambrano
il 23 Ott 2020
Scope are plotting input data during time. For the plot you described, I suggest to do a post-processing of data: save them in ToWorkspace blocks and then, in command window (or in a script) plot the data in the order you want.
Hope it helps!
Più risposte (0)
Vedere anche
Categorie
Scopri di più su View and Analyze Simulation Results in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!