Comparing Simulink scope figure
Show older comments
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?
Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!