bnj tout le monde,voila ce que j'ai fait comme programme,et je veut déterminer l'axe y de [-4 4].comment je fais svp...et merci

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
N=100;k=1:N;
v(k)=rand(1,100);
x1=0.4*v(k)+sin(k/N)
x2=v(k)-2*cos(k/4);
x3=0.2*v(k)-1;
x4=x1+x2;
x5=x2+x3;
x6=2*x1+x3;
x7=x4+x5;
 
x=[x1' x2' x3' x4' x5' x6' x7'];
 
x1(:,8:15)=x1(:,8:15)+3;
x3(:,34:41)=x3(:,34:41)+3;
x5(:,58:65)=x5(:,58:65)+3
 
subplot(711);plot(x1);
subplot(712);plot(x2);
subplot(713);plot(x3);
subplot(714);plot(x4);
subplot(715);plot(x5);
subplot(716);plot(x6);
subplot(717);plot(x7);