Beruflich Dokumente
Kultur Dokumente
>> z1=A*exp(-a*t);
>> z2=sin(b*t);
>> [haxes,hline1,hline2]=plotyy(t,z1,t,z2,'semilogy','plot');
>> axes(haxes(1)),ylabel('Semilogaritmo')
>> axes(haxes(2)),ylabel('Lineal')
>> set(hline2,'LineStyle','--')
Dibujo en tridimensional
>> ezplot3('3*cos(t)','t*sin(t^2)','sqrt(t)')
>> ezplot3('log(t)','log10(t)','sqrt(t)')
>> ezplot3('sin(t^2)','cos(t^2)','tan(t)')
>> ezmesh('x*exp(-x^2-y^2)')
>> ezcontour('x*exp(-x^2-y^2)')
>> ezcontour('x*exp(-x^2-y^2)')
>> axis([-2.5,2.5,-2,2])
>> ezcontour('x^3+y^3')
>> ezmeshc('sin(u/2)*sin(v/2)')…………………. “C” es para las curvas de nivel
>> ezmesh('sin(u/2)*sin(v/2)')
ezsurf('sin(sqrt(x^2+y^2))/sqrt(x^2+y^2)
>> ezsurfc('sin(sqrt(x^2+y^2))/sqrt(x^2+y^2)')
>> ezplot("x+log(x/3)")
>> axis([-0.5,0.5,-1,1])
>> fun=@(x)x+log(x/3)
fun =
@(x) x + log (x / 3)
>> z=fzero(fun,1)
z = 1.0499
>>