User | Kudos |
---|---|
13 | |
11 | |
3 | |
3 | |
3 |
clear all;
x = 0:0.01:20;
y1 = 200*exp(-0.05*x).*sin(x);
y2 = 0.8*exp(-0.5*x).*sin(10*x);
plotyy(x,y1,x,y2);
axis([0,20,-200,200]);
xlabel('Time (\musec)');
ylabel('Fast decay');
title('Multiple Decay Rates');
Please help,
1. how can I make the 2nd y label ('Slow decay')?
2. how do I set 2nd y maximum and minimum axis?
Thank you very much in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.