Include new images to the help pages 60/10860/4
Sylvestre Ledru [Fri, 15 Mar 2013 15:31:52 +0000 (16:31 +0100)]
Change-Id: I2fdb873169bc4d82194682740fc156805795ae6d

52 files changed:
scilab/modules/cacsd/help/en_US/arma.xml
scilab/modules/cacsd/help/en_US/calfrq.xml
scilab/modules/cacsd/help/en_US/csim.xml
scilab/modules/cacsd/help/en_US/findBD.xml
scilab/modules/cacsd/help/en_US/flts.xml
scilab/modules/cacsd/help/en_US/g_margin.xml
scilab/modules/cacsd/help/en_US/noisegen.xml
scilab/modules/cacsd/help/en_US/p_margin.xml
scilab/modules/cacsd/help/en_US/phasemag.xml
scilab/modules/cacsd/help/en_US/prbs_a.xml
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/analyze_1.png [new file with mode: 0644]
scilab/modules/helptools/images/arma_en_US_1.png [new file with mode: 0644]
scilab/modules/helptools/images/arma_fr_FR_1.png [new file with mode: 0644]
scilab/modules/helptools/images/arma_pt_BR_1.png [new file with mode: 0644]
scilab/modules/helptools/images/arma_ru_RU_1.png [new file with mode: 0644]
scilab/modules/helptools/images/calfrq_1.png [new file with mode: 0644]
scilab/modules/helptools/images/csim_1.png [new file with mode: 0644]
scilab/modules/helptools/images/csim_2.png [new file with mode: 0644]
scilab/modules/helptools/images/csim_3.png [new file with mode: 0644]
scilab/modules/helptools/images/csim_4.png [new file with mode: 0644]
scilab/modules/helptools/images/csim_5.png [new file with mode: 0644]
scilab/modules/helptools/images/flts_1.png [new file with mode: 0644]
scilab/modules/helptools/images/fsolve_1.png [new file with mode: 0644]
scilab/modules/helptools/images/g_margin_1.png [new file with mode: 0644]
scilab/modules/helptools/images/g_margin_2.png [new file with mode: 0644]
scilab/modules/helptools/images/hist3d_3.png
scilab/modules/helptools/images/hist3d_4.png
scilab/modules/helptools/images/hist3d_5.png
scilab/modules/helptools/images/karmarkar_1.png [new file with mode: 0644]
scilab/modules/helptools/images/mrfit_1.png [new file with mode: 0644]
scilab/modules/helptools/images/noisegen_1.png [new file with mode: 0644]
scilab/modules/helptools/images/ordmmd_en_US_1.png [new file with mode: 0644]
scilab/modules/helptools/images/ordmmd_fr_FR_1.png [new file with mode: 0644]
scilab/modules/helptools/images/ordmmd_pt_BR_1.png [new file with mode: 0644]
scilab/modules/helptools/images/ordmmd_ru_RU_1.png [new file with mode: 0644]
scilab/modules/helptools/images/percentasn_1.png [new file with mode: 0644]
scilab/modules/helptools/images/percentsn_1.png [new file with mode: 0644]
scilab/modules/helptools/images/percentsn_2.png [new file with mode: 0644]
scilab/modules/helptools/images/phasemag_1.png [new file with mode: 0644]
scilab/modules/helptools/images/phasemag_2.png [new file with mode: 0644]
scilab/modules/helptools/images/prbs_a_1.png [new file with mode: 0644]
scilab/modules/helptools/images/wavread_1.png [new file with mode: 0644]
scilab/modules/optimization/help/en_US/fsolve.xml
scilab/modules/optimization/help/en_US/karmarkar.xml
scilab/modules/signal_processing/help/en_US/mrfit.xml
scilab/modules/sound/help/en_US/analyze.xml
scilab/modules/sound/help/en_US/wavread.xml
scilab/modules/sparse/help/en_US/ordmmd.xml
scilab/modules/special_functions/help/en_US/percentasn.xml
scilab/modules/special_functions/help/en_US/percentsn.xml
scilab/modules/umfpack/help/en_US/umf_luget.xml

index 1a753f8..644455c 100644 (file)
@@ -154,5 +154,34 @@ plot2d([fr;fr;fr]',[20*log10(sm/sm(1));20*log10(res/res(1));20*log10(res1/res1(1
 legend(["Using macro mese";"Theoretical value";"Arma identification"])
 xtitle("Spectral power","frequency","spectral estimate")
  ]]></programlisting>
+        <scilab:image localized="true">
+            m = 18;
+            a = [1,-1.3136,1.4401,-1.0919,+0.83527];
+            b = [0.0,0.13137,0.023543,0.10775,0.03516];
+            u = rand(1,1000,'n');
+            z = arsimul(a,b,[0],0,u);
+            
+            [sm,fr]=mese(z,m);
+            
+            function gx=gxx(z,a,b)
+            w  = exp(-%i*2*%pi*z*(0:4))'
+            gx = abs(b*w)^2/(abs(a*w)^2);
+            endfunction
+            
+            res=[];
+            for x=fr
+            res=[ res, gxx(x,a,b)];
+            end
+            
+            [arc,la,lb,sig,resid]=armax(4,4,z,u);
+            res1=[];
+            for x=fr
+            res1=[ res1, gxx(x,la(1),lb(1))];
+            end
+            
+            plot2d([fr;fr;fr]',[20*log10(sm/sm(1));20*log10(res/res(1));20*log10(res1/res1(1))]',[2,1,-1])
+            legend(["Using macro mese";"Theoretical value";"Arma identification"])
+            xtitle("Spectral power","frequency","spectral estimate")
+        </scilab:image>
     </refsection>
 </refentry>
index fe7e47a..fc60980 100644 (file)
         <programlisting role="example"><![CDATA[ 
 s=poly(0,'s')
 h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01))
