plotting two columns of values data at workspace

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

Do you "simulation" in the sense that this is to be done in Simulink ?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Weitere Antworten (1)

Titus Edelhofer
Titus Edelhofer am 8 Aug. 2012

5 Stimmen

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

Gefragt:

am 8 Aug. 2012

Kommentiert:

am 15 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by