From b.demassy at orange.fr Sun Aug 3 19:07:55 2008 From: b.demassy at orange.fr (Benoit ROBERT DE MASSY) Date: Sun, 3 Aug 2008 19:07:55 +0200 (CEST) Subject: download scilab software Message-ID: <16711954.964141217783275424.JavaMail.www@wwinf2634> Bonjour, j'aimerais savoir comment t?l?charger le logiciel SCILAB. (le site et la proc?dure) j'ai Windows XP sur ma machine. Merci Beno?t de Massy -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.leroux at stage.cnes.fr Tue Aug 5 13:56:50 2008 From: cyril.leroux at stage.cnes.fr (LeRoux Cyril) Date: Tue, 5 Aug 2008 13:56:50 +0200 Subject: [scilab-Users] download scilab software Message-ID: <092785B790DCD043BA45401EDA43D9B50304C40B@cst-xch-003.cnesnet.ad.cnes.fr> You can download Scilab here : http://www.scilab.org/ Then you just need to launch "scilab-4.1.2.exe" and follow the instructions for installation. Le site o? vous pouvez t?l?charger Scilab est http://www.scilab.org/ Il suffit ensuite de lancer l'ex?cutable "scilab-4.1.2.exe" et de suivre les instructions. Cyril Le Roux -----Message d'origine----- De : Benoit ROBERT DE MASSY [mailto:b.demassy at orange.fr] Envoy? : dimanche 3 ao?t 2008 19:08 ? : users at lists.scilab.org Objet : [scilab-Users] download scilab software Bonjour, j'aimerais savoir comment t?l?charger le logiciel SCILAB. (le site et la proc?dure) j'ai Windows XP sur ma machine. Merci Beno?t de Massy -------------- next part -------------- An HTML attachment was scrubbed... URL: From mddemers at hotmail.com Tue Aug 5 14:51:39 2008 From: mddemers at hotmail.com (Caecos) Date: Tue, 5 Aug 2008 08:51:39 -0400 Subject: [scilab-Users] RE : [scilab-Users] download scilab software In-Reply-To: <092785B790DCD043BA45401EDA43D9B50304C40B@cst-xch-003.cnesnet.ad.cnes.fr> References: <092785B790DCD043BA45401EDA43D9B50304C40B@cst-xch-003.cnesnet.ad.cnes.fr> Message-ID: MessagePour la version Beta...comment fait-on? Devons-nous installer les 3 ex?cutables dans l'ordre o? ils se pr?sentent (Scilab, FFTW, Maths Kernel)... Merci From: LeRoux Cyril Sent: Tuesday, August 05, 2008 7:56 AM To: users at lists.scilab.org Subject: [scilab-Users] RE : [scilab-Users] download scilab software You can download Scilab here : http://www.scilab.org/ Then you just need to launch "scilab-4.1.2.exe" and follow the instructions for installation. Le site o? vous pouvez t?l?charger Scilab est http://www.scilab.org/ Il suffit ensuite de lancer l'ex?cutable "scilab-4.1.2.exe" et de suivre les instructions. Cyril Le Roux -----Message d'origine----- De : Benoit ROBERT DE MASSY [mailto:b.demassy at orange.fr] Envoy? : dimanche 3 ao?t 2008 19:08 ? : users at lists.scilab.org Objet : [scilab-Users] download scilab software Bonjour, j'aimerais savoir comment t?l?charger le logiciel SCILAB. (le site et la proc?dure) j'ai Windows XP sur ma machine. Merci Beno?t de Massy -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Tue Aug 5 15:09:22 2008 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 5 Aug 2008 15:09:22 +0200 Subject: [scilab-Users] RE : [scilab-Users] download scilab software In-Reply-To: References: <092785B790DCD043BA45401EDA43D9B50304C40B@cst-xch-003.cnesnet.ad.cnes.fr> Message-ID: <003d01c8f6fc$7a30a920$6e91fb60$@cornet@scilab.org> Hi, First , you need to install Scilab. After FFTW and Intel Math kernel for scilab add-ons are optional. If you want to use FFTW then you need to install ?FFTW for scilab? If you want to replace atlas library by Intel Math Kernel then you need to install ?Intel Math kernel for scilab? Best Regards Allan CORNET De : Caecos [mailto:mddemers at hotmail.com] Envoy? : mardi 5 ao?t 2008 14:52 ? : users at lists.scilab.org Objet : Re: [scilab-Users] RE : [scilab-Users] download scilab software Pour la version Beta...comment fait-on? Devons-nous installer les 3 ex?cutables dans l'ordre o? ils se pr?sentent (Scilab, FFTW, Maths Kernel)... Merci From: LeRoux Cyril Sent: Tuesday, August 05, 2008 7:56 AM To: users at lists.scilab.org Subject: [scilab-Users] RE : [scilab-Users] download scilab software You can download Scilab here : http://www.scilab.org/ Then you just need to launch "scilab-4.1.2.exe" and follow the instructions for installation. Le site o? vous pouvez t?l?charger Scilab est http://www.scilab.org/ Il suffit ensuite de lancer l'ex?cutable "scilab-4.1.2.exe" et de suivre les instructions. Cyril Le Roux -----Message d'origine----- De : Benoit ROBERT DE MASSY [mailto:b.demassy at orange.fr] Envoy? : dimanche 3 ao?t 2008 19:08 ? : users at lists.scilab.org Objet : [scilab-Users] download scilab software Bonjour, j'aimerais savoir comment t?l?charger le logiciel SCILAB. (le site et la proc?dure) j'ai Windows XP sur ma machine. Merci Beno?t de Massy -------------- next part -------------- An HTML attachment was scrubbed... URL: From arviandy at yahoo.com Wed Aug 6 01:47:15 2008 From: arviandy at yahoo.com (arviandy arviandy) Date: Tue, 5 Aug 2008 16:47:15 -0700 (PDT) Subject: help me (how to make a plot of system) In-Reply-To: <488FFA34.1060401@ansto.gov.au> Message-ID: <896598.14681.qm@web63704.mail.re1.yahoo.com> Dear,guys Can you help me how to make a plot of system with Scilab if I have the system like this sys= 0.4 / (z - 0.9)?? ---> in matlab to produce this, I write : sys=tf(0.4,[1 -0.9],1); step(sys) thank you Arviandy -------------- next part -------------- An HTML attachment was scrubbed... URL: From arviandy at yahoo.com Wed Aug 6 01:52:51 2008 From: arviandy at yahoo.com (arviandy arviandy) Date: Tue, 5 Aug 2008 16:52:51 -0700 (PDT) Subject: [scilab-Users] help me (how to make a plot of system) In-Reply-To: <896598.14681.qm@web63704.mail.re1.yahoo.com> Message-ID: <642429.38845.qm@web63711.mail.re1.yahoo.com> Sorry , what I mean is how to make a plot for step response. Thank you Arviandy --- On Wed, 8/6/08, arviandy arviandy wrote: From: arviandy arviandy Subject: [scilab-Users] help me (how to make a plot of system) To: users at lists.scilab.org Date: Wednesday, August 6, 2008, 6:47 AM Dear,guys Can you help me how to make a plot of system with Scilab if I have the system like this sys= 0.4 / (z - 0.9)?? ---> in matlab to produce this, I write : sys=tf(0.4,[1 -0.9],1); step(sys) thank you Arviandy -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at thesporngroup.com Thu Aug 7 18:50:32 2008 From: marc at thesporngroup.com (marc antzis) Date: Thu, 7 Aug 2008 12:50:32 -0400 Subject: Fraclab Installation issues Message-ID: <001201c8f8ad$b562f090$fca8a8c0@sporndomain> Can anybody give me some help? scilab 4.1.2 Fraclib in C:\fraclib second argument has wrong size??? Error and code included Thanks -->exec C:\fraclab\builder.sce -->mode(-1) !--error 10000 second argument has wrong size at line 17 of function ilib_gen_Make called by : makename=ilib_gen_Make(\'libfraclab\',files,[],path+\'routines/Makefile\',%f ) line 104 of exec file called by : exec C:\\fraclab\\builder.sce builder.sce mode(-1) path=get_file_path('builder.sce') if path=='.' then path='./',end files = [ 'C-LAB_Interf' 'FRACLAB_compat' 'MFAM_concave_hull' 'MFAM_density' 'MFAM_kernel' 'MFAM_law' 'MFAM_legendre' 'MFAM_lepskii' 'MFAM_measure' 'MFAM_misc' 'MFAM_oscillation' 'MFAM_random' 'MFAM_regression' 'MFAM_stats' 'MFAM_tree' 'CWT1D_Convol' 'CWT1D_DefWavelet' 'CWT1D_WTransform' 'CWT1D_Wavelet' 'GIFS_util' 'GIFS_alphacoefsigne' 'GIFS_triangle2triangle' 'MFAS_binomial' 'MFAS_multinomial' 'MFAS_multinomial_2d' 'MFAS_lognormal' 'MFAS_spectrum' 'gif' 'gifcomp' 'gifdecomp' 'gifrd' 'gifwr' 'quantize' 'WT_arbre' 'WT_filters' 'WT_mem' 'WT_wavelet_transform' 'MFAG_continuous' 'MFAG_hoelder' 'MFAG_misc' 'WT2D_filters' 'WT2D_mem' 'WT2D_arbre' 'WT2D_wavelet_transform' 'MFAL_discrete' 'MFAL_partition' 'MFAL_reyni' 'sim_stable' 'McCulloch' 'Koutrouvelis' 'stable_sm' 'stable_test' 'stable_cov' 'HOLDER2D_meascalc' 'WSAF_util' 'WSAF_modelise' 'LAB_beep' 'LAB_bbch' 'LAB_linearlt' 'LAB_lepskiiap' 'LAB_monolr' 'LAB_cwt' 'LAB_alphagifs' 'LAB_sgifs' 'LAB_prescalpha' 'LAB_fif' 'LAB_binom' 'LAB_sbinom' 'LAB_multim1d' 'LAB_multim2d' 'LAB_smultim1d' 'LAB_smultim2d' 'LAB_readgif' 'LAB_FWT' 'LAB_IWT' 'LAB_WTDwnHi' 'LAB_WTDwnLo' 'LAB_fch1d' 'LAB_fcfg1d' 'LAB_mch1d' 'LAB_mcfg1d' 'LAB_cfg1d' 'LAB_FWT2D' 'LAB_IWT2D' 'LAB_mdzq1d' 'LAB_mdzq2d' 'LAB_reynitq' 'LAB_mdfl1d' 'LAB_sim_stable' 'LAB_McCulloch' 'LAB_Koutrouvelis' 'LAB_stable_sm' 'LAB_stable_test' 'LAB_stable_cov' 'LAB_holder2d' 'LAB_gifseg' 'LAB_wave2gifs' 'LAB_gifs2wave' 'Interf_fraclab']; makename=ilib_gen_Make('libfraclab',files,[],path+'routines/Makefile',%f) makename=strsubst(makename,'.mak','') libn=ilib_compile('libfraclab',makename) genlib('fraclablib',path+'macros') funs=["beep" "bbch" "linearlt" "lepskiiap" "monolr" "cwt" "alphagifs" "sgifs" "prescalpha" "fif" "binom" "sbinom" "multim1d" "multim2d" "smultim1d" "smultim2d" "readgif" "FWT" "IWT" "WTDwnHi" "WTDwnLo" "fch1d" "fcfg1d" "mch1d" "mcfg1d" "cfg1d" "FWT2D" "IWT2D" "mdzq1d" "mdzq2d" "reynitq" "mdfl1d" "sim_stable" "McCulloch" "Koutrouvelis" "stable_sm" "stable_test" "stable_cov" "holder2d" "gifseg" "wave2gifs" "gifs2wave"] name='fraclab' fd=mopen(path+'loader.sce',"w"); mfprintf(fd,"mode(-1)\n") mfprintf(fd,"// generated by builder.sce: Please do not edit this file\n"); mfprintf(fd,"// ------------------------------------------------------\n"); mfprintf(fd,"%s_path=get_file_path(''loader.sce'');\n",name); mfprintf(fd,"if %s_path==''.'' then %s_path=''./'',end;\n",name,name); mfprintf(fd,"functions=[\n"); mfprintf(fd," ''%s'';\n",funs) mfprintf(fd,"];\n"); mfprintf(fd,"addinter(''%s'',''fraclab_interf'',functions);\n",libn); mfprintf(fd,"\n") mfprintf(fd,"genlib(''fraclablib'',%s_path+''macros'')\n",name) mfprintf(fd,"demolist=[demolist;''Fractal signal analysis'',%s_path+''demos/fraclab.dem'']\n",name); mfprintf(fd,"%%helps=[%%helps;%s_path+''man'',''Fractal Signal Analysis'']\n",name) mclose(fd); -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Fri Aug 8 08:36:33 2008 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 8 Aug 2008 08:36:33 +0200 Subject: [scilab-Users] Fraclab Installation issues In-Reply-To: <001201c8f8ad$b562f090$fca8a8c0@sporndomain> References: <001201c8f8ad$b562f090$fca8a8c0@sporndomain> Message-ID: <000401c8f921$1940c010$4bc24030$@cornet@scilab.org> Hi, Have you got a C compiler ? To build fraclab , you need to have a C compiler. On windows : http://www.microsoft.com/express/download/ Or you can use binary version of fraclab : http://www.scilab.org/contrib/index_contrib.php?page=displayContribution &fileID=286 http://www.scilab.org/contrib/download.php?fileID=286&attachFileName=fraclab -2.0-scilab-3.1-bin-windows.zip Best Regard Allan De : marc antzis [mailto:marc at thesporngroup.com] Envoy? : jeudi 7 ao?t 2008 18:51 ? : users at lists.scilab.org Objet : [scilab-Users] Fraclab Installation issues Can anybody give me some help? scilab 4.1.2 Fraclib in C:\fraclib second argument has wrong size??? Error and code included Thanks -->exec C:\fraclab\builder.sce -->mode(-1) !--error 10000 second argument has wrong size at line 17 of function ilib_gen_Make called by : makename=ilib_gen_Make(\'libfraclab\',files,[],path+\'routines/Makefile\',%f ) line 104 of exec file called by : exec C:\\fraclab\\builder.sce builder.sce mode(-1) path=get_file_path('builder.sce') if path=='.' then path='./',end files = [ 'C-LAB_Interf' 'FRACLAB_compat' 'MFAM_concave_hull' 'MFAM_density' 'MFAM_kernel' 'MFAM_law' 'MFAM_legendre' 'MFAM_lepskii' 'MFAM_measure' 'MFAM_misc' 'MFAM_oscillation' 'MFAM_random' 'MFAM_regression' 'MFAM_stats' 'MFAM_tree' 'CWT1D_Convol' 'CWT1D_DefWavelet' 'CWT1D_WTransform' 'CWT1D_Wavelet' 'GIFS_util' 'GIFS_alphacoefsigne' 'GIFS_triangle2triangle' 'MFAS_binomial' 'MFAS_multinomial' 'MFAS_multinomial_2d' 'MFAS_lognormal' 'MFAS_spectrum' 'gif' 'gifcomp' 'gifdecomp' 'gifrd' 'gifwr' 'quantize' 'WT_arbre' 'WT_filters' 'WT_mem' 'WT_wavelet_transform' 'MFAG_continuous' 'MFAG_hoelder' 'MFAG_misc' 'WT2D_filters' 'WT2D_mem' 'WT2D_arbre' 'WT2D_wavelet_transform' 'MFAL_discrete' 'MFAL_partition' 'MFAL_reyni' 'sim_stable' 'McCulloch' 'Koutrouvelis' 'stable_sm' 'stable_test' 'stable_cov' 'HOLDER2D_meascalc' 'WSAF_util' 'WSAF_modelise' 'LAB_beep' 'LAB_bbch' 'LAB_linearlt' 'LAB_lepskiiap' 'LAB_monolr' 'LAB_cwt' 'LAB_alphagifs' 'LAB_sgifs' 'LAB_prescalpha' 'LAB_fif' 'LAB_binom' 'LAB_sbinom' 'LAB_multim1d' 'LAB_multim2d' 'LAB_smultim1d' 'LAB_smultim2d' 'LAB_readgif' 'LAB_FWT' 'LAB_IWT' 'LAB_WTDwnHi' 'LAB_WTDwnLo' 'LAB_fch1d' 'LAB_fcfg1d' 'LAB_mch1d' 'LAB_mcfg1d' 'LAB_cfg1d' 'LAB_FWT2D' 'LAB_IWT2D' 'LAB_mdzq1d' 'LAB_mdzq2d' 'LAB_reynitq' 'LAB_mdfl1d' 'LAB_sim_stable' 'LAB_McCulloch' 'LAB_Koutrouvelis' 'LAB_stable_sm' 'LAB_stable_test' 'LAB_stable_cov' 'LAB_holder2d' 'LAB_gifseg' 'LAB_wave2gifs' 'LAB_gifs2wave' 'Interf_fraclab']; makename=ilib_gen_Make('libfraclab',files,[],path+'routines/Makefile',%f) makename=strsubst(makename,'.mak','') libn=ilib_compile('libfraclab',makename) genlib('fraclablib',path+'macros') funs=["beep" "bbch" "linearlt" "lepskiiap" "monolr" "cwt" "alphagifs" "sgifs" "prescalpha" "fif" "binom" "sbinom" "multim1d" "multim2d" "smultim1d" "smultim2d" "readgif" "FWT" "IWT" "WTDwnHi" "WTDwnLo" "fch1d" "fcfg1d" "mch1d" "mcfg1d" "cfg1d" "FWT2D" "IWT2D" "mdzq1d" "mdzq2d" "reynitq" "mdfl1d" "sim_stable" "McCulloch" "Koutrouvelis" "stable_sm" "stable_test" "stable_cov" "holder2d" "gifseg" "wave2gifs" "gifs2wave"] name='fraclab' fd=mopen(path+'loader.sce',"w"); mfprintf(fd,"mode(-1)\n") mfprintf(fd,"// generated by builder.sce: Please do not edit this file\n"); mfprintf(fd,"// ------------------------------------------------------\n"); mfprintf(fd,"%s_path=get_file_path(''loader.sce'');\n",name); mfprintf(fd,"if %s_path==''.'' then %s_path=''./'',end;\n",name,name); mfprintf(fd,"functions=[\n"); mfprintf(fd," ''%s'';\n",funs) mfprintf(fd,"];\n"); mfprintf(fd,"addinter(''%s'',''fraclab_interf'',functions);\n",libn); mfprintf(fd,"\n") mfprintf(fd,"genlib(''fraclablib'',%s_path+''macros'')\n",name) mfprintf(fd,"demolist=[demolist;''Fractal signal analysis'',%s_path+''demos/fraclab.dem'']\n",name); mfprintf(fd,"%%helps=[%%helps;%s_path+''man'',''Fractal Signal Analysis'']\n",name) mclose(fd); -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at thesporngroup.com Fri Aug 8 17:08:44 2008 From: marc at thesporngroup.com (marc antzis) Date: Fri, 8 Aug 2008 11:08:44 -0400 Subject: [scilab-Users] Fraclab Installation issues In-Reply-To: <000401c8f921$1940c010$4bc24030$@cornet@scilab.org> References: <001201c8f8ad$b562f090$fca8a8c0@sporndomain> <000401c8f921$1940c010$4bc24030$@cornet@scilab.org> Message-ID: <010201c8f968$a71782b0$fca8a8c0@sporndomain> Thanks Will give to a try Marc D. Antzis www.opticalsystemsintegrators.com 11 Broadway, Suite 521 New York, NY 10004 (212) 344-5050 ph (212) 344-6837 fax marc at opticalsystemsintegrators.com _____ From: Allan CORNET [mailto:allan.cornet at scilab.org] Sent: Friday, August 08, 2008 2:37 AM To: users at lists.scilab.org Subject: RE: [scilab-Users] Fraclab Installation issues Hi, Have you got a C compiler ? To build fraclab , you need to have a C compiler. On windows : http://www.microsoft.com/express/download/ Or you can use binary version of fraclab : http://www.scilab.org/contrib/index_contrib.php?page=displayContribution &fileID=286 http://www.scilab.org/contrib/download.php?fileID=286&attachFileName=fraclab -2.0-scilab-3.1-bin-windows.zip Best Regard Allan De : marc antzis [mailto:marc at thesporngroup.com] Envoy? : jeudi 7 ao?t 2008 18:51 ? : users at lists.scilab.org Objet : [scilab-Users] Fraclab Installation issues Can anybody give me some help? scilab 4.1.2 Fraclib in C:\fraclib second argument has wrong size??? Error and code included Thanks -->exec C:\fraclab\builder.sce -->mode(-1) !--error 10000 second argument has wrong size at line 17 of function ilib_gen_Make called by : makename=ilib_gen_Make(\'libfraclab\',files,[],path+\'routines/Makefile\',%f ) line 104 of exec file called by : exec C:\\fraclab\\builder.sce builder.sce mode(-1) path=get_file_path('builder.sce') if path=='.' then path='./',end files = [ 'C-LAB_Interf' 'FRACLAB_compat' 'MFAM_concave_hull' 'MFAM_density' 'MFAM_kernel' 'MFAM_law' 'MFAM_legendre' 'MFAM_lepskii' 'MFAM_measure' 'MFAM_misc' 'MFAM_oscillation' 'MFAM_random' 'MFAM_regression' 'MFAM_stats' 'MFAM_tree' 'CWT1D_Convol' 'CWT1D_DefWavelet' 'CWT1D_WTransform' 'CWT1D_Wavelet' 'GIFS_util' 'GIFS_alphacoefsigne' 'GIFS_triangle2triangle' 'MFAS_binomial' 'MFAS_multinomial' 'MFAS_multinomial_2d' 'MFAS_lognormal' 'MFAS_spectrum' 'gif' 'gifcomp' 'gifdecomp' 'gifrd' 'gifwr' 'quantize' 'WT_arbre' 'WT_filters' 'WT_mem' 'WT_wavelet_transform' 'MFAG_continuous' 'MFAG_hoelder' 'MFAG_misc' 'WT2D_filters' 'WT2D_mem' 'WT2D_arbre' 'WT2D_wavelet_transform' 'MFAL_discrete' 'MFAL_partition' 'MFAL_reyni' 'sim_stable' 'McCulloch' 'Koutrouvelis' 'stable_sm' 'stable_test' 'stable_cov' 'HOLDER2D_meascalc' 'WSAF_util' 'WSAF_modelise' 'LAB_beep' 'LAB_bbch' 'LAB_linearlt' 'LAB_lepskiiap' 'LAB_monolr' 'LAB_cwt' 'LAB_alphagifs' 'LAB_sgifs' 'LAB_prescalpha' 'LAB_fif' 'LAB_binom' 'LAB_sbinom' 'LAB_multim1d' 'LAB_multim2d' 'LAB_smultim1d' 'LAB_smultim2d' 'LAB_readgif' 'LAB_FWT' 'LAB_IWT' 'LAB_WTDwnHi' 'LAB_WTDwnLo' 'LAB_fch1d' 'LAB_fcfg1d' 'LAB_mch1d' 'LAB_mcfg1d' 'LAB_cfg1d' 'LAB_FWT2D' 'LAB_IWT2D' 'LAB_mdzq1d' 'LAB_mdzq2d' 'LAB_reynitq' 'LAB_mdfl1d' 'LAB_sim_stable' 'LAB_McCulloch' 'LAB_Koutrouvelis' 'LAB_stable_sm' 'LAB_stable_test' 'LAB_stable_cov' 'LAB_holder2d' 'LAB_gifseg' 'LAB_wave2gifs' 'LAB_gifs2wave' 'Interf_fraclab']; makename=ilib_gen_Make('libfraclab',files,[],path+'routines/Makefile',%f) makename=strsubst(makename,'.mak','') libn=ilib_compile('libfraclab',makename) genlib('fraclablib',path+'macros') funs=["beep" "bbch" "linearlt" "lepskiiap" "monolr" "cwt" "alphagifs" "sgifs" "prescalpha" "fif" "binom" "sbinom" "multim1d" "multim2d" "smultim1d" "smultim2d" "readgif" "FWT" "IWT" "WTDwnHi" "WTDwnLo" "fch1d" "fcfg1d" "mch1d" "mcfg1d" "cfg1d" "FWT2D" "IWT2D" "mdzq1d" "mdzq2d" "reynitq" "mdfl1d" "sim_stable" "McCulloch" "Koutrouvelis" "stable_sm" "stable_test" "stable_cov" "holder2d" "gifseg" "wave2gifs" "gifs2wave"] name='fraclab' fd=mopen(path+'loader.sce',"w"); mfprintf(fd,"mode(-1)\n") mfprintf(fd,"// generated by builder.sce: Please do not edit this file\n"); mfprintf(fd,"// ------------------------------------------------------\n"); mfprintf(fd,"%s_path=get_file_path(''loader.sce'');\n",name); mfprintf(fd,"if %s_path==''.'' then %s_path=''./'',end;\n",name,name); mfprintf(fd,"functions=[\n"); mfprintf(fd," ''%s'';\n",funs) mfprintf(fd,"];\n"); mfprintf(fd,"addinter(''%s'',''fraclab_interf'',functions);\n",libn); mfprintf(fd,"\n") mfprintf(fd,"genlib(''fraclablib'',%s_path+''macros'')\n",name) mfprintf(fd,"demolist=[demolist;''Fractal signal analysis'',%s_path+''demos/fraclab.dem'']\n",name); mfprintf(fd,"%%helps=[%%helps;%s_path+''man'',''Fractal Signal Analysis'']\n",name) mclose(fd); -------------- next part -------------- An HTML attachment was scrubbed... URL: From fvogelnew1 at free.fr Sat Aug 9 20:38:58 2008 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Sat, 09 Aug 2008 20:38:58 +0200 Subject: [scilab-Users] help me (how to make a plot of system) In-Reply-To: <642429.38845.qm@web63711.mail.re1.yahoo.com> References: <642429.38845.qm@web63711.mail.re1.yahoo.com> Message-ID: <489DE442.8030308@free.fr> See help csim and especially the examples at the bottom of this man page. HTH Francois arviandy arviandy said on 06/08/2008 01:52: > Sorry , what I mean is how to make a plot for step response. > > Thank you > Arviandy > > --- On *Wed, 8/6/08, arviandy arviandy //* wrote: > > From: arviandy arviandy > Subject: [scilab-Users] help me (how to make a plot of system) > To: users at lists.scilab.org > Date: Wednesday, August 6, 2008, 6:47 AM > > > Dear,guys > > Can you help me how to make a plot of system with Scilab if I have > the system like this > > sys= 0.4 / (z - 0.9) ---> in matlab to produce this, I write : > sys=tf(0.4,[1 -0.9],1); step(sys) > > thank you > Arviandy > > > From enrico.segre at weizmann.ac.il Thu Aug 7 19:35:09 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Thu, 07 Aug 2008 20:35:09 +0300 Subject: Fraclab Installation issues Message-ID: <1218130509.32172.1.camel@segre-pc2.weizmann.ac.il> Perhaps: http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/daf6bc7431d5222c http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/df36afe1f5767fd7 http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/57f7f7a6949f99a6 http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/7b6bd218ae254ecc From enrico.segre at weizmann.ac.il Thu Aug 7 19:35:09 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Thu, 07 Aug 2008 20:35:09 +0300 Subject: Fraclab Installation issues Message-ID: <1218130509.32172.1.camel@segre-pc2.weizmann.ac.il> Perhaps: http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/daf6bc7431d5222c http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/df36afe1f5767fd7 http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/57f7f7a6949f99a6 http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/7b6bd218ae254ecc From supsup.linux at free.fr Thu Aug 14 14:40:22 2008 From: supsup.linux at free.fr (supsup) Date: Thu, 14 Aug 2008 14:40:22 +0200 Subject: Scicos I can't read my file with the block "read from C binary file" Message-ID: <002601c8fe0a$edbc0730$4201a8c0@belondra6bd498> M. Jean Luc B?londrade 1 Domaine de la Haute Borne 27700 Hennezis t?l. : 02 32 54 65 90 Hello, My config : Scilab 4.1.1 on Mandriva 2006 I can?t read my data file from a data acquisition card DAQ 2205 (from Adlink ) with the block Sicos "read from C binary file", Because the file have a Header a fix part (length 60 bytes) and a varius part (lenght = 2 bytes xnumber of channel. How to do ? Thank you for your help See you soon Bonjour ? tous, Ma configuration : Scilab 4.1.1 on Mandriva 2006 Je ne peux pas lire correctement mon fichier de donn?e provenant d?une carte d?acquisition DAQ 2205 d?Adlink avec le block scicos "read from C binary file". Le probl?me est qu?il est constitu? d?un ent?te avec une partie de longueur fixe (60 octets) et une partie variable de longueur (2 octets x nombre de voie enregistr?e). Comment peut on faire ? Merci pour votre aide A bient?t Jean Luc -------------- next part -------------- An HTML attachment was scrubbed... URL: From simone.mannori at scilab.org Thu Aug 14 15:22:58 2008 From: simone.mannori at scilab.org (Simone Mannori) Date: Thu, 14 Aug 2008 15:22:58 +0200 Subject: [scilab-Users] Scicos I can't read my file with the block "read from C binary file" In-Reply-To: <002601c8fe0a$edbc0730$4201a8c0@belondra6bd498> References: <002601c8fe0a$edbc0730$4201a8c0@belondra6bd498> Message-ID: <1218720178.3173.4.camel@pinarellu.inria.fr> Bonjour, may you be so kind to send me the files (data and examples) ? Regards Simone Mannori - Scilab Consortium (DIGITEO) Scilab/Scicos Embedded Applications //**--------------------------------------------------------------------- On Thu, 2008-08-14 at 14:40 +0200, supsup wrote: > > > M. Jean Luc B?londrade > > 1 Domaine de la Haute Borne > > 27700 Hennezis > > t?l. : 02 32 54 65 90 > > > > Hello, > > My config : Scilab 4.1.1 on Mandriva 2006 > > I can?t read my data file from a data acquisition card DAQ 2205 (from > Adlink ) with the block Sicos "read from C binary file", > > > > Because the file have a Header a fix part (length 60 bytes) and a > varius part (lenght = 2 bytes xnumber of channel. > > How to do ? > > Thank you for your help > > > > See you soon > > > > Bonjour ? tous, > > Ma configuration : Scilab 4.1.1 on Mandriva 2006 > > Je ne peux pas lire correctement mon fichier de donn?e provenant d?une > carte d?acquisition DAQ 2205 d?Adlink avec le block scicos "read from > C binary file". > > Le probl?me est qu?il est constitu? d?un ent?te avec une partie de > longueur fixe (60 octets) et une partie variable de longueur (2 > octets x nombre de voie enregistr?e). > > Comment peut on faire ? > > > > Merci pour votre aide > > A bient?t > > Jean Luc > > > > > > From alfredolingoist at gmail.com Thu Aug 14 15:50:19 2008 From: alfredolingoist at gmail.com (Alfredo Lingoist Jr.) Date: Thu, 14 Aug 2008 10:50:19 -0300 Subject: Scilab + SQL Message-ID: Does anyone have a script to extract data from SQL? Thanks, Alfredo -------------- next part -------------- An HTML attachment was scrubbed... URL: From supsup.linux at free.fr Fri Aug 15 10:58:26 2008 From: supsup.linux at free.fr (supsup) Date: Fri, 15 Aug 2008 10:58:26 +0200 Subject: [scilab-Users] Scicos I can't read my file with the block"read from C binary file" In-Reply-To: <1218720178.3173.4.camel@pinarellu.inria.fr> Message-ID: <000401c8feb5$14e70800$4201a8c0@belondra6bd498> Bonjour, Veuillez trouver ci-joint le fichier de donn?e et le programme scicos. Seule les voies 3 et 4 m'int?ressent et je suis obliger de mettre les voies 7 et 8 dans le block "read from C binary file". Merci pour votre aide A bient?t Jean Luc Hello, Please find the data file and the little sicos soft. I only need the channels 3 and 4 for tha i must put the 7 and 8 in "Outputs record selection" of the block "read from C binary file". Thank you for your help See you soon -----Message d'origine----- De?: Simone Mannori [mailto:simone.mannori at scilab.org] Envoy??: jeudi 14 ao?t 2008 15:23 ??: users at lists.scilab.org Objet?: Re: [scilab-Users] Scicos I can't read my file with the block"read from C binary file" Bonjour, may you be so kind to send me the files (data and examples) ? Regards Simone Mannori - Scilab Consortium (DIGITEO) Scilab/Scicos Embedded Applications //**-------------------------------------------------------------------- - On Thu, 2008-08-14 at 14:40 +0200, supsup wrote: > > > M. Jean Luc B?londrade > > 1 Domaine de la Haute Borne > > 27700 Hennezis > > t?l. : 02 32 54 65 90 > > > > Hello, > > My config : Scilab 4.1.1 on Mandriva 2006 > > I can?t read my data file from a data acquisition card DAQ 2205 (from > Adlink ) with the block Sicos "read from C binary file", > > > > Because the file have a Header a fix part (length 60 bytes) and a > varius part (lenght = 2 bytes xnumber of channel. > > How to do ? > > Thank you for your help > > > > See you soon > > > > Bonjour ? tous, > > Ma configuration : Scilab 4.1.1 on Mandriva 2006 > > Je ne peux pas lire correctement mon fichier de donn?e provenant d?une > carte d?acquisition DAQ 2205 d?Adlink avec le block scicos "read from > C binary file". > > Le probl?me est qu?il est constitu? d?un ent?te avec une partie de > longueur fixe (60 octets) et une partie variable de longueur (2 > octets x nombre de voie enregistr?e). > > Comment peut on faire ? > > > > Merci pour votre aide > > A bient?t > > Jean Luc > > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: lect.cos Type: application/octet-stream Size: 60056 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OFdonnee2.dat Type: application/octet-stream Size: 130086 bytes Desc: not available URL: From donatello.materassi at tin.it Fri Aug 15 04:59:27 2008 From: donatello.materassi at tin.it (Donatello Materassi) Date: Thu, 14 Aug 2008 21:59:27 -0500 Subject: Strange behaviour (in matrix visualization?) Message-ID: <48A4F10F.202@tin.it> Hello, I report this strange behaviour. Scilab version 4.1.2 for linux debian (official package). try this commands > P=[1,0.3;0,3,2] //fine > Psqroot=sqroot(P)' //fine > Q=Psqroot' * Psqroot // it displays a matrix different from P in the entry (1,1), indeed Q is [2, 0.3; 0.3, 2] > Q-P // it is about 0 ???? It seems that the visualization in incorrect, but scilab manages the computation in the proper way. Thanks Donatello Materassi From sdr at durietz.se Sun Aug 17 12:18:59 2008 From: sdr at durietz.se (Stefan Du Rietz) Date: Sun, 17 Aug 2008 12:18:59 +0200 Subject: lex_sort Message-ID: <48A7FB13.3080103@durietz.se> I am using Scilab 4.1.2 under Windows XP. -->M = [2 1 2; 2 1 1; 1 2 1; 1 1 1] M = 2. 1. 2. 2. 1. 1. 1. 2. 1. 1. 1. 1. -->lex_sort(M) ans = 1. 1. 1. 1. 2. 1. 2. 1. 1. 2. 1. 2. which is OK. But when I want to exclude the third column from the sorting, it does not work: -->[N, k] = lex_sort(M, 1:2) k = 4. 3. 2. 1. N = 1. 1. 1. 1. 2. 1. 2. 1. 1. 2. 1. 2. Am I doing anything wrong, or is this a bug? /Stefan From ricci2 at unisi.it Tue Aug 19 12:21:54 2008 From: ricci2 at unisi.it (Maso Ricci) Date: Tue, 19 Aug 2008 12:21:54 +0200 Subject: a little GUI with a slider Message-ID: <48AA9EC2.4040409@unisi.it> Hi all, I would like to add some sort of little GUI to my code. I need to change the value of a constant and check how it affect my graph. So I would assign the value of the constant to a slider and change its value just moving the cursor of the slide. any suggestion ? Thanks in advance /maso -- Maso Ricci Ph.D Dept. of Chemical and Biosystem Science University of Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From tomdean at speakeasy.org Sun Aug 24 23:08:19 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Sun, 24 Aug 2008 14:08:19 -0700 Subject: Difference Compared to Octave Message-ID: <1219612099.32333.80.camel@dv6000> I tried to implement the Octave polyfit function in scilab. Coding was no problem, some minor syntax changes and a couple manipulation function changes. I get different results when comparing Scilab to Octave. The results from Octave seem to be closer to the input data. The difference seems to be in X\y, returning a different value in Scilab. The function and data are at the bottom. n = 2; x = [1:7]*1000; l = length (x); x = matrix(x, l, 1); y = matrix(y, l, 1); X = (x * ones (1, n+1)) .^ (ones (l, 1) * (n : -1 : 0)); p = X\y; Octave: [3.9283e-05 -1.3290e-01 1.1586e+02] Scilab: [ 0.0000325 - 0.0715604 0. ] Also, Scilab produces a message, "rank defficient. rank = 2" Any ideas? tomdean function [p, s] = polyfit (x, y, n) if (argn(2) <> 3) then error("Usage: polyfit(x,y,n)"); end if (~ (isvector(x) & isvector(y) & (max(size(x)) == max(size(y))) ) ) then error ("polyfit: x and y must be vectors of the same size"); end if (~ (prod(size(n)==1) & n >= 0 & ~isinf (n) & n == round (n))) then error ("polyfit: n must be a nonnegative integer"); end y_is_row_vector = (size(y,1) == 1); l = length (x); x = matrix(x, l, 1); y = matrix(y, l, 1); X = (x * ones (1, n+1)) .^ (ones (l, 1) * (n : -1 : 0)); p = X \ y; if (argn(1) > 1) then yf = X*p; if (y_is_row_vector) then s.yf = yf.'; else s.yf = yf; end s.R = chol (X'*X); s.X = X; s.df = l - n - 1; s.normr = norm (yf - y); end // Return value should be a row vector. p = p.'; endfunction; s = [1:7]*1000; t = [ 3.3598, 26.4377, 89.6760, 211.5766, 414.1391, 716.1501,1128.1406]; polyfit(s,t,2) From sylvestre.ledru at scilab.org Sun Aug 24 23:10:01 2008 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sun, 24 Aug 2008 23:10:01 +0200 Subject: [scilab-Users] Difference Compared to Octave In-Reply-To: <1219612099.32333.80.camel@dv6000> References: <1219612099.32333.80.camel@dv6000> Message-ID: <1219612201.4151.45.camel@zlarin.inria.fr> Hello, Which version of Scilab are you using ? Thanks, Sylvestre Le dimanche 24 ao?t 2008 ? 14:08 -0700, Thomas D. Dean a ?crit : > I tried to implement the Octave polyfit function in scilab. > > Coding was no problem, some minor syntax changes and a couple > manipulation function changes. > > I get different results when comparing Scilab to Octave. > The results from Octave seem to be closer to the input data. > > The difference seems to be in X\y, returning a different value in > Scilab. The function and data are at the bottom. > > n = 2; > x = [1:7]*1000; > l = length (x); > x = matrix(x, l, 1); > y = matrix(y, l, 1); > > X = (x * ones (1, n+1)) .^ (ones (l, 1) * (n : -1 : 0)); > > p = X\y; > > Octave: [3.9283e-05 -1.3290e-01 1.1586e+02] > Scilab: [ 0.0000325 - 0.0715604 0. ] > > Also, Scilab produces a message, "rank defficient. rank = 2" > > Any ideas? > > tomdean > > function [p, s] = polyfit (x, y, n) > if (argn(2) <> 3) then > error("Usage: polyfit(x,y,n)"); > end > > if (~ (isvector(x) & isvector(y) & (max(size(x)) == max(size(y))) ) ) > then > error ("polyfit: x and y must be vectors of the same size"); > end > > if (~ (prod(size(n)==1) & n >= 0 & ~isinf (n) & n == round (n))) then > error ("polyfit: n must be a nonnegative integer"); > end > > y_is_row_vector = (size(y,1) == 1); > > l = length (x); > x = matrix(x, l, 1); > y = matrix(y, l, 1); > > X = (x * ones (1, n+1)) .^ (ones (l, 1) * (n : -1 : 0)); > > p = X \ y; > > if (argn(1) > 1) then > yf = X*p; > if (y_is_row_vector) then > s.yf = yf.'; > else > s.yf = yf; > end > s.R = chol (X'*X); > s.X = X; > s.df = l - n - 1; > s.normr = norm (yf - y); > end > > // Return value should be a row vector. > p = p.'; > > endfunction; > > s = [1:7]*1000; > t = [ 3.3598, 26.4377, 89.6760, 211.5766, 414.1391, 716.1501,1128.1406]; > > polyfit(s,t,2) > > From tomdean at speakeasy.org Mon Aug 25 00:09:06 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Sun, 24 Aug 2008 15:09:06 -0700 Subject: [scilab-Users] Difference Compared to Octave In-Reply-To: <1219612201.4151.45.camel@zlarin.inria.fr> References: <1219612099.32333.80.camel@dv6000> <1219612201.4151.45.camel@zlarin.inria.fr> Message-ID: <1219615746.32333.88.camel@dv6000> ScilabGtk-4.2 Copyright (c) 1989-2008 (INRIA, ENPC) ScilabGtk is based on Scilab BUILD4 svn branch (post 4.1) with a Gtk2 Gui. This version is not supported by the Scilab Consortium development team. (Fri Apr 25 16:37:01 CEST 2008) I get the Octave results with pinv(). tomdean On Sun, 2008-08-24 at 23:10 +0200, Sylvestre Ledru wrote: > Hello, > > Which version of Scilab are you using ? > > Thanks, > Sylvestre > From joao.mrr1 at gmail.com Mon Aug 25 16:40:29 2008 From: joao.mrr1 at gmail.com (joao moreira) Date: Mon, 25 Aug 2008 16:40:29 +0200 Subject: Problem with matrix logarithms, in the complex case Message-ID: Hi all, I have an issue with matrix logarithms, in the complex case. Consider the following matrix : A=[ -0.01+0*%i 0.13+0*%i; 0.00+0*%i 0.08+0*%i; ]; Coefficients are real, but I force them to be complex, hoping that scilab will use a complex logarithm matrix function. But scilab says "unable to diagonalize!"... I understand that as a real matrix, I can't calculate its log, but as a complex matrix, why doesn't this work ? Using algorithms from Golub, van Loan, "Matrix Computations", I coded a complex matrix log function, and found logm(A) = L where L=[ -4.6051702+3.1415927*%i 3.0036378-4.5378561*%i; 0.0000000+0.0000000*%i -2.5257286+0.0000000*%i; ]; and it's easy to check that exp(log(A)) == log(exp(A)) == A. I looked in the scilab source, and found that logm is actually a .sci file that does ......................... a=a+0*%i; //Set complex [s,u,bs]=bdiag(a); if maxi(bs)>1 then error('logm: unable to diagonalize!');return end ......................... bdiag does block diagonalisation, finds a 2x2 block, and refuses to continue !... Is this normal ? is there some reason for scilab not calculating this ? Maybe I'm missing something obvious, thanks for helping. Joao P.S. Maybe this is a question for the scilab developers, is there a better forum for this ? Thx. -- Joao Moreira (math student) Paris, France joao.mrr1 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomdean at speakeasy.org Mon Aug 25 20:34:44 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Mon, 25 Aug 2008 11:34:44 -0700 Subject: Error in lincos() - Missing Function Message-ID: <1219689284.32333.106.camel@dv6000> The function, lincos() is missing a function, [ierr,scicos_ver,scs_m]=update_version(scs_m) replacing this with a function, function [a,b,c]=update_version(s) a=0; // err is zero b=s.version; // extract the version c=s; // just copy s endfunction; works. However, I believe this is not what was intended. tomdean From tomdean at speakeasy.org Tue Aug 26 01:45:21 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Mon, 25 Aug 2008 16:45:21 -0700 Subject: Nfigs_source Tarball Message-ID: <1219707921.32333.116.camel@dv6000> Is the nfigs_source tarball available? Or, is this directory available in any distribution? It does not seem to be in the 4.1.2 distribution. tomdean From tomdean at speakeasy.org Tue Aug 26 02:11:57 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Mon, 25 Aug 2008 17:11:57 -0700 Subject: [scilab-Users] Nfigs_source Tarball In-Reply-To: <1219707921.32333.116.camel@dv6000> References: <1219707921.32333.116.camel@dv6000> Message-ID: <1219709517.32333.118.camel@dv6000> I found signals.tar.gz oin the cdrom tree. Thanks, tomdean From simone.mannori at scilab.org Tue Aug 26 09:30:10 2008 From: simone.mannori at scilab.org (Simone Mannori) Date: Tue, 26 Aug 2008 09:30:10 +0200 Subject: [scilab-Users] Error in lincos() - Missing Function In-Reply-To: <1219689284.32333.106.camel@dv6000> References: <1219689284.32333.106.camel@dv6000> Message-ID: <1219735810.3092.11.camel@pinarellu.inria.fr> Bonjour Thomas, thanks for the hint: you are right. I suppose that you are using an old Scilab/Scicos version because now (from Scilab 4.1.2) the function is called function [%cpr,%state0,needcompile,alreadyran,ok]= do_update(%cpr,%state0,needcompile) Anyway this bug has been fixed in Scilab 5 using the detection and automatic loading of the needed functions; please see scilab/modules/scicos/macros/scicos_auto/lincos.sci for more details. Thanks again Simone Mannori - The Scilab Consortium (DIGITEO) Scilab/Scicos Embedded Applications //**----------------------------------------------------------------- On Mon, 2008-08-25 at 11:34 -0700, Thomas D. Dean wrote: > The function, lincos() is missing a function, > > [ierr,scicos_ver,scs_m]=update_version(scs_m) > > replacing this with a function, > > function [a,b,c]=update_version(s) > a=0; // err is zero > b=s.version; // extract the version > c=s; // just copy s > endfunction; > > works. However, I believe this is not what was intended. > > tomdean > From duboism at limsi.fr Tue Aug 26 11:04:40 2008 From: duboism at limsi.fr (duboism at limsi.fr) Date: Tue, 26 Aug 2008 11:04:40 +0200 (CEST) Subject: [scilab-Users] Strange behaviour (in matrix visualization?) In-Reply-To: <48A4F10F.202@tin.it> References: <48A4F10F.202@tin.it> Message-ID: <42060.82.123.26.219.1219741480.squirrel@keo.limsi.fr> Hello Donatello, I don't know if that helps but I tried to play a bit with your example script (see attached file - there is a minor error in the definition of P). I run the same version of scilab on Fedora 9 32-bits. On my computer, the matrix Q (result of Psqroot' * Psqroot) is correctly computed and printed. If you set the number of digits to be printed with 'format()' to 20 you can see that there are little difference between P and Q (I assume this is rounding errors). That's why 'Q == P' does not return [T, T; T, T]. If you compare with %eps it works. Kind regards, Mathieu > Hello, > > I report this strange behaviour. > > Scilab version 4.1.2 for linux debian (official package). > > try this commands > >> P=[1,0.3;0,3,2] //fine > >> Psqroot=sqroot(P)' //fine > >> Q=Psqroot' * Psqroot // it displays a matrix different from P in the > entry (1,1), indeed Q is [2, 0.3; 0.3, 2] > >> Q-P // it is about 0 ???? > > It seems that the visualization in incorrect, but scilab > manages the computation in the proper way. > > Thanks > Donatello Materassi > > -------------- next part -------------- A non-text attachment was scrubbed... Name: test_sqroot.sce Type: application/octet-stream Size: 159 bytes Desc: not available URL: From tomdean at speakeasy.org Tue Aug 26 16:31:39 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Tue, 26 Aug 2008 07:31:39 -0700 Subject: [scilab-Users] Error in lincos() - Missing Function In-Reply-To: <1219735810.3092.11.camel@pinarellu.inria.fr> References: <1219689284.32333.106.camel@dv6000> <1219735810.3092.11.camel@pinarellu.inria.fr> Message-ID: <1219761099.32333.123.camel@dv6000> I am using scilab-gtk 4.2 on Linux, that was installed with the latest version of scicos. I do not see a version in lincos. tomdean From simone.mannori at scilab.org Tue Aug 26 16:52:54 2008 From: simone.mannori at scilab.org (Simone Mannori) Date: Tue, 26 Aug 2008 16:52:54 +0200 Subject: [scilab-Users] Error in lincos() - Missing Function In-Reply-To: <1219761099.32333.123.camel@dv6000> References: <1219689284.32333.106.camel@dv6000> <1219735810.3092.11.camel@pinarellu.inria.fr> <1219761099.32333.123.camel@dv6000> Message-ID: <1219762374.3092.39.camel@pinarellu.inria.fr> Dear Thomas On Tue, 2008-08-26 at 07:31 -0700, Thomas D. Dean wrote: > I am using scilab-gtk 4.2 on Linux, that was installed with the latest > version of scicos. > this version is NOT maintained by The Scilab Consortium; this version is not tested nor validated by The Scilab Consortium. In order to avoid trouble with experimental code, I would like to suggest you to use Scilab 4.1.2, downloaded directly from www.scilab.org or just wait Scilab 5.0. If you find any issue with Scilab 4.1.2, I will prepare a patch and put it on public web page. Best Regards Simone Mannori - The Scilab Consortium Scilab/Scicos Embedded Applications From duboism at limsi.fr Tue Aug 26 18:20:36 2008 From: duboism at limsi.fr (duboism at limsi.fr) Date: Tue, 26 Aug 2008 18:20:36 +0200 (CEST) Subject: Loading mex-files Message-ID: <38011.82.123.26.219.1219767636.squirrel@keo.limsi.fr> Hello everyone, I would like to know how can I use a mex file inside scilab. Let me explain. I use the CSIM neural simulator (http://www.lsm.tugraz.at/csim/) which is composed of a C++ core and a mex interface. To install it one needs to execute matlab-script which basically calls a Makefile in the source directory. The result is a file 'csim.mexglx' (glx stands for GNU/Linux I guess) which is just a shared library (so). The simulator uses some advanced matlab functions. So my question is: can I load this file inside scilab or do I need to recompile it? I have read the mex examples in scilab directory but I don't have any experience in writing external code. Thanks in advance, Mathieu From tomdean at speakeasy.org Tue Aug 26 19:38:40 2008 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Tue, 26 Aug 2008 10:38:40 -0700 Subject: [scilab-Users] Error in lincos() - Missing Function In-Reply-To: <1219762374.3092.39.camel@pinarellu.inria.fr> References: <1219689284.32333.106.camel@dv6000> <1219735810.3092.11.camel@pinarellu.inria.fr> <1219761099.32333.123.camel@dv6000> <1219762374.3092.39.camel@pinarellu.inria.fr> Message-ID: <1219772320.32333.126.camel@dv6000> Thanks, The version I was using was installed with the "improved" scipad. I wondered about the -gtk suffix. Should have warned me. The correct version of the lincos() function uses current_version = get_scicos_version() scicos_ver = find_scicos_version(scs_m) Thanks. From simon.elfert at web.de Wed Aug 27 17:51:18 2008 From: simon.elfert at web.de (Simon) Date: Wed, 27 Aug 2008 17:51:18 +0200 Subject: plotting date on x-axis Message-ID: <48B577F6.50309@web.de> Hi everybody, I want to plot some timeseries where the x-ticks are dates (for example "Nov. 1987" or "1.11.87"). That's where I am today... forum ------------- dt = datenum(y, m, d); // y, m, d are vectors with information on year, month and day all = [dt, data1, data2, data3]; // data1-3 are data-vectors ------------- till here I get: ------------- all= 724216. 6.6894479 6.6952958 0.20484 724217. 7.8806429 8.1755199 0.21636 724218. 9.0097742 10.1717 0.22731 724219. 9.3107634 11.451789 0.2525200 724220. 9.3775043 12.343613 0.3197800 724221. 9.3765812 12.939786 0.4009100 724222. 9.2700891 13.249661 0.5409700 724223. 9.1931381 13.444237 0.5119000 724224. 9.0925598 13.484509 0.47847 ------------ when I plot that ( plot(all(:,1), [all(:,2), all(:,3), all(:,4)]) ), I only get the serial dates (first column) on the x-axis. Do you, how I could go on? I guess I need something like what is datetick for matlab (found that expression on my research through the net). Thank you, Simon From Francis.Drossaert at pgs.com Wed Aug 27 18:18:23 2008 From: Francis.Drossaert at pgs.com (Francis Drossaert) Date: Wed, 27 Aug 2008 17:18:23 +0100 Subject: [scilab-Users] plotting date on x-axis In-Reply-To: <48B577F6.50309@web.de> References: <48B577F6.50309@web.de> Message-ID: <6D1269A4C2D21240807B91421B187255068DF4FD@lonms21.onshore.pgs.com> Hi Simon, Not sure how to solve your problem completely, but I can give you a suggestion. The x-ticks labels are strings and not numbers. Even if you give numbers as you did, Scilab converts them to strings. So what you could do is: - get the handle of the axis. For example with h = gca() - get the tick data: v1 = h.x_ticks.data - convert this list into a string vector: for example v2 = string(datavec(v1)) - and change h.x_ticks.labels = v2 I have not tested this but I think it should give you ideas how to proceed. Note that the string vector has be the same length as the number of ticks which does not have to be . Creating the string vector from the serial dates and make it look nice could be a bit nasty. Cheers, Francis -----Original Message----- From: simon.elfert at web.de [mailto:simon.elfert at web.de] Sent: 27 August 2008 16:51 To: users at lists.scilab.org Subject: [scilab-Users] plotting date on x-axis Hi everybody, I want to plot some timeseries where the x-ticks are dates (for example "Nov. 1987" or "1.11.87"). That's where I am today... forum ------------- dt = datenum(y, m, d); // y, m, d are vectors with information on year, month and day all = [dt, data1, data2, data3]; // data1-3 are data-vectors ------------- till here I get: ------------- all= 724216. 6.6894479 6.6952958 0.20484 724217. 7.8806429 8.1755199 0.21636 724218. 9.0097742 10.1717 0.22731 724219. 9.3107634 11.451789 0.2525200 724220. 9.3775043 12.343613 0.3197800 724221. 9.3765812 12.939786 0.4009100 724222. 9.2700891 13.249661 0.5409700 724223. 9.1931381 13.444237 0.5119000 724224. 9.0925598 13.484509 0.47847 ------------ when I plot that ( plot(all(:,1), [all(:,2), all(:,3), all(:,4)]) ), I only get the serial dates (first column) on the x-axis. Do you, how I could go on? I guess I need something like what is datetick for matlab (found that expression on my research through the net). Thank you, Simon This email and any files contained therein is confidential and may contain privileged information. If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system From grocer.toolbox at gmail.com Wed Aug 27 20:11:55 2008 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Wed, 27 Aug 2008 20:11:55 +0200 Subject: [scilab-Users] plotting date on x-axis In-Reply-To: <6D1269A4C2D21240807B91421B187255068DF4FD@lonms21.onshore.pgs.com> References: <48B577F6.50309@web.de> <6D1269A4C2D21240807B91421B187255068DF4FD@lonms21.onshore.pgs.com> Message-ID: Another solution is to use the option axesflag=0 in plot2d and to use the function drawaxis. Eric. 2008/8/27 Francis Drossaert > Hi Simon, > > Not sure how to solve your problem completely, but I can give you a > suggestion. The x-ticks labels are strings and not numbers. Even if you > give numbers as you did, Scilab converts them to strings. > > So what you could do is: > - get the handle of the axis. For example with h = gca() > - get the tick data: v1 = h.x_ticks.data > - convert this list into a string vector: for example v2 = > string(datavec(v1)) > - and change h.x_ticks.labels = v2 > > I have not tested this but I think it should give you ideas how to > proceed. Note that the string vector has be the same length as the > number of ticks which does not have to be . Creating the string vector > from the serial dates and make it look nice could be a bit nasty. > > Cheers, > > Francis > > > -----Original Message----- > From: simon.elfert at web.de [mailto:simon.elfert at web.de] > Sent: 27 August 2008 16:51 > To: users at lists.scilab.org > Subject: [scilab-Users] plotting date on x-axis > > Hi everybody, > > I want to plot some timeseries where the x-ticks are dates (for example > "Nov. 1987" or "1.11.87"). > That's where I am today... > forum > ------------- > dt = datenum(y, m, d); // y, m, d are vectors with information on > year, month and day > all = [dt, data1, data2, data3]; // data1-3 are > data-vectors > ------------- > > till here I get: > > ------------- > all= > 724216. 6.6894479 6.6952958 0.20484 > 724217. 7.8806429 8.1755199 0.21636 > 724218. 9.0097742 10.1717 0.22731 > 724219. 9.3107634 11.451789 0.2525200 > 724220. 9.3775043 12.343613 0.3197800 > 724221. 9.3765812 12.939786 0.4009100 > 724222. 9.2700891 13.249661 0.5409700 > 724223. 9.1931381 13.444237 0.5119000 > 724224. 9.0925598 13.484509 0.47847 > ------------ > > when I plot that ( plot(all(:,1), [all(:,2), all(:,3), all(:,4)]) ), I > only get the serial dates (first column) on the x-axis. > > Do you, how I could go on? I guess I need something like what is > datetick for matlab (found that expression on my research through the > net). > > Thank you, > Simon > > This email and any files contained therein is confidential and may contain > privileged information. If you are not the named addressee(s) or you have > otherwise received this in error, you should not distribute or copy this > e-mail or use any of its content for any purpose. Please notify the sender > immediately by e-mail if you have received this e-mail in error and delete > it from your system > -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.elfert at web.de Wed Aug 27 19:40:13 2008 From: simon.elfert at web.de (Simon) Date: Wed, 27 Aug 2008 19:40:13 +0200 Subject: plotting date on x-axis Message-ID: <48B5917D.9020809@web.de> Thank you very much Francis, wow - that is a fast answer! That seems to be a good approach either... even if this does not work just the way you posted it. I now got a vector of strings by these four rows... ------------------------ dat=[string(d(1))+ "." + string(m(1))+ "." + string(y(1))]; for j=2:length(y) dat = [dat; string(d(j))+ "." + string(m(j))+ "." + string(y(j))]; end ------------------------- ... but when I put it as: ... ---------------------------- plot(all(:,1), [all(:,2), all(:,3), all(:,4)]) h = gca() h.x_ticks.labels = dat ---------------------------- ... it still is said that the submatrix is defined incorrectly. The structure of the x_ticks.labels-vector (v) seems to be like: ---------------------- v(1) = ["ticks location labels"] // one string - probably the keyword or header of the vector v(2) = [1; 2; 3; ... ; 9] // floats - probably the locations of the ticks v(3) = ["1"; "2"; "3"; ... ; "9"] // strings - probably the labels of the ticks ------------------------- yet, I could not rebuild that vector with my dates, but I will post it, if I succeed... so long, Simon From simon.elfert at web.de Wed Aug 27 22:13:12 2008 From: simon.elfert at web.de (Simon) Date: Wed, 27 Aug 2008 22:13:12 +0200 Subject: plotting date on x-axis Message-ID: <48B5B558.6030003@web.de> Thank you Eric, thank you Francis again... I got it on my way home :) For everbody having the same problem, I will post here my complete program (I have three files in the src-directory, which have a three row header and below six columns with data). So thank you all again! Best wishes, Simon --------------------------------------------------------------------------------------------------------------------------------- src = ["/home/romsim/workspace/scilab/"]; // path files =list("qbas", "qges", "etr"); // files to be read for i=1:length(dateien) // for file in files... a_src = [src + files(i) + ".dat"]; // building current path myfile = mopen(a_src , "r"); // open file mgetl (myfile, 3); // reading first three rows (header) data = mfscanf(-1, myfile, "%i %i %i %i %e %e"); // reading data (six columns; the first four are for the date) if i==1 then // the first file gives the info for the date (it's the same for all files) y = data(:,1); // year m = data(:,2); // month d = data(:,3); // day t = data(:,4); // time dates = datenum(y, m, d) ; // building date (serial) all = [dates]; // initialising the main matrix end all = [all, data(:,5)]; // appending the data from current file mclose(myfile); // close file end plot(all(:,1), [all(:,2), all(:,3), all(:,4)]) // plotting h = gca(); // getting a handle on the axis entities v1 = h.x_ticks; // reading x-ticks v_dat = datevec(v1(2)); // extracting and reformatting date v_dat = [string(v_dat(:,2)) string(v_dat(:,1))]; // preparing string-vector v_neu=[]; // initialising new x-tick-vector s=size(v_dat); // reading vector-size for k=1:s(1) v_neu=[v_neu v_dat(k,1) + "/" + v_dat(k,2)]; end // building new x-tick-vector h.x_ticks.labels = v_neu; // set new x-tick-values From simon.elfert at web.de Thu Aug 28 12:31:19 2008 From: simon.elfert at web.de (Simon) Date: Thu, 28 Aug 2008 12:31:19 +0200 Subject: plotting two y-axes, lines and bars in one plot Message-ID: <48B67E77.6010806@web.de> Hi everybody, I would like to do some plotting with scilab. The aim is as follows: - one plot with two different y-axes - the left y-axis shall be used for some lines (timeseries) - the right y-axis shall be used for a timeseries plotted as bars In matlab this should be possible with plotyy(), but there seems to be a possibility in scilab as well using drawaxis. Unfortunately I was not able yet to implement it. Do you know, how I can plot both - lines and bars - in one plot and differentiate the y-axes? (by the way... the right y-axis has to scaled reversely topdown, but one step after the oter...) Thank you, kind regards Simon Elfert ps - do you know a good and broad plotting tutorial for scilab? From grocer.toolbox at gmail.com Thu Aug 28 15:34:02 2008 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Thu, 28 Aug 2008 15:34:02 +0200 Subject: [scilab-Users] plotting two y-axes, lines and bars in one plot In-Reply-To: <48B67E77.6010806@web.de> References: <48B67E77.6010806@web.de> Message-ID: In my toolbox grocer (with E. Michaux), available art http://dubois.ensae.net./grocer.html you will find a function pltseries0 that has many options, including the possibility to draw 2 axes and to mix bars and curves. Hope it works for you. Eric. 2008/8/28, Simon : > > Hi everybody, > > I would like to do some plotting with scilab. The aim is as follows: > > - one plot with two different y-axes > - the left y-axis shall be used for some lines (timeseries) > - the right y-axis shall be used for a timeseries plotted as bars > > In matlab this should be possible with plotyy(), but there seems to be a > possibility in scilab as well using drawaxis. Unfortunately I was not able > yet to implement it. > > Do you know, how I can plot both - lines and bars - in one plot and > differentiate the y-axes? (by the way... the right y-axis has to scaled > reversely topdown, but one step after the oter...) > > > Thank you, kind regards > Simon Elfert > > > > > ps - do you know a good and broad plotting tutorial for scilab? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.elfert at web.de Thu Aug 28 15:44:55 2008 From: simon.elfert at web.de (Simon) Date: Thu, 28 Aug 2008 15:44:55 +0200 Subject: plotting two y-axes, lines and bars in one plot Message-ID: <48B6ABD7.10801@web.de> thanks a lot!!! I'll try that and report my progress here! From enrico.segre at weizmann.ac.il Thu Aug 28 17:00:56 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Thu, 28 Aug 2008 18:00:56 +0300 Subject: New bleeding edge Scipad editor backported to the Scilab-4.x environment Message-ID: <1219935656.30566.0.camel@segre-pc2.weizmann.ac.il> Announcing: http://www.scilab.org/contrib/index_contrib.php?page=displayContribution&fileID=1130 Including (alpha-state) the newest conditional breakpointing features. Enjoy, Enrico From simon.elfert at web.de Fri Aug 29 11:46:28 2008 From: simon.elfert at web.de (Simon) Date: Fri, 29 Aug 2008 11:46:28 +0200 Subject: plotting two y-axes, lines and bars in one plot Message-ID: <48B7C574.8070605@web.de> alright, that works pretty nice! A very fine tool. Is it possible to have the right y-axis at normal scale, but the left y-axis with a reverse scale (with >> h=gca(); h.axes_reverse = ["off", "on", "off"]; << I only get control of both y-axes at a time. greetings, Simon ps: For anyone who concerns... this works fine: mat = [0, 1, 40; 1, 2, 30; 2,3,20; 3,4,10]; pltseries0([mat(:,2), mat(:,3)],[],'example',string(mat(:,1)),1,"yaxis=[1 2]", "bars=[0 1]") From grocer.toolbox at gmail.com Fri Aug 29 13:44:29 2008 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Fri, 29 Aug 2008 13:44:29 +0200 Subject: [scilab-Users] Re: Re: plotting two y-axes, lines and bars in one plot In-Reply-To: <48B7C574.8070605@web.de> References: <48B7C574.8070605@web.de> Message-ID: Thanks! I will have a look this w/e to see if it is possible to have inverted selected axes. A priori I would have done like you... Eric. 2008/8/29, Simon : > > alright, that works pretty nice! A very fine tool. > > Is it possible to have the right y-axis at normal scale, but the left > y-axis with a reverse scale (with >> h=gca(); h.axes_reverse = ["off", > "on", "off"]; << I only get control of both y-axes at a time. > > greetings, > Simon > > > > > ps: For anyone who concerns... this works fine: > > mat = [0, 1, 40; 1, 2, 30; 2,3,20; 3,4,10]; > pltseries0([mat(:,2), > mat(:,3)],[],'example',string(mat(:,1)),1,"yaxis=[1 2]", "bars=[0 1]") > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grocer.toolbox at gmail.com Sun Aug 31 20:10:13 2008 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sun, 31 Aug 2008 20:10:13 +0200 Subject: [scilab-Users] Re: Re: plotting two y-axes, lines and bars in one plot In-Reply-To: References: <48B7C574.8070605@web.de> Message-ID: As promised, here is a function pltseries0 that allow inverted axes, along with new function pltseries and drawy, in the joined zip file I have added an option 'reverse=vec' where vec is a (2x1) vector of 0 and 1 indiating how the axis must be drawn (0: normal order; A: reverse order). For instance: mat = [0, 1, 40; 1, 2, 30; 2,3,20; 3,4,10]; pltseries0([mat(:,2), mat(:,3)],[],'example',string( > > mat(:,1)),1,"yaxis=[1 2]", "bars=[0 1]",'reverse[0 1]') The trick is either to take the opposite of the series and use drawaxis with the option val=string(-s) where s is the axis corresponding to the inverted series or to attack the handle, and to note that the second axis is the last of the children and to modify the filed axis_labels. Eric. 2008/8/29 Eric Dubois > Thanks! > > I will have a look this w/e to see if it is possible to have inverted > selected axes. A priori I would have done like you... > > Eric. > > 2008/8/29, Simon : > >> alright, that works pretty nice! A very fine tool. >> >> Is it possible to have the right y-axis at normal scale, but the left >> y-axis with a reverse scale (with >> h=gca(); h.axes_reverse = ["off", >> "on", "off"]; << I only get control of both y-axes at a time. >> >> greetings, >> Simon >> >> >> >> >> ps: For anyone who concerns... this works fine: >> >> mat = [0, 1, 40; 1, 2, 30; 2,3,20; 3,4,10]; >> pltseries0([mat(:,2), >> mat(:,3)],[],'example',string(mat(:,1)),1,"yaxis=[1 2]", "bars=[0 1]") >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pltg_new.zip Type: application/zip Size: 6071 bytes Desc: not available URL: