## matlab help

hello

I need some help with matlab.
I have some functions and I need to do a steptest, Dirac test, frequentietest and a taludtest.
The first 2 are working, but then with the frequentietest, i got the bode-diagram but i can't do the nyguistdiagram and blackdiagram.

If someone woud maby want to solve 1 function for me that i can see how it works? Then I can do the other functions myself.
I'll give the easyest one : 1/(1+1*10(^-3)*s

Staptest:

Te=[1],No=[1e-3 1];
t=[0:5e-5:5e-3];
[V0,X,t]=step(Te,No,t);
plot(t,V0),grid
title('Staptest')
Xlabel('Tijd(sec)')
Ylabel('Amplitude')
z=[1:5:50];
[t(X) V0(X)]

Dirac test

Te=[1],No=[1e-3 1];
t=[0:5e-5:5e-3];
[V0,X,t]=impulse(Te,No,t);
plot(t,V0),grid
title('diractest')
Xlabel('Tijd(sec)')
Ylabel('Amplitude')
z=[1:5:50];
[t(X) V0(X)]

Frequentietest

Bode-diagram
Te=[1];No=[1e-3 1]
w=logspace(1,5,600);
[MAG,phase,w]=bode(Te,No,w);
subplot(211)
semilogx(w,20*log10(MAG));grid
title('Amplitudediagram')
ylabel('A in dB')
subplot(212)
semilogx(w,phase);grid
title('Fasediagram')
xlabel('W')
ylabel('F in °')