-h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225)) 
+h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
 [f1,bnds,spl]=calfrq(h1,0.01,1000);
 rf=repfreq(h1,f1);
 plot2d(real(rf)',imag(rf)')
  ]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s')
+            h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01))
+            h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
+            [f1,bnds,spl]=calfrq(h1,0.01,1000);
+            rf=repfreq(h1,f1);
+            plot2d(real(rf)',imag(rf)')
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index 82a9faf..034049a 100644 (file)
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-s=poly(0,'s');rand('seed',0);w=ssrand(1,1,3);w('A')=w('A')-2*eye();
+        <programlisting role="example"><![CDATA[
+s=poly(0,'s');
+rand('seed',0);
+w=ssrand(1,1,3);
+w('A')=w('A')-2*eye();
 t=0:0.05:5;
 //impulse(w) = step (s * w)
-clf(0);xset("window",0);show_window();
 plot2d([t',t'],[(csim('step',t,tf2ss(s)*w))',0*t'])
-clf(1);xset("window",1);show_window();
+]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s');
+            rand('seed',0);
+            w=ssrand(1,1,3);
+            w('A')=w('A')-2*eye();
+            t=0:0.05:5;
+            plot2d([t',t'],[(csim('step',t,tf2ss(s)*w))',0*t'])
+        </scilab:image>
+        
+        <programlisting role="example"><![CDATA[
+s=poly(0,'s');
+rand('seed',0);
+w=ssrand(1,1,3);
+w('A')=w('A')-2*eye();
+t=0:0.05:5;
 plot2d([t',t'],[(csim('impulse',t,w))',0*t'])
+]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s');
+            rand('seed',0);
+            w=ssrand(1,1,3);
+            w('A')=w('A')-2*eye();
+            t=0:0.05:5;
+            plot2d([t',t'],[(csim('impulse',t,w))',0*t'])
+        </scilab:image>
+        <programlisting role="example"><![CDATA[
+s=poly(0,'s');
+rand('seed',0);
+w=ssrand(1,1,3);
+w('A')=w('A')-2*eye();
+t=0:0.05:5;
 //step(w) = impulse (s^-1 * w)
-clf(3);xset("window",3);show_window();
 plot2d([t',t'],[(csim('step',t,w))',0*t'])
-clf(4);xset("window",4);show_window();
+]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s');
+            rand('seed',0);
+            w=ssrand(1,1,3);
+            w('A')=w('A')-2*eye();
+            t=0:0.05:5;
+            //step(w) = impulse (s^-1 * w)
+            plot2d([t',t'],[(csim('step',t,w))',0*t'])
+        </scilab:image>
+        <programlisting role="example"><![CDATA[
+s=poly(0,'s');
+rand('seed',0);
+w=ssrand(1,1,3);
+w('A')=w('A')-2*eye();
+t=0:0.05:5;
 plot2d([t',t'],[(csim('impulse',t,tf2ss(1/s)*w))',0*t'])
-
+]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s');
+            rand('seed',0);
+            w=ssrand(1,1,3);
+            w('A')=w('A')-2*eye();
+            t=0:0.05:5;
+            plot2d([t',t'],[(csim('impulse',t,tf2ss(1/s)*w))',0*t'])
+        </scilab:image>
+        <programlisting role="example"><![CDATA[
+s=poly(0,'s');
+rand('seed',0);
+w=ssrand(1,1,3);
+w('A')=w('A')-2*eye();
+t=0:0.05:5;
 //input defined by a time function
 deff('u=input(t)','u=abs(sin(t))')
 clf();plot2d([t',t'],[(csim(input,t,w))',0*t'])
 ]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s');
+            rand('seed',0);
+            w=ssrand(1,1,3);
+            w('A')=w('A')-2*eye();
+            t=0:0.05:5;
+            deff('u=input(t)','u=abs(sin(t))')
+            clf();plot2d([t',t'],[(csim(input,t,w))',0*t'])
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index a487528..bc9bc78 100644 (file)
@@ -282,9 +282,9 @@ y(k)   = Cx(k) + Du(k),
         <programlisting role="example"><![CDATA[ 
 //generate data from a given linear system
 A = [ 0.5, 0.1,-0.1, 0.2;
-      0.1, 0,  -0.1,-0.1;      
-     -0.4,-0.6,-0.7,-0.1;  
-      0.8, 0,  -0.6,-0.6];      
+      0.1, 0,  -0.1,-0.1;
+     -0.4,-0.6,-0.7,-0.1;
+      0.8, 0,  -0.6,-0.6];
 B = [0.8;0.1;1;-1];
 C = [1 2 -1 0];
 SYS=syslin(0.1,A,B,C);
index e80e6e0..c321a09 100644 (file)
@@ -150,13 +150,40 @@ plot(imprep,'b')
 u=ones(1,20);
 stprep=flts(ones(1,20),tf2ss(h));   //Step response
 plot(stprep,'g')
-
+ ]]></programlisting>
+        <scilab:image>
+            sl=syslin('d',1,1,1);u=1:10;
+            y=flts(u,sl);
+            plot2d(y)
+            [y1,x1]=flts(u(1:5),sl);y2=flts(u(6:10),sl,x1);
+            y-[y1,y2]
+            
+            z=poly(0,'z');
+            D=1+z+z^2; p =degree(D);
+            sl=syslin('d',1,1,1,D);
+            y=flts(u,sl);[y1,x1]=flts(u(1:5),sl);
+            y2=flts(u(5-p+1:10),sl,x1);
+            y-[y1,y2]
+            
+            z=poly(0,'z');
+            h=syslin(0.1,(1-2*z)/(z^2+0.3*z+1))
+            imprep=flts(eye(1,20),tf2ss(h));
+            clf();
+            plot(imprep,'b')
+            u=ones(1,20);
+            stprep=flts(ones(1,20),tf2ss(h));
+            plot(stprep,'g')
+        </scilab:image>
+        <programlisting role="example"><![CDATA[ 
 // Other examples
-A=[1 2 3;0 2 4;0 0 1];B=[1 0;0 0;0 1];C=eye(3,3);Sys=syslin('d',A,B,C);
+A=[1 2 3;0 2 4;0 0 1];
+B=[1 0;0 0;0 1];
+C=eye(3,3);
+Sys=syslin('d',A,B,C);
 H=ss2tf(Sys); u=[1;-1]*(1:10);
 //
 yh=flts(u,H); ys=flts(u,Sys);
-norm(yh-ys,1)    
+norm(yh-ys,1)
 //hot restart
 [ys1,x]=flts(u(:,1:4),Sys);ys2=flts(u(:,5:10),Sys,x);
 norm([ys1,ys2]-ys,1)
index 9bc6c2f..01e9c4d 100644 (file)
@@ -89,11 +89,23 @@ h=syslin('c',-1+%s,3+2*%s+%s^2) //continuous time case
 [g,fr]=g_margin(h)
 [g,fr]=g_margin(h-10)
 nyquist(h-10)
-
+ ]]></programlisting>
+        <scilab:image>
+            h=syslin('c',-1+%s,3+2*%s+%s^2)
+            [g,fr]=g_margin(h)
+            [g,fr]=g_margin(h-10)
+            nyquist(h-10)
+        </scilab:image>
+        <programlisting role="example"><![CDATA[ 
 h = syslin(0.1,0.04798*%z+0.0464,%z^2-1.81*%z+0.9048);//discrete time case
 [g ,fr]=g_margin(h);
 show_margins(h)
  ]]></programlisting>
+        <scilab:image>
+            h = syslin(0.1,0.04798*%z+0.0464,%z^2-1.81*%z+0.9048);
+            [g ,fr]=g_margin(h);
+            show_margins(h)
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index 8437697..1950408 100644 (file)
@@ -38,5 +38,11 @@ x=-5:0.01:35;
 y=feval(x,Noise);
 plot(x,y);
  ]]></programlisting>
+        <scilab:image>
+            noisegen(0.5,30,1.0);
+            x=-5:0.01:35;
+            y=feval(x,Noise);
+            plot(x,y);
+        </scilab:image>
     </refsection>
 </refentry>
index f3af2fb..74fbd5f 100644 (file)
@@ -13,7 +13,7 @@
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="p_margin">
     <refnamediv>
         <refname>p_margin</refname>
-        <refpurpose>phase margin  and associated crossover frequency</refpurpose>
+        <refpurpose>phase margin and associated crossover frequency</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
index 5eecdc8..1fc33ae 100644 (file)
@@ -92,6 +92,18 @@ plot2d(frq',phasemag(rf,'c')');
 scf();
 plot2d(frq',phasemag(rf,'m')');
  ]]></programlisting>
