plotting two columns of values data at workspace

1 Ansicht (letzte 30 Tage)
Povi Nike
Povi Nike am 8 Aug. 2012
Kommentiert: maziar am 15 Mai 2021
Hello,
I made simulation. There are two columns(1 ,2) of data at xxx.signals.values at workspace. what could be code to plot these columns versus each other to get column1=f(column2) at xxx.signals.values
  1 Kommentar
Walter Roberson
Walter Roberson am 8 Aug. 2012
Do you "simulation" in the sense that this is to be done in Simulink ?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Povi Nike
Povi Nike am 8 Aug. 2012
Thank you.

Weitere Antworten (1)

Titus Edelhofer
Titus Edelhofer am 8 Aug. 2012
Hi,
if you want to plot them against each other:
plot(xxx.signals.values(:,1), xxx.signals.values(:, 2))
Titus

Community Treasure Hunt

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

Start Hunting!

Translated by