Comparing Simulink scope figure
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!