+        <scilab:image>
+            s=poly(0,'s');
+            h=syslin('c',1/((s+5)*(s+10)*(100+6*s+s*s)*(s+.3)));
+            [frq,rf]=repfreq(h,0.1,20,0.005);
+            plot2d(frq',phasemag(rf,'c')');
+        </scilab:image>
+        <scilab:image>
+            s=poly(0,'s');
+            h=syslin('c',1/((s+5)*(s+10)*(100+6*s+s*s)*(s+.3)));
+            [frq,rf]=repfreq(h,0.1,20,0.005);
+            plot2d(frq',phasemag(rf,'m')');
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index e038ce5..e2e8980 100644 (file)
@@ -35,5 +35,9 @@
 u=prbs_a(50,10);
 plot2d2("onn",(1:50)',u',1,"151",' ',[0,-1.5,50,1.5]);
  ]]></programlisting>
+        <scilab:image>
+            u=prbs_a(50,10);
+            plot2d2("onn",(1:50)',u',1,"151",' ',[0,-1.5,50,1.5]);
+        </scilab:image>
     </refsection>
 </refentry>
index 3a42bff..65ba256 100644 (file)
@@ -502,7 +502,12 @@ acscd_1.png=6e599765c5f8d0e189002d51f2d9068a
 acsch_1.png=15259a5eaa158abd0fd70e05b27d69eb
 addcolor_1.png=7e5f272c2700aafbd41da8efd8e9d8eb
 analpf_1.png=49761592911a102d7857d7e457b15f5c
+analyze_1.png=f618685a506715b35493fcc61fe78a25
 arl2_1.png=2aa2b498c2c79a58ef145a5e82349c2b
+arma_en_US_1.png=dc5f992783f4db687e23a65866dac816
+arma_fr_FR_1.png=dc5f992783f4db687e23a65866dac816
+arma_pt_BR_1.png=dc5f992783f4db687e23a65866dac816
+arma_ru_RU_1.png=dc5f992783f4db687e23a65866dac816
 armax_1.png=5fdbed31dc9b8fb80884b5d96fe7b2a2
 asec_1.png=baebf8dc0568c70996c9d3aa9418165d
 asecd_1.png=5dafaa5b46f5ed7d0f80b33a10835429
@@ -555,6 +560,7 @@ bvode_2.png=da98ff003070f72b45a30aa94efd4ffd
 bvode_en_US_1.png=f5839719400ab9f8ae4004c3c7bad4ff
 bvode_fr_FR_1.png=f5839719400ab9f8ae4004c3c7bad4ff
 bvode_pt_BR_1.png=f5839719400ab9f8ae4004c3c7bad4ff
+calfrq_1.png=f4cfd31e6a05d4149c567c01272f96a
 captions_1.png=19ddf03ac04cd2b8ebbed9f218dbaa3e
 cdfbet_1.png=311cb1e4fb872d6f82b2dcafaa5911d1
 cdfbin_1.png=6fd656ebfb423bc5fcf3fdc7e1a82aa8
@@ -595,6 +601,11 @@ cosd_1.png=eb8be1b0523b7acae8c1ef821fdd682f
 csc_1.png=a13e98eda7cbe1284ee48f276b77add7
 csch_1.png=310369792df908182b68dc09625caaca
 cshep2d_1.png=968c99bcf62829dcfe29be5377837624
+csim_1.png=8184fd84b36876d13e1bfe051c711645
+csim_2.png=26554bbec6828a1f5ac20cbb509d38d4
+csim_3.png=2da957a9b0361f04d961e3e7eea3ffb2
+csim_4.png=2795df06343733566b9081791d821f28
+csim_5.png=dcd8f025856358e6a1c98ea49dc7a2c7
 dae_1.png=349c58ef4d90dfd500d1020c00802471
 damp_en_US_1.png=e81873a345f84e42ce2c4f4779d3421d
 damp_fr_FR_1.png=e81873a345f84e42ce2c4f4779d3421d
@@ -644,6 +655,7 @@ fftshift_1.png=6ac2e2db1929ffc261e51b373f204556
 fftshift_2.png=2c9968c3eb3b50c360a2067b30f2a843
 fgrayplot_1.png=37a25f51cb82aa32bde44a32973fe92a
 filt_sinc_1.png=1b2698a55faedf941078a6567db543f9
+flts_1.png=df09481a82788cd69c809c512d4e5689
 fminsearch_en_US_1.png=6cf1eadbc3b230cbc61398d875433316
 fminsearch_fr_FR_1.png=6cf1eadbc3b230cbc61398d875433316
 fminsearch_ja_JP_1.png=6cf1eadbc3b230cbc61398d875433316
@@ -661,6 +673,9 @@ freson_1.png=5c5e94077fc1d13f9ca4655b34692d20
 frfit_1.png=f296c3d571fae9acbb8081ff80805ea7
 frmag_1.png=b3dea97186e64d82c1132ab01bc6c507
 fsfirlin_1.png=55eb22289db1fc4198d44c4283b6fa4a
+fsolve_1.png=f041d1952c7bba0ffbd2e0bf2452f777
+g_margin_1.png=2ba96a2bfc79a5a5ecb7767df01fc06a
+g_margin_2.png=7761478f6d46df3384ca8676f9a5b0c4
 gainplot_en_US_1.png=d213684f7b1a3ed02b63da2b67d4ac33
 gainplot_fr_FR_1.png=d213684f7b1a3ed02b63da2b67d4ac33
 gainplot_ja_JP_1.png=d213684f7b1a3ed02b63da2b67d4ac33
@@ -743,6 +758,7 @@ interp_2.png=7cd179b04b37e191b2e7cf21ba64dbe
 interpln_1.png=bd4566ba45e721c3a1d47695a7166240
 isoview_1.png=9c1be224ce4e09164c22b16aae00f70c
 jetcolormap_1.png=1e12eded706f4c2d3dc1c34c389ebd2d
+karmarkar_1.png=626ad2a9c40850305ba69410b5c17794
 kpure_1.png=a4531e4182cb8da893aaa2a449b3f667
 kpure_2.png=b55796f4bc301176449663934c11e885
 leastsq_1.png=960379ff4b2b8d2fa16b2cd699fc99c8
@@ -774,6 +790,7 @@ mesh_1.png=a17150f02dbe853486f73801c9afcd11
 meshgrid_1.png=8e04fd2c2709e1dd252aa22404c6a0b2
 milk_drop_1.png=62d56a06fafd85b51c324f0870e45e4e
 move_1.png=c4599a8693c9c099ac9c7f1a5dee3e91
+mrfit_1.png=d8d3736f01fc8fc707c53508cddd575f
 ndgrid_1.png=3ce3028731d1b6677c0b30ae6d59f68e
 ndgrid_2.png=4ef02608494aec0d492a68853b3bec1b
 ndgrid_ru_RU_2.png=de964c7f8e0168a8c01b85f494329120
@@ -787,6 +804,7 @@ nicholschart_pt_BR_1.png=4123c1234e85121879226ae325b64513
 nicholschart_pt_BR_2.png=dbcbbe43849818e9182d159e28d0673a
 nicholschart_ru_RU_1.png=4123c1234e85121879226ae325b64513
 nicholschart_ru_RU_2.png=dbcbbe43849818e9182d159e28d0673a
+noisegen_1.png=15b3eb16f42f38ebb21418b01ea35fcd
 nyquist_en_US_1.png=26826b399f567100ed0118a54c896b5a
 nyquist_en_US_2.png=483907f07d0871646b976ed4c6db1ca2
 nyquist_fr_FR_1.png=26826b399f567100ed0118a54c896b5a
@@ -804,9 +822,18 @@ odedc_3.png=3d3d5ac8d7a133e26039e93609be5cd0
 odeoptions_1.png=12573ee6be852c456cf883e79dbea5f6
 optim_1.png=a2d9b2e879963549e64862118514b4c8
 optim_sa_1.png=b2a6a1ff9fec247aba2e606e45387997
+ordmmd_en_US_1.png=8933e76e2da6873432d63f105756b6eb
+ordmmd_fr_FR_1.png=8933e76e2da6873432d63f105756b6eb
+ordmmd_pt_BR_1.png=8933e76e2da6873432d63f105756b6eb
+ordmmd_ru_RU_1.png=8933e76e2da6873432d63f105756b6eb
 orthProj_1.png=dd3a07c86d54c910fc4f253c576f1532
 param3d1_1.png=e95387c52bc0f1f2bfc674b62c9bb537
 param3d_1.png=9160991c6c607c8531dff4fe9096a3e2
