Effacer les filtres
Effacer les filtres

Comparing Simulink scope figure

1 vue (au cours des 30 derniers jours)
jay88 xie
jay88 xie le 12 Sep 2012
Hi all,
I do need to compare some figures from my simulation. How do i about it?
I plan to export the files and execute the below codes:
city_data=load('1.txt'); city=load('2.txt');
t=city_data(:,1); %our x M=city_data(:,2); %our y
t1=city(:,1); %our x M1=city(:,2); %our y
axis([0 10 0 1]) plot(t,M,'LineWidth',2) hold on plot(t1,M1,'--r','LineWidth',2)
are there any better ways?

Réponses (0)

Catégories

En savoir plus sur View and Analyze Simulation Results 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!

Translated by