How to combine 2 functions in one graph with different line
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
MA
2014-11-17
clear all
close all
clc;
t=0:0.1:5;
x1=6*sin((5.6309*10^9)*t);
x2=sin((5.6309*10^9)*t);
plot(t,x1,'b',t,x2,'r')
legend('x1','x2')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!