+percentasn_1.png=e1c50f399cd6d7471e3fdcd6ac1ac9a8
+percentsn_1.png=64ebf9395ff1337fe97136c4b989e264
+percentsn_2.png=4eb98a9c280acc1f705fed25faa64162
+phasemag_1.png=461defdcbb7fea7738cb6657571edc15
+phasemag_2.png=b937bb324ac0206d43d82aed0f6ccd16
 phaseplot_en_US_1.png=11314c3417156a7f80611d56e512dff
 phaseplot_fr_FR_1.png=11314c3417156a7f80611d56e512dff
 phaseplot_ja_JP_1.png=11314c3417156a7f80611d56e512dff
@@ -871,6 +898,7 @@ polarplot_3.png=f11a25552a72c4454001c29b97073379
 polarplot_4.png=2058a8fffa31fcd94f3642c618a133a2
 polyline_properties_1.png=5458d2f7efc2756fbb364a80e066588f
 polyline_properties_2.png=3349e39fe563e09fc488e9ed03c6e4ae
+prbs_a_1.png=346ac375b06faf45f7fe67472b413509
 rainbowcolormap_1.png=68be57c62080633d0e67a91389f5ecd8
 remezb_1.png=17a8eb044482a1871bede91c36eddf0f
 replot_1.png=d9ab231632d9298a6f87718df49ce8ae
@@ -929,6 +957,7 @@ title_1.png=43bf4550c7c9b2de76ddd4eddb479b2b
 titlepage_1.png=917be99c9df0964672daa45c284de115
 titlepage_fr_FR_1.png=f76157d643854ea8716178823dd2680e
 trans_1.png=a5ddde2263a28ffaba21606bcfc2232
+wavread_1.png=7f4fa7fd3215e86c6beac1b99ed5c107
 whitecolormap_1.png=5c902a640b651c5ec7bcfdeba604e3c0
 wiener_1.png=7cf1c15abff7e9f0c2ca9bd45882a5c
 wigner_1.png=f775cca252e20dd1029d24f5cc6f430a
diff --git a/scilab/modules/helptools/images/analyze_1.png b/scilab/modules/helptools/images/analyze_1.png
new file mode 100644 (file)
index 0000000..6884734
Binary files /dev/null and b/scilab/modules/helptools/images/analyze_1.png differ
diff --git a/scilab/modules/helptools/images/arma_en_US_1.png b/scilab/modules/helptools/images/arma_en_US_1.png
new file mode 100644 (file)
index 0000000..13a7d24
Binary files /dev/null and b/scilab/modules/helptools/images/arma_en_US_1.png differ
diff --git a/scilab/modules/helptools/images/arma_fr_FR_1.png b/scilab/modules/helptools/images/arma_fr_FR_1.png
new file mode 100644 (file)
index 0000000..13a7d24
Binary files /dev/null and b/scilab/modules/helptools/images/arma_fr_FR_1.png differ
diff --git a/scilab/modules/helptools/images/arma_pt_BR_1.png b/scilab/modules/helptools/images/arma_pt_BR_1.png
new file mode 100644 (file)
index 0000000..13a7d24
Binary files /dev/null and b/scilab/modules/helptools/images/arma_pt_BR_1.png differ
diff --git a/scilab/modules/helptools/images/arma_ru_RU_1.png b/scilab/modules/helptools/images/arma_ru_RU_1.png
new file mode 100644 (file)
index 0000000..13a7d24
Binary files /dev/null and b/scilab/modules/helptools/images/arma_ru_RU_1.png differ
diff --git a/scilab/modules/helptools/images/calfrq_1.png b/scilab/modules/helptools/images/calfrq_1.png
new file mode 100644 (file)
index 0000000..e2e0afb
Binary files /dev/null and b/scilab/modules/helptools/images/calfrq_1.png differ
diff --git a/scilab/modules/helptools/images/csim_1.png b/scilab/modules/helptools/images/csim_1.png
new file mode 100644 (file)
index 0000000..0dc6067
Binary files /dev/null and b/scilab/modules/helptools/images/csim_1.png differ
diff --git a/scilab/modules/helptools/images/csim_2.png b/scilab/modules/helptools/images/csim_2.png
new file mode 100644 (file)
index 0000000..0389cf0
Binary files /dev/null and b/scilab/modules/helptools/images/csim_2.png differ
diff --git a/scilab/modules/helptools/images/csim_3.png b/scilab/modules/helptools/images/csim_3.png
new file mode 100644 (file)
index 0000000..9556047
Binary files /dev/null and b/scilab/modules/helptools/images/csim_3.png differ
diff --git a/scilab/modules/helptools/images/csim_4.png b/scilab/modules/helptools/images/csim_4.png
new file mode 100644 (file)
index 0000000..9556047
Binary files /dev/null and b/scilab/modules/helptools/images/csim_4.png differ
diff --git a/scilab/modules/helptools/images/csim_5.png b/scilab/modules/helptools/images/csim_5.png
new file mode 100644 (file)
index 0000000..6fbd70b
Binary files /dev/null and b/scilab/modules/helptools/images/csim_5.png differ
diff --git a/scilab/modules/helptools/images/flts_1.png b/scilab/modules/helptools/images/flts_1.png
new file mode 100644 (file)
index 0000000..d0aecea
Binary files /dev/null and b/scilab/modules/helptools/images/flts_1.png differ
diff --git a/scilab/modules/helptools/images/fsolve_1.png b/scilab/modules/helptools/images/fsolve_1.png
new file mode 100644 (file)
index 0000000..62eb0e1
Binary files /dev/null and b/scilab/modules/helptools/images/fsolve_1.png differ
diff --git a/scilab/modules/helptools/images/g_margin_1.png b/scilab/modules/helptools/images/g_margin_1.png
new file mode 100644 (file)
index 0000000..00a5c35
Binary files /dev/null and b/scilab/modules/helptools/images/g_margin_1.png differ
diff --git a/scilab/modules/helptools/images/g_margin_2.png b/scilab/modules/helptools/images/g_margin_2.png
new file mode 100644 (file)
index 0000000..566cb6a
Binary files /dev/null and b/scilab/modules/helptools/images/g_margin_2.png differ
index 7578c6b..90d1b56 100644 (file)
Binary files a/scilab/modules/helptools/images/hist3d_3.png and b/scilab/modules/helptools/images/hist3d_3.png differ
index dc5c6cf..bedc5d4 100644 (file)
Binary files a/scilab/modules/helptools/images/hist3d_4.png and b/scilab/modules/helptools/images/hist3d_4.png differ
index 53cd45f..cd14ddf 100644 (file)
Binary files a/scilab/modules/helptools/images/hist3d_5.png and b/scilab/modules/helptools/images/hist3d_5.png differ
diff --git a/scilab/modules/helptools/images/karmarkar_1.png b/scilab/modules/helptools/images/karmarkar_1.png
new file mode 100644 (file)
index 0000000..57d9478
Binary files /dev/null and b/scilab/modules/helptools/images/karmarkar_1.png differ
diff --git a/scilab/modules/helptools/images/mrfit_1.png b/scilab/modules/helptools/images/mrfit_1.png
new file mode 100644 (file)
index 0000000..805f9a4
Binary files /dev/null and b/scilab/modules/helptools/images/mrfit_1.png differ
diff --git a/scilab/modules/helptools/images/noisegen_1.png b/scilab/modules/helptools/images/noisegen_1.png
new file mode 100644 (file)
index 0000000..5014b61
Binary files /dev/null and b/scilab/modules/helptools/images/noisegen_1.png differ
diff --git a/scilab/modules/helptools/images/ordmmd_en_US_1.png b/scilab/modules/helptools/images/ordmmd_en_US_1.png
new file mode 100644 (file)
index 0000000..61e64c8
Binary files /dev/null and b/scilab/modules/helptools/images/ordmmd_en_US_1.png differ
diff --git a/scilab/modules/helptools/images/ordmmd_fr_FR_1.png b/scilab/modules/helptools/images/ordmmd_fr_FR_1.png
new file mode 100644 (file)
index 0000000..61e64c8
Binary files /dev/null and b/scilab/modules/helptools/images/ordmmd_fr_FR_1.png differ
diff --git a/scilab/modules/helptools/images/ordmmd_pt_BR_1.png b/scilab/modules/helptools/images/ordmmd_pt_BR_1.png
new file mode 100644 (file)
index 0000000..61e64c8
Binary files /dev/null and b/scilab/modules/helptools/images/ordmmd_pt_BR_1.png differ
diff --git a/scilab/modules/helptools/images/ordmmd_ru_RU_1.png b/scilab/modules/helptools/images/ordmmd_ru_RU_1.png
new file mode 100644 (file)
index 0000000..61e64c8
Binary files /dev/null and b/scilab/modules/helptools/images/ordmmd_ru_RU_1.png differ
diff --git a/scilab/modules/helptools/images/percentasn_1.png b/scilab/modules/helptools/images/percentasn_1.png
new file mode 100644 (file)
index 0000000..e34ddbb
Binary files /dev/null and b/scilab/modules/helptools/images/percentasn_1.png differ
diff --git a/scilab/modules/helptools/images/percentsn_1.png b/scilab/modules/helptools/images/percentsn_1.png
new file mode 100644 (file)
index 0000000..1cda926
Binary files /dev/null and b/scilab/modules/helptools/images/percentsn_1.png differ
diff --git a/scilab/modules/helptools/images/percentsn_2.png b/scilab/modules/helptools/images/percentsn_2.png
new file mode 100644 (file)
index 0000000..585960d
Binary files /dev/null and b/scilab/modules/helptools/images/percentsn_2.png differ
diff --git a/scilab/modules/helptools/images/phasemag_1.png b/scilab/modules/helptools/images/phasemag_1.png
new file mode 100644 (file)
index 0000000..81d37be
Binary files /dev/null and b/scilab/modules/helptools/images/phasemag_1.png differ
diff --git a/scilab/modules/helptools/images/phasemag_2.png b/scilab/modules/helptools/images/phasemag_2.png
new file mode 100644 (file)
index 0000000..e5f52dc
Binary files /dev/null and b/scilab/modules/helptools/images/phasemag_2.png differ
diff --git a/scilab/modules/helptools/images/prbs_a_1.png b/scilab/modules/helptools/images/prbs_a_1.png
new file mode 100644 (file)
index 0000000..a4c9dc9
Binary files /dev/null and b/scilab/modules/helptools/images/prbs_a_1.png differ
diff --git a/scilab/modules/helptools/images/wavread_1.png b/scilab/modules/helptools/images/wavread_1.png
new file mode 100644 (file)
index 0000000..17eb8da
Binary files /dev/null and b/scilab/modules/helptools/images/wavread_1.png differ
index 6272e64..ab9658e 100644 (file)
@@ -214,6 +214,24 @@ plot(x,feuler(x))
 a=gca();
 a.grid=[5 5];
  ]]></programlisting>
+        <scilab:image>
+            function F=feuler(x,r)
+            F=x-r-dt*(x^2-x^3);
+            endfunction
+            function J=dFdx(x)
+            J=1-dt*(2*x-3*x^2);
+            endfunction
+            
+            r = 0.04257794928862307 ;
+            dt = 10;
+            
+            [x,v,info]=fsolve(r,list(feuler,r),dFdx);
+            [x,v,info]=fsolve(1,list(feuler,r),dFdx);
+            x=linspace(0,1,1000);
+            plot(x,feuler(x))
+            a=gca();
+            a.grid=[5 5];
+        </scilab:image>
         <para>So, each time you use fsolve, be sure to check the termination indicator and the residual value to see if fsolve has converged.</para>
     </refsection>
     <refsection role="see also">
index e9281c7..3ab8ba8 100644 (file)
@@ -702,7 +702,24 @@ endfunction
   xopt=karmarkar([],[],c,[],[],[],[],myoutputfunction,A,b);
   // Plot the starting and ending points
   plot(xopt(1),xopt(2),"k*")
-]]></programlisting>
+  ]]></programlisting>
+        <scilab:image>
+            function stop = myoutputfunction ( xopt , optimValues , state )
+            plot(xopt(1),xopt(2),"bo")
+            stop = %f
+            endfunction
+            
+            n=11;
+            A = [2*linspace(0,1,n)',ones(n,1)];
+            b = 1 + linspace(0,1,n)'.^2;
+            c=[-1;-1];
+            for i = 1 : n
+            plot(linspace(0,1,100),b(i)-A(i,1)*linspace(0,1,100),"b-")
+            end
+            xopt=karmarkar([],[],c,[],[],[],[],myoutputfunction,A,b);
+            plot(xopt(1),xopt(2),"k*")
+        </scilab:image>
+        
         <para>
             The previous script produces the following output and creates a graphics.
         </para>
@@ -736,10 +753,10 @@ Iter# 69: done (x*), f=-1.250e+000, x=[5.005e-001 7.495e-001], gap=7.035e-006
     <refsection>
         <title>Configuring the scaling factor</title>
         <para>
-           In some cases, the default value of the scaling factor <literal>gam</literal>
-           does not make the algorithm convergent. To make it converge, we may reduce the
-           value of <literal>gam</literal>. The next script shows two results: First with
-           <literal>gam=0.5</literal> and second with <literal>gam=0.3</literal>.
+            In some cases, the default value of the scaling factor <literal>gam</literal>
+            does not make the algorithm convergent. To make it converge, we may reduce the
+            value of <literal>gam</literal>. The next script shows two results: First with
+            <literal>gam=0.5</literal> and second with <literal>gam=0.3</literal>.
         </para>
         <programlisting role="example"><![CDATA[
     A = [-0.1548,-0.0909,-0.0014,-0.0001;0.0989,-0.0884,0.0004,0];
@@ -753,7 +770,7 @@ Iter# 69: done (x*), f=-1.250e+000, x=[5.005e-001 7.495e-001], gap=7.035e-006
     [xopt,fopt,exitflag,iter,yopt]=karmarkar([],[],C,[],[],gam,[],[],A,B,lb)
 ]]></programlisting>
         <para>
-           The previous script produces the following output.
+            The previous script produces the following output.
         </para>
         <screen><![CDATA[
 -->[xopt,fopt,exitflag,iter,yopt]=karmarkar([],[],C,[],[],[],[],[],A,B,lb)
index 73200eb..a1fb505 100644 (file)
@@ -67,7 +67,8 @@
     <refsection>
         <title>Examples</title>
         <programlisting role="example"><![CDATA[ 
-w=0.01:0.01:2;s=poly(0,'s');
+w=0.01:0.01:2;
+s=poly(0,'s');
 G=syslin('c',2*(s^2+0.1*s+2),(s^2+s+1)*(s^2+0.3*s+1)); // syslin('c',Num,Den);
 fresp=repfreq(G,w);
 mag=abs(fresp);
@@ -75,6 +76,16 @@ Gid=mrfit(w,mag,4);
 frespfit=repfreq(Gid,w);
 plot2d([w',w'],[mag(:),abs(frespfit(:))])
  ]]></programlisting>
+        <scilab:image>
+            w=0.01:0.01:2;
+            s=poly(0,'s');
+            G=syslin('c',2*(s^2+0.1*s+2),(s^2+s+1)*(s^2+0.3*s+1));
+            fresp=repfreq(G,w);
+            mag=abs(fresp);
+            Gid=mrfit(w,mag,4);
+            frespfit=repfreq(Gid,w);
+            plot2d([w',w'],[mag(:),abs(frespfit(:))])
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index c105310..53dcece 100644 (file)
@@ -13,7 +13,7 @@
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="analyze">
     <refnamediv>
         <refname>analyze</refname>
-        <refpurpose>frequency plot of a sound  signal</refpurpose>
+        <refpurpose>frequency plot of a sound signal</refpurpose>
     </refnamediv>
     <refsection>
         <title>Arguments</title>
@@ -46,5 +46,12 @@ s=sin(440*t)+sin(220*t)/2+sin(880*t)/2;
 s(nc/2:nc)=sin(330*t(nc/2:nc));
 analyze(s);
  ]]></programlisting>
+        <scilab:image>
+            t=soundsec(0.5);
+            s=sin(440*t)+sin(220*t)/2+sin(880*t)/2;
+            [nr,nc]=size(t);
+            s(nc/2:nc)=sin(330*t(nc/2:nc));
+            analyze(s);
+        </scilab:image>
     </refsection>
 </refentry>
index 03f7a7c..d627002 100644 (file)
@@ -101,6 +101,16 @@ subplot(2,1,2)
 plot2d(y(2,:)) // second channel
 y=wavread("SCI/modules/sound/demos/chimes.wav",[1 5]) //the first five samples
  ]]></programlisting>
+        <scilab:image>
+            wavread("SCI/modules/sound/demos/chimes.wav","size")
+            [y,Fs,bits]=wavread("SCI/modules/sound/demos/chimes.wav");
+            subplot(2,1,1)
+            plot2d(y(1,:))
+            subplot(2,1,2)
+            plot2d(y(2,:))
+            y=wavread("SCI/modules/sound/demos/chimes.wav",[1 5])
+        </scilab:image>
+        
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index 983256f..4b25a33 100644 (file)
@@ -167,6 +167,32 @@ subplot(2,1,2);
 PlotSparse(U,"x");
 xtitle("Sparsity pattern of U, such that P''*A*P=U''*U");
  ]]></programlisting>
+        <scilab:image localized="true">
+            A = [
+            4. 1. 2. 0.5 2.
+            1. 0.5 0. 0. 0.
+            2. 0. 3. 0. 0.
+            0.5 0. 0. 5./8. 0.
+            2. 0. 0. 0. 16.
+            ];
+            A = sparse(A);
+            U = sparse(chol(full(A)));
+            scf();
+            subplot(2,1,1);
+            PlotSparse(U,"x");
+            xtitle("Sparsity pattern of U, such that A=U''*U");
+            [xadj,iadj,val]=sp2adj(A);
+            n = size(A,"r");
+            [perm,invp,nofsub]=ordmmd(xadj,iadj,n);
+            P=spzeros(n,n);
+            for i=1:n
+            P(perm(i),i)=1;
+            end
+            U = sparse(chol(full(P'*A*P)));
+            subplot(2,1,2);
+            PlotSparse(U,"x");
+            xtitle("Sparsity pattern of U, such that P''*A*P=U''*U");
+        </scilab:image>
     </refsection>
     <refsection>
         <title>Implementation notes</title>
index 10d7410..bf2c43c 100644 (file)
     <refsection>
         <title>Examples</title>
         <programlisting role="example"><![CDATA[ 
-m=0.8;z=%asn(1/sqrt(m),m);K=real(z);Ktilde=imag(z);
+m=0.8;
+z=%asn(1/sqrt(m),m);
+K=real(z);
+Ktilde=imag(z);
 x2max=1/sqrt(m);
-x1=0:0.05:1;x2=1:((x2max-1)/20):x2max;x3=x2max:0.05:10;
+x1=0:0.05:1;
+x2=1:((x2max-1)/20):x2max;
+x3=x2max:0.05:10;
 x=[x1,x2,x3];
 y=%asn(x,m);
 rect=[0,-Ktilde,1.1*K,2*Ktilde];
@@ -58,5 +63,19 @@ plot2d(real(y)',imag(y)',1,'011',' ',rect)
 deff('y=f(t)','y=1/sqrt((1-t^2)*(1-m*t^2))');
 intg(0,0.9,f)-%asn(0.9,m)  //Works for real case only!
  ]]></programlisting>
+        <scilab:image>
+            m=0.8;
+            z=%asn(1/sqrt(m),m);
+            K=real(z);
+            Ktilde=imag(z);
+            x2max=1/sqrt(m);
+            x1=0:0.05:1;
+            x2=1:((x2max-1)/20):x2max;
+            x3=x2max:0.05:10;
+            x=[x1,x2,x3];
+            y=%asn(x,m);
+            rect=[0,-Ktilde,1.1*K,2*Ktilde];
+            plot2d(real(y)',imag(y)',1,'011',' ',rect)
+        </scilab:image>
     </refsection>
 </refentry>
index 310f104..7e3b238 100644 (file)
@@ -2,7 +2,7 @@
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="percentsn">
     <refnamediv>
         <refname>%sn</refname>
-        <refpurpose>Jacobi 's elliptic function</refpurpose>
+        <refpurpose>Jacobi's elliptic function</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 m=0.36;
 K=%k(m);
 P=4*K; //Real period
 real_val=0:(P/50):P;
 plot(real_val,real(%sn(real_val,m)))
+ ]]></programlisting>
+        <scilab:image>
+            m=0.36;
+            K=%k(m);
+            P=4*K;
+            real_val=0:(P/50):P;
+            plot(real_val,real(%sn(real_val,m)))
+        </scilab:image>
+        <programlisting role="example"><![CDATA[
 clf();
+m=0.36;
 KK=%k(1-m);
 Ip=2*KK;
 ima_val1=0:(Ip/50):KK-0.001;
 ima_val2=(KK+0.05):(Ip/25):(Ip+KK);
-z1=%sn(%i*ima_val1,m);z2=%sn(%i*ima_val2,m);
+z1=%sn(%i*ima_val1,m);
+z2=%sn(%i*ima_val2,m);
 plot2d([ima_val1',ima_val2'],[imag(z1)',imag(z2)']);
 xgrid(3)
  ]]></programlisting>
+        <scilab:image>
+            m=0.36;
+            KK=%k(1-m);
+            Ip=2*KK;
+            ima_val1=0:(Ip/50):KK-0.001;
+            ima_val2=(KK+0.05):(Ip/25):(Ip+KK);
+            z1=%sn(%i*ima_val1,m);
+            z2=%sn(%i*ima_val2,m);
+            plot2d([ima_val1',ima_val2'],[imag(z1)',imag(z2)']);
+            xgrid(3)
+        </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index 182964d..5c18927 100644 (file)
@@ -2,7 +2,7 @@
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="umf_luget">
     <refnamediv>
         <refname>umf_luget</refname>
-        <refpurpose>retrieve lu factors at the scilab level  </refpurpose>
+        <refpurpose>retrieve lu factors at the Scilab level</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
@@ -40,8 +40,8 @@
     <refsection>
         <title>Description</title>
         <para>
-            This function  may be used if you want  to plot  the sparse
-            pattern  of the lu factors (or if you  code something which
+            This function may be used if you want to plot the sparse
+            pattern of the lu factors (or if you code something which
             use the lu factors). The factorization provided by umfpack is
             of the form:
         </para>