From fujimoto2005 at gmail.com Sun Aug 2 06:29:07 2015 From: fujimoto2005 at gmail.com (fujimoto2005) Date: Sat, 1 Aug 2015 21:29:07 -0700 (MST) Subject: [Scilab-users] hilight file Message-ID: <1438489747944-4032646.post@n3.nabble.com> I want to make the list of keywords in order to make a highlight file. I want to use an external editor as the standard editor and make use of the highlight file. So could you teach me where the default highlight file of scilab is and how to read it? Best regards. -- View this message in context: http://mailinglists.scilab.org/hilight-file-tp4032646.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From acj119 at nifty.com Sun Aug 2 07:44:50 2015 From: acj119 at nifty.com (jaipur) Date: Sat, 1 Aug 2015 22:44:50 -0700 (MST) Subject: [Scilab-users] Single function to write text in 3D point Message-ID: <1438494290964-4032647.post@n3.nabble.com> I'd like to write 'small text' at a 3D point [x0, y0, z0] in 3D axes. A function, xstring works only for 2D axes like xstring(x,y,str,[angle,[box]]). So, I'm now writing the following code. xstring(x0, y0, 'small text' ); h_text = gce(); h_text.data = [x0, y0, z0]; Is there single function to write text in 3D point? -- View this message in context: http://mailinglists.scilab.org/Single-function-to-write-text-in-3D-point-tp4032647.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Sun Aug 2 07:57:00 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 02 Aug 2015 07:57:00 +0200 Subject: [Scilab-users] hilight file In-Reply-To: <1438489747944-4032646.post@n3.nabble.com> References: <1438489747944-4032646.post@n3.nabble.com> Message-ID: <55BDB12C.5070401@free.fr> Hello Fujimoto, Le 02/08/2015 06:29, fujimoto2005 a ?crit : > I want to make the list of keywords in order to make a highlight file. > I want to use an external editor as the standard editor and make use of the > highlight file. > > So could you teach me where the default highlight file of scilab is and how > to read it? The editor Notepad++ is ready for that and more. You will easily find the editor using your preferred search engine. Files to customize Notepad++ for Scilab are here: http://fileexchange.scilab.org/toolboxes/140000 http://fileexchange.scilab.org/images/toolboxes/0003519/Notepad_for_Scilab_Samples.png Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Notepad_for_Scilab_Samples.png Type: image/png Size: 15036 bytes Desc: not available URL: From sgougeon at free.fr Sun Aug 2 08:15:24 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 02 Aug 2015 08:15:24 +0200 Subject: [Scilab-users] Single function to write text in 3D point In-Reply-To: <1438494290964-4032647.post@n3.nabble.com> References: <1438494290964-4032647.post@n3.nabble.com> Message-ID: <55BDB57C.5070100@free.fr> Le 02/08/2015 07:44, jaipur a ?crit : > I'd like to write 'small text' at a 3D point [x0, y0, z0] in 3D axes. > A function, xstring works only for 2D axes like > xstring(x,y,str,[angle,[box]]). > So, I'm now writing the following code. > > xstring(x0, y0, 'small text' ); > h_text = gce(); > h_text.data = [x0, y0, z0]; > > Is there single function to write text in 3D point? No, this has been discussed there: http://mailinglists.scilab.org/SEP-69-xarrows-with-a-optional-Z-paramer-for-3D-tp3299879p3302327.html It should be easy to add an optional Z coordinate. Controlling the 3D orientation of text will be harder. As a first step, indeed, an optional z parameter could be added to the same xstring(). Regards Samuel From fujimoto2005 at gmail.com Sun Aug 2 08:18:14 2015 From: fujimoto2005 at gmail.com (Masahiro Fujimoto) Date: Sun, 2 Aug 2015 15:18:14 +0900 Subject: [Scilab-users] hilight file In-Reply-To: <55BDB12C.5070401@free.fr> References: <1438489747944-4032646.post@n3.nabble.com> <55BDB12C.5070401@free.fr> Message-ID: Hi, Samuel Thanks for the valuable information. The link "http://fileexchange.scilab.org/toolboxes/140000" can't be opened. Is this address righ? Best regards 2015-08-02 14:57 GMT+09:00 Samuel Gougeon : > Hello Fujimoto, > > Le 02/08/2015 06:29, fujimoto2005 a ?crit : > > I want to make the list of keywords in order to make a highlight file. > I want to use an external editor as the standard editor and make use of the > highlight file. > > So could you teach me where the default highlight file of scilab is and how > to read it? > > The editor Notepad++ is ready for that and more. > You will easily find the editor using your preferred search engine. > Files to customize Notepad++ for Scilab are here: > http://fileexchange.scilab.org/toolboxes/140000 > [image: > http://fileexchange.scilab.org/images/toolboxes/0003519/Notepad_for_Scilab_Samples.png] > Best regards > Samuel > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Notepad_for_Scilab_Samples.png Type: image/png Size: 15036 bytes Desc: not available URL: From sgougeon at free.fr Sun Aug 2 08:28:15 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 02 Aug 2015 08:28:15 +0200 Subject: [Scilab-users] hilight file In-Reply-To: References: <1438489747944-4032646.post@n3.nabble.com> <55BDB12C.5070401@free.fr> Message-ID: <55BDB87F.2010901@free.fr> Le 02/08/2015 08:18, Masahiro Fujimoto a ?crit : > Hi, Samuel > > Thanks for the valuable information. > The link "http://fileexchange.scilab.org/toolboxes/140000" can't be > opened. > Is this address?righ? Yes, but the server is temporarily off. Apparently. It was ok (but slow) some minutes ago. May be retry later. If you want to prepare and use another external editor, getscilabkeywords() might be useful. S. From acj119 at nifty.com Sun Aug 2 08:52:04 2015 From: acj119 at nifty.com (jaipur) Date: Sat, 1 Aug 2015 23:52:04 -0700 (MST) Subject: [Scilab-users] Single function to write text in 3D point In-Reply-To: <55BDB57C.5070100@free.fr> References: <1438494290964-4032647.post@n3.nabble.com> <55BDB57C.5070100@free.fr> Message-ID: <1438498324224-4032652.post@n3.nabble.com> Thank you. I understand current situation. -- View this message in context: http://mailinglists.scilab.org/Single-function-to-write-text-in-3D-point-tp4032647p4032652.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jrafaelbguerra at hotmail.com Sun Aug 2 13:00:14 2015 From: jrafaelbguerra at hotmail.com (Rafael Guera) Date: Sun, 2 Aug 2015 12:00:14 +0100 Subject: [Scilab-users] Editing variables during Scilab script execution Message-ID: Dear Scilabers, Is there a simple way to interactively edit a text variable with multiple lines of text during a Scilab script execution? (variable defined as a vector of strings in example below) // Execute script from Scinotes M= char(... 'this is line#1 ', ... 'this is line#2 ', ... 'this is line#3')'; defined= %F; while(~defined) printf('Currently M is:\n') for i=1:size(M,2) printf('%s\n',M(i)) end printf('\nEnter (1) to edit text\n') printf('Enter (2) to exit loop\n') str=input("Choose option: ", "string"); [op, ierr]=evstr(str); if op==1 then editvar M; input('Enter when finished editing'); elseif op==2 then defined= %T; end end printf('\nFinished editing and M is:\n') for i=1:size(M,2) printf('%s\n',M(i)) end printf('\n\n Left the script, type now M to check its content:\n') //*** As you can see from the above example, editvar does not behave properly during a Scilab script execution. This was reported in Bug#10922 and it seems that Scilab 6.0.0 alpha1 still shares the same issue. If someone knows of a workaround I would appreciate. Thanks and regards, Rafael -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sun Aug 2 16:49:37 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 02 Aug 2015 16:49:37 +0200 Subject: [Scilab-users] Editing variables during Scilab script execution In-Reply-To: References: Message-ID: <55BE2E01.6010307@free.fr> Hello Rafael, As just commented in the bug's thread, editvar is modeless: it fortunately does not pause Scilab. To prompt the user with editvar, an optional modal working should be implemented. It would be rather a duplicate of x_dialog() job: x_dialog("My multi-line text:", ["Hello" ; "All?" ; "Hola" ; "Hej"]) Best regards Samuel Le 02/08/2015 13:00, Rafael Guera a ?crit : > > Dear Scilabers, > > Is there a simple way to interactively edit a text variable with > multiple lines of text during a Scilab script execution? (variable > defined as a vector of strings in example below) > > .../... > > As you can see from the above example, editvar does not behave > properly during a Scilab script execution. > > This was reported in Bug#10922 and it seems that Scilab 6.0.0 alpha1 > still shares the same issue. > > If someone knows of a workaround I would appreciate. > > Thanks and regards, > > Rafael > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bhihjbea.png Type: image/png Size: 21837 bytes Desc: not available URL: From jrafaelbguerra at hotmail.com Sun Aug 2 17:46:57 2015 From: jrafaelbguerra at hotmail.com (Rafael Guera) Date: Sun, 2 Aug 2015 16:46:57 +0100 Subject: [Scilab-users] Editing variables during Scilab script execution In-Reply-To: <55BE2E01.6010307@free.fr> References: <55BE2E01.6010307@free.fr> Message-ID: Hello Samuel, Thanks for your help. x_dialog is exactly what I needed for the text variables? edition. Regards, Rafael From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Samuel Gougeon Sent: Sunday, August 02, 2015 3:50 PM To: International users mailing list for Scilab. Subject: Re: [Scilab-users] Editing variables during Scilab script execution Hello Rafael, As just commented in the bug's thread, editvar is modeless: it fortunately does not pause Scilab. To prompt the user with editvar, an optional modal working should be implemented. It would be rather a duplicate of x_dialog() job: x_dialog("My multi-line text:", ["Hello" ; "All?" ; "Hola" ; "Hej"]) Best regards Samuel Le 02/08/2015 13:00, Rafael Guera a ?crit : Dear Scilabers, Is there a simple way to interactively edit a text variable with multiple lines of text during a Scilab script execution? (variable defined as a vector of strings in example below) .../... As you can see from the above example, editvar does not behave properly during a Scilab script execution. This was reported in Bug#10922 and it seems that Scilab 6.0.0 alpha1 still shares the same issue. If someone knows of a workaround I would appreciate. Thanks and regards, Rafael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 6360 bytes Desc: not available URL: From pablo_f_7 at hotmail.com Mon Aug 3 01:32:04 2015 From: pablo_f_7 at hotmail.com (PabloF) Date: Sun, 2 Aug 2015 16:32:04 -0700 (MST) Subject: [Scilab-users] Atoms failing in Windows 10 Message-ID: <1438558324218-4032656.post@n3.nabble.com> Hi: i've just installed windows 10... and when i try to get open atoms module from scilab 5.5.2 a messages says "No ATOMS module is available. Please, check your Internet connection or make sure that your OS is compatible with ATOMS." Scilab console outputs this: " atomsDownload: Error while opening the URL http://atoms.scilab.org/5.5/TOOLBOXES/64/windows.gz. atomsDownload: The following file hasn't been downloaded: - URL : 'http://atoms.scilab.org/5.5/TOOLBOXES/64/windows.gz' - Local location : 'C:\Users\Pablo\AppData\Local\Temp\SCI_TM~1\ATOMS~1\1_TOOLBOXES.gz' WARNING: Scanning repository http://atoms.scilab.org/5.5 ... Skipped" Anybody had the same problem? -- View this message in context: http://mailinglists.scilab.org/Atoms-failing-in-Windows-10-tp4032656.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jmz_mmz at hotmail.com Mon Aug 3 12:49:38 2015 From: jmz_mmz at hotmail.com (Jihad Samarji) Date: Mon, 3 Aug 2015 13:49:38 +0300 Subject: [Scilab-users] Question : XCOS Can't Find WFILE_F.sci Message-ID: hello , i want to use Wfile_f inXcos but i can't find it in the palletes browser .i tried several version of scilab and couldn't find it .i even found the Wfile_f.sci in the Scilab Directory modules scicos_block macros but it's not showing in the pallete browser . please help , i need it please please please helpp . thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmz_mmz at hotmail.com Mon Aug 3 12:59:35 2015 From: jmz_mmz at hotmail.com (jihadsamarji) Date: Mon, 3 Aug 2015 03:59:35 -0700 (MST) Subject: [Scilab-users] Xcos WFILE_F is not found in the Palette browser Message-ID: <1438599575737-4032658.post@n3.nabble.com> i want to use the WFILE_F.sci in my simulation to write my output on a text file . but the WFILE_F is not found , i tried several versions of scilab even linux and i didn't find it . what do i do ?? i found the palette in the scicos software but i can't migrate my Simulation from .zcos to .cos ... What do i do please help ! -- View this message in context: http://mailinglists.scilab.org/Xcos-WFILE-F-is-not-found-in-the-Palette-browser-tp4032658.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jasper at amsterchem.com Tue Aug 4 09:21:23 2015 From: jasper at amsterchem.com (jasper van baten) Date: Tue, 4 Aug 2015 09:21:23 +0200 Subject: [Scilab-users] threading model in Scilab 6 (alpha) In-Reply-To: <55BBA3E6.4080903@amsterchem.com> References: <55BBA3E6.4080903@amsterchem.com> Message-ID: <55C067F3.6010009@amsterchem.com> Does anybody know what threading model is used in Scilab 6 alpha? I am referring to the default mode of operation, and not while executing parallel_for, or MPI as described here (http://wiki.scilab.org/Documentation/ParallelComputingInScilab). If there are multiple core threads that execute concurrently, then all api-scilab code needs to be written in a thread-safe re-entrant safe manner. I doubt this is the case. If there is one core thread alive at any point, it would make sense for this to remain the same thread, which does not appear to be the case. If not the same thread, any application that depends on apartment threaded COM objects or thread local storage will no longer function as it did in Scilab 5. The solution may be to synchronize such applications over a private thread, but that surely will come at a performance cost. Having some idea about the threading model that is intended and used would be helpful. Best wishes, Jasper. On 7/31/2015 18:35, jasper van baten wrote: > All, > > What's the story with threading in Scilab 6? Whereas previous versions > appeared to be single threaded from an external DLL point of view, I > see that the DLLmain function gets called by a one thread, whereas > interface routines get called from another thread. Worse, looks like > each interface routine call is made from a new thread. What is the > threading model?? Is there a limited number of threads, or are threads > created on the fly? > > Thanks, best wishes, > > Jasper > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Aug 4 14:48:27 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 04 Aug 2015 14:48:27 +0200 Subject: [Scilab-users] "Recursive extraction" Message-ID: <55C0B49B.8030403@free.fr> Hello Scilab Team, The so-called "recursive extraction" was presented at the last ScilabTech as a new feature in Scilab 6. I did not caught the full meaning of it until i realized that for instance it will now be possible to write simply gca().isoview = "on"; instead of splitting this into 2 instructions a = gca(); a.isoview = "on"; This application to addressing handles attributes is smart and welcome. The example shown at the ScilabTech was about a function rather than an handle. When trying to use it, it looks to fail, at least sometimes or for some objects. Let's try on getversion(): --> [v, o] = getversion() o = !ICC x64 modelicac release Jul 29 2015 21:07:12 ! v = scilab-6.0.0-alpha-1 Now, i am interested only in the 2nd output argument (this kind of example was shown): --> o = getversion()(2) Invalid index. --> [v,o] = getversion()(2) Wrong number of output arguments. What am i doing wrong? By the way, this feature is not listed among new ones in the 6-a1 release notes. Did you change your plan about "Recursive extraction" in Scilab 6? Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.granade at scilab-enterprises.com Wed Aug 5 10:21:53 2015 From: francois.granade at scilab-enterprises.com (=?iso-8859-1?Q?Fran=E7ois_Granade?=) Date: Wed, 5 Aug 2015 10:21:53 +0200 Subject: [Scilab-users] threading model in Scilab 6 (alpha) In-Reply-To: <55C067F3.6010009@amsterchem.com> References: <55BBA3E6.4080903@amsterchem.com> <55C067F3.6010009@amsterchem.com> Message-ID: <4A7E6280-FEB2-4795-99F9-3ACC8DC4B6A6@scilab-enterprises.com> Hi Jasper, Looks like you have found an interesting question here... First - there are no multiple concurrent threads in the core. So we are safe (and so is the API, without being thread-safe). However, what you saw is right: each command executes in a new thread. We designed it on purpose, with one of the reason being that this thread can be what we call the "storeCommand" which manages events from outside the main thread (UI, interruption). Another idea was that - later - to allow multithreaded execution (under some serious constraints). Now, your point about COM loading, and thread-local storage, is very valid, and may very well mean that we should change this. We will study if/how we could modify that... we'll keep you posted. Thanks *a lot* for reporting this; it's exactly what we released the alpha for, and even though we were hoping we would not have such questions, it's better to have them now than later... for the Scilab team, Fran?ois Granade On Aug 4, 2015, at 9:21 AM, jasper van baten wrote: > Does anybody know what threading model is used in Scilab 6 alpha? I am referring to the default mode of operation, and not while executing parallel_for, or MPI as described here (http://wiki.scilab.org/Documentation/ParallelComputingInScilab). > > If there are multiple core threads that execute concurrently, then all api-scilab code needs to be written in a thread-safe re-entrant safe manner. I doubt this is the case. > > If there is one core thread alive at any point, it would make sense for this to remain the same thread, which does not appear to be the case. If not the same thread, any application that depends on apartment threaded COM objects or thread local storage will no longer function as it did in Scilab 5. The solution may be to synchronize such applications over a private thread, but that surely will come at a performance cost. > > Having some idea about the threading model that is intended and used would be helpful. > > Best wishes, > > Jasper. > > On 7/31/2015 18:35, jasper van baten wrote: >> All, >> >> What's the story with threading in Scilab 6? Whereas previous versions appeared to be single threaded from an external DLL point of view, I see that the DLLmain function gets called by a one thread, whereas interface routines get called from another thread. Worse, looks like each interface routine call is made from a new thread. What is the threading model?? Is there a limited number of threads, or are threads created on the fly? >> >> Thanks, best wishes, >> >> Jasper >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasper at amsterchem.com Wed Aug 5 10:44:49 2015 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 5 Aug 2015 10:44:49 +0200 Subject: [Scilab-users] threading model in Scilab 6 (alpha) In-Reply-To: <4A7E6280-FEB2-4795-99F9-3ACC8DC4B6A6@scilab-enterprises.com> References: <55BBA3E6.4080903@amsterchem.com> <55C067F3.6010009@amsterchem.com> <4A7E6280-FEB2-4795-99F9-3ACC8DC4B6A6@scilab-enterprises.com> Message-ID: <55C1CD01.8070304@amsterchem.com> Hi Fran?ois, Many thanks for your reply. As soon as you know more, I would be very pleased to test again in a new alpha. I would like to have my software back up-and-running before the actual release of Scilab 6. Before doing so I will have to decide how to handle the threading issue. If the solution will be that all is single threaded but in different threads, I suppose my best work-around would still be to synchronize access to the underlying objects over a private thread. I hope you will decide to keep the core thread alive and recycle it between calls, so that all calls are made on the same thread. If on the other hand your solution will be full multi-threaded execution, I would welcome that too. Also in this case I hope you will create a fixed number of threads and recycle them, for the same reason. In this case I can simply create a corresponding number of COM objects under the hood. I am not sure why events from outside the thread would have to make that you stop the thread and start another one (unless you forcefully terminate the thread, but I suppose you do not as this will surely lead to memory leaks and other trouble). You can simply set up your calculation thread to do something like void core_threadproc() { for (;;) { //wait until next command synchronizationObject.wait(); //pick up next (set of) command(s) and execute if (nextCommand==CommandTerminate()) break; ... } } For interrupting calculations you could poll between individual commands and during length commands. On another note: removal of the intersci exe forced me to switch to the api-scilab (short of keeping previous builds of scilab around). I am pleased with this interface, it is a lot nicer than intersci. The C++ interface is nicer than the C interface, I think, but does not seem to have support for strings and some other data types (unless I missed something). So I am now mixing my approach: "csci" interfaces for all routines that take string matrices as in- our output, and "cppsci" interfaces for all routines that only deal with numeric matrices. Support for string (and other) data types from the cppsci interface would be welcome in the future. Best wishes, Jasper On 8/5/2015 10:21, Fran?ois Granade wrote: > Hi Jasper, > > Looks like you have found an interesting question here... > > First - there are no multiple concurrent threads in the core. So we > are safe (and so is the API, without being thread-safe). > > However, what you saw is right: each command executes in a new thread. > We designed it on purpose, with one of the reason being that this > thread can be what we call the "storeCommand" which manages events > from outside the main thread (UI, interruption). Another idea was that > - later - to allow multithreaded execution (under some serious > constraints). > > Now, your point about COM loading, and thread-local storage, is very > valid, and may very well mean that we should change this. > > We will study if/how we could modify that... we'll keep you posted. > > Thanks *a lot* for reporting this; it's exactly what we released the > alpha for, and even though we were hoping we would not have such > questions, it's better to have them now than later... > > for the Scilab team, > Fran?ois Granade > > > > On Aug 4, 2015, at 9:21 AM, jasper van baten > wrote: > >> Does anybody know what threading model is used in Scilab 6 alpha? I >> am referring to the default mode of operation, and not while >> executing parallel_for, or MPI as described here >> (http://wiki.scilab.org/Documentation/ParallelComputingInScilab). >> >> If there are multiple core threads that execute concurrently, then >> all api-scilab code needs to be written in a thread-safe re-entrant >> safe manner. I doubt this is the case. >> >> If there is one core thread alive at any point, it would make sense >> for this to remain the same thread, which does not appear to be the >> case. If not the same thread, any application that depends on >> apartment threaded COM objects or thread local storage will no longer >> function as it did in Scilab 5. The solution may be to synchronize >> such applications over a private thread, but that surely will come at >> a performance cost. >> >> Having some idea about the threading model that is intended and used >> would be helpful. >> >> Best wishes, >> >> Jasper. >> >> On 7/31/2015 18:35, jasper van baten wrote: >>> All, >>> >>> What's the story with threading in Scilab 6? Whereas previous >>> versions appeared to be single threaded from an external DLL point >>> of view, I see that the DLLmain function gets called by a one >>> thread, whereas interface routines get called from another thread. >>> Worse, looks like each interface routine call is made from a new >>> thread. What is the threading model?? Is there a limited number of >>> threads, or are threads created on the fly? >>> >>> Thanks, best wishes, >>> >>> Jasper >>> >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.debray at scilab-enterprises.com Thu Aug 6 11:48:09 2015 From: yann.debray at scilab-enterprises.com (Yann DEBRAY) Date: Thu, 6 Aug 2015 11:48:09 +0200 Subject: [Scilab-users] Spider Chart In-Reply-To: References: Message-ID: <55C32D59.5090206@scilab-enterprises.com> Dear Mister B?hler, You can develop such a feature directly based on scilab functions, such as _xpoly_() https://help.scilab.org/docs/5.5.2/en_US/xpoly.html Here's an example of Italian partners, with a box-and-whisker plot and a parallel plot: http://www.openeering.com/sites/default/files/Data_mining_0.pdf (see code attached) We would be happy to distribute your contribution If you need professional support or training, don't hesitate to contact us. For the Scilab Team Yann DEBRAY Business Developer Phone: +33 1 80 77 04 73 Mobile: +49 157 51 49 49 15 143 bis rue Yves Le Coz - 78000 Versailles, France Phone: +33 1 80 77 04 60 http://www.scilab-enterprises.com Le 31/07/2015 16:00, Pascal Buehler a ?crit : > Is there any way to make a spiderweb chart for Scilab 6? > > with best regards / mit freundlichen Gr?ssen / cordialement > > Pascal B?hler > Qualit?t-Hardware / Pr?fingenieur > SAUTER HeadOffice > Fr. Sauter AG > Im Surinam 55, CH-4016 Basel > Telefon +41 (0)61 695 5646 > Telefax +41 (0)61 695 5619 > http://www.sauter-controls.com > > DISCLAIMER: > This communication, and the information it contains is for the sole use of > the intended recipient. It is confidential, may be legally privileged and > protected by law. Unauthorized use, copying or disclosure of any part > thereof may be unlawful. If you have received this communication in error, > please destroy all copies and kindly notify the sender. > > Before printing out this e-mail or its attachments, please consider > whether > it is really necessary to do so. > Using less paper helps the environment. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Scilab-Enterprises.png Type: image/png Size: 8800 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data_Mining.zip Type: application/x-zip-compressed Size: 17966 bytes Desc: not available URL: From sgougeon at free.fr Thu Aug 6 18:21:07 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 06 Aug 2015 18:21:07 +0200 Subject: [Scilab-users] All variables in scilab.ini/.scilab startup file turn protected? About predef() (1) Message-ID: <55C38973.8060806@free.fr> Hi all, It seems that all variables defined in the personal startup file are now automatically protected and become unclearable, with Scilab 6.0.0-a1. This could somewhat fix the bug http://bugzilla.scilab.org/8634 (predef() cannot be used is startup file), in an unexpected and quite radical way. However, this behavior is strange: in SCI/Etc/scilab.start, there is no call to predef() after personal startup file(s) is executed. Could anyone confirm this behavior? Here is the test: edit(SCIHOME+"/scilab.ini") //add the line a=1 // in the file. Save it. Quit and restart Scilab. In the new session, try a // should display 1 clear a // could display a warning. Nothing is display (reported as http://bugzilla.scilab.org/9709 ?) a // still here. Not deleted = protected // But may be "clear" is bugged... Let's try b = 2 clear b b // => undefined variable. So, "clear" is OK May we open another thread about predef()'s future... Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu Aug 6 18:37:55 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 06 Aug 2015 18:37:55 +0200 Subject: [Scilab-users] All variables in scilab.ini/.scilab startup file turn protected? About predef() (1) In-Reply-To: <55C38973.8060806@free.fr> References: <55C38973.8060806@free.fr> Message-ID: <55C38D63.1020206@free.fr> Le 06/08/2015 18:21, Samuel Gougeon a ?crit : > .../... > Could anyone confirm this behavior? Here is the test: > > edit(SCIHOME+"/scilab.ini") > //add the line > a=1 > // in the file. Save it. Quit and restart Scilab. In the new session, try > a // should display 1 > clear a // could display a warning. Nothing is display (reported as > http://bugzilla.scilab.org/9709 ?) > a // still here. Not deleted = protected Even not. A piece of surealism, a=1 being written in scilab.ini: Startup execution: loading initial environment Warning : redefining function: head_comments . Use funcprot(0) to avoid this message ------------------------------------------------------------ This is alpha version: avoid using in production but please report any problem at http://bugzilla.scilab.org. Thank you! ------------------------------------------------------------ --> a a = 1. --> clear a --> a a = 1. --> a=2 // overwritable?! a = 2. // it looks that yes! --> a a = 2. // not just a display issue.. --> clear a // the last experience that should not be done... --> a a = 1.That's a ghost!! --> a*2 // what should be expect: 2 or 4? ans = 2. Any confirmation welcome. SG -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at contrib.scilab.org Fri Aug 7 09:49:49 2015 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Fri, 07 Aug 2015 09:49:49 +0200 Subject: [Scilab-users] Spider Chart In-Reply-To: <55C32D59.5090206@scilab-enterprises.com> References: <55C32D59.5090206@scilab-enterprises.com> Message-ID: Hi, I did know of these functions from Openeering : thanks for sharing ! The code is provided under the Apache license : is this compatible with Cecill ? The Stixbox module also contains several graphics functions for data analysis : boxplot : Draw a box plot bubblechart : Plot a bubble chart bubblematrix : Plot a bubble chart filledbounds : Fill the area between two curves histo : Plot a histogram identify : Identify points on a plot with mouse clicks plotmatrix : Plot an X vx Y scatter plot matrix plotsym : Plot with symbols qqnorm : Normal probability paper qqplot : Create a QQ-plot stairs : Stairstep graph There is no spider plot in Stixbox though. Stixbox is availalable from : atomsInstall("stixbox") or from the Forge : http://forge.scilab.org/index.php/p/stixbox/ Notice that the boxplot function is in the source, but not in atoms yet (just because I did not have the time to do it). If you will to contribute to the Stixbox module, please send me a message ! Best regards, Micha?l Le 2015-08-06 11:48, Yann DEBRAY a ?crit?: > Dear Mister B?hler, > > You can develop such a feature directly based on scilab functions, > such as xpoly() > https://help.scilab.org/docs/5.5.2/en_US/xpoly.html [4] > > Here's an example of Italian partners, with a box-and-whisker plot > and a parallel plot: > http://www.openeering.com/sites/default/files/Data_mining_0.pdf [5] > (see code attached) > > We would be happy to distribute your contribution > > If you need professional support or training, don't hesitate to > contact us. > > For the Scilab Team > > Yann DEBRAY > Business Developer > Phone: +33 1 80 77 04 73 > Mobile: +49 157 51 49 49 15 > > 143 bis rue Yves Le Coz - 78000 Versailles, France > Phone: +33 1 80 77 04 60 > http://www.scilab-enterprises.com [3] > > Le 31/07/2015 16:00, Pascal Buehler a ?crit : > >> Is there any way to make a spiderweb chart for Scilab 6? >> >> with best regards / mit freundlichen Gr?ssen / cordialement >> >> Pascal B?hler >> Qualit?t-Hardware / Pr?fingenieur >> SAUTER HeadOffice >> Fr. Sauter AG >> Im Surinam 55, CH-4016 Basel >> Telefon +41 (0)61 695 5646 >> Telefax +41 (0)61 695 5619 >> http://www.sauter-controls.com [1] >> >> DISCLAIMER: >> This communication, and the information it contains is for the sole >> use of >> the intended recipient. It is confidential, may be legally >> privileged and >> protected by law. Unauthorized use, copying or disclosure of any >> part >> thereof may be unlawful. If you have received this communication in >> error, >> please destroy all copies and kindly notify the sender. >> >> Before printing out this e-mail or its attachments, please consider >> whether >> it is really necessary to do so. >> Using less paper helps the environment. >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users [2] > > > Links: > ------ > [1] http://www.sauter-controls.com > [2] http://lists.scilab.org/mailman/listinfo/users > [3] http://www.scilab-enterprises.com/ > [4] https://help.scilab.org/docs/5.5.2/en_US/xpoly.html > [5] http://www.openeering.com/sites/default/files/Data_mining_0.pdf > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From pascal.buehler at ch.sauter-bc.com Fri Aug 7 10:24:25 2015 From: pascal.buehler at ch.sauter-bc.com (Pascal Buehler) Date: Fri, 7 Aug 2015 10:24:25 +0200 Subject: [Scilab-users] Antwort: Re: Spider Chart In-Reply-To: References: <55C32D59.5090206@scilab-enterprises.com> Message-ID: I'am working on it but it will take time, i have plenty other things to do, //function Spider_Chart(Text,Value) //make shure the Text and Value entrance are correct. Text=["fgdfgdf","dfsdf","fdf","dfsfd"] [a]=type(Text); if a~= 10 then disp("Error entry on Text"); end; Value=[10,20,40,30] [b]=type(Value); if b~= 1 then disp("Error entry on Value"); end; //the size of Text list and the maximum value defines the Web. c=size(Text); d=size (Value); if c(2)~= d(2) then disp("Error entry"); end; e=c(2); f=[1:1:e]; g=2*%pi/e*f; h=max(Value)*1.2; i=zeros(c(1),c(2)); xx=h*sin(g); yy=h*cos(g); //draw the basic Spider-Chart figure("figure_name",gettext("Spider Chart"),"Position",[50,50,500,500], "BackgroundColor",[1.0,1.0,1.0]); title('$Spider\ Chart$','color','black','fontsize',5); bcolor=color("grey70"); bset=xset("dashes",1); xv=[i;xx]; yv=[i;yy]; xsegs(xv,yv); j = gce(); j.segs_color=bcolor; j.line_style=bset; By now i'am so far. :-) with best regards / mit freundlichen Gr?ssen / cordialement Pascal B?hler Qualit?t-Hardware / Pr?fingenieur SAUTER HeadOffice Fr. Sauter AG Im Surinam 55, CH-4016 Basel Telefon +41 (0)61 695 5646 Telefax +41 (0)61 695 5619 http://www.sauter-controls.com DISCLAIMER: This communication, and the information it contains is for the sole use of the intended recipient. It is confidential, may be legally privileged and protected by law. Unauthorized use, copying or disclosure of any part thereof may be unlawful. If you have received this communication in error, please destroy all copies and kindly notify the sender. Before printing out this e-mail or its attachments, please consider whether it is really necessary to do so. Using less paper helps the environment. Von: michael.baudin at contrib.scilab.org An: yann.debray at scilab-enterprises.com, Users mailing list for Scilab , Datum: 07.08.2015 09:51 Betreff: Re: [Scilab-users] Spider Chart Gesendet von: "users" Hi, I did know of these functions from Openeering : thanks for sharing ! The code is provided under the Apache license : is this compatible with Cecill ? The Stixbox module also contains several graphics functions for data analysis : boxplot : Draw a box plot bubblechart : Plot a bubble chart bubblematrix : Plot a bubble chart filledbounds : Fill the area between two curves histo : Plot a histogram identify : Identify points on a plot with mouse clicks plotmatrix : Plot an X vx Y scatter plot matrix plotsym : Plot with symbols qqnorm : Normal probability paper qqplot : Create a QQ-plot stairs : Stairstep graph There is no spider plot in Stixbox though. Stixbox is availalable from : atomsInstall("stixbox") or from the Forge : http://forge.scilab.org/index.php/p/stixbox/ Notice that the boxplot function is in the source, but not in atoms yet (just because I did not have the time to do it). If you will to contribute to the Stixbox module, please send me a message ! Best regards, Micha?l Le 2015-08-06 11:48, Yann DEBRAY a ?crit : > Dear Mister B?hler, > > You can develop such a feature directly based on scilab functions, > such as xpoly() > https://help.scilab.org/docs/5.5.2/en_US/xpoly.html [4] > > Here's an example of Italian partners, with a box-and-whisker plot > and a parallel plot: > http://www.openeering.com/sites/default/files/Data_mining_0.pdf [5] > (see code attached) > > We would be happy to distribute your contribution > > If you need professional support or training, don't hesitate to > contact us. > > For the Scilab Team > > Yann DEBRAY > Business Developer > Phone: +33 1 80 77 04 73 > Mobile: +49 157 51 49 49 15 > > 143 bis rue Yves Le Coz - 78000 Versailles, France > Phone: +33 1 80 77 04 60 > http://www.scilab-enterprises.com [3] > > Le 31/07/2015 16:00, Pascal Buehler a ?crit : > >> Is there any way to make a spiderweb chart for Scilab 6? >> >> with best regards / mit freundlichen Gr?ssen / cordialement >> >> Pascal B?hler >> Qualit?t-Hardware / Pr?fingenieur >> SAUTER HeadOffice >> Fr. Sauter AG >> Im Surinam 55, CH-4016 Basel >> Telefon +41 (0)61 695 5646 >> Telefax +41 (0)61 695 5619 >> http://www.sauter-controls.com [1] >> >> DISCLAIMER: >> This communication, and the information it contains is for the sole >> use of >> the intended recipient. It is confidential, may be legally >> privileged and >> protected by law. Unauthorized use, copying or disclosure of any >> part >> thereof may be unlawful. If you have received this communication in >> error, >> please destroy all copies and kindly notify the sender. >> >> Before printing out this e-mail or its attachments, please consider >> whether >> it is really necessary to do so. >> Using less paper helps the environment. >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users [2] > > > Links: > ------ > [1] http://www.sauter-controls.com > [2] http://lists.scilab.org/mailman/listinfo/users > [3] http://www.scilab-enterprises.com/ > [4] https://help.scilab.org/docs/5.5.2/en_US/xpoly.html > [5] http://www.openeering.com/sites/default/files/Data_mining_0.pdf > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.buehler at ch.sauter-bc.com Tue Aug 11 15:56:07 2015 From: pascal.buehler at ch.sauter-bc.com (Pascal Buehler) Date: Tue, 11 Aug 2015 15:56:07 +0200 Subject: [Scilab-users] Spider Chart Message-ID: Comming nearer, but i have problems to seperate the strings for each angle. is there a goo algorithm or way to put each Test to each webcorner? here is the code so far. //function Spider_Chart(Text,Value) //make shure the Text and Value entrance are correct. Text=["fgdfgdf","dfsdf","fdf","dfsfd","dfggg","dfgfgg"] [a]=type(Text); if a~= 10 then disp("Error entry on Text"); end; Value=[10,20,40,30,5,15] [b]=type(Value); if b~= 1 then disp("Error entry on Value"); end; //the size of Text list and the maximum value defines the Web. c=size(Text); d=size (Value); if c(2)~= d(2) then disp("Error entry"); end; e=c(2); f=[1:1:e,1]; g=2*%pi/e*f; h=max(Value)*1.2; i=zeros(c(1),c(2)+1); j=h*sin(g); k=h*cos(g); //Ticks l=[5:5:h]'; m=[1:1:h]'; if h>=10 then n=l*sin(g), o=l*cos(g); else n=m*sin(g), o=m*cos(g); end; //Text //draw the basic Spider-Chart figure("figure_name",gettext("Spider Chart"),"Position",[50,50,500,500], "BackgroundColor",[1.0,1.0,1.0]); title('$Spider\ Chart$','color','black','fontsize',5); xsegs([i;j],[i;k]); p = gce(); p.segs_color=33; p.line_style=1; xpoly(j,k) q = gce(); q.foreground=33; q.line_style=1; xpoly(n',o') r = gce(); r.foreground=33; r.line_style=1; xstring(j,k,Text(1:1:g),0) ???? //draw the input values Spider-Chart with best regards / mit freundlichen Gr?ssen / cordialement Pascal B?hler Qualit?t-Hardware / Pr?fingenieur SAUTER HeadOffice Fr. Sauter AG Im Surinam 55, CH-4016 Basel Telefon +41 (0)61 695 5646 Telefax +41 (0)61 695 5619 http://www.sauter-controls.com DISCLAIMER: This communication, and the information it contains is for the sole use of the intended recipient. It is confidential, may be legally privileged and protected by law. Unauthorized use, copying or disclosure of any part thereof may be unlawful. If you have received this communication in error, please destroy all copies and kindly notify the sender. Before printing out this e-mail or its attachments, please consider whether it is really necessary to do so. Using less paper helps the environment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From W.Schulz at ove.at Wed Aug 12 08:50:22 2015 From: W.Schulz at ove.at (SCHULZ Wolfgang) Date: Wed, 12 Aug 2015 06:50:22 +0000 Subject: [Scilab-users] Scilab 6.9 alpha 1 - Problem with mode Message-ID: <07A8AF089844A549B0F0CCC727AF31AA5798EEFE@OVEKBG.ove.at> Hello, I tested the alpha version of SCILAB 6 and have a problem with the mode command: mode(-1) - switches off the display of variable on the console - this works But e.g. the mode(0) works differently in SCILAB 6. All comments and lines of the source code are displayed. Is this a bug?? Thanks Wolfgang From doole93 at gmail.com Wed Aug 12 19:43:23 2015 From: doole93 at gmail.com (duce) Date: Wed, 12 Aug 2015 10:43:23 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab Message-ID: <1439401403311-4032673.post@n3.nabble.com> Greetings everyone. I'm completely new to Scilab so forgive my if this question is to simple. I need some sort of way to allow symbolic computation in Scilab. I need to execute commands like *symsum*, and for that, based on my current research, i need to install some kind of additional toolbox. I have Windows 8.1, and i have seen certain toolboxes which require explicitly Linux. I have a very limited amount of time to do a project in Scilab for z-transformation of discrete time signals (next 4-5 days) and so I really need to be able to execute little scripts like this one. syms n z; a = 0.5; x =(a)^n X = symsum (x*(z^(-n)),n ,0, %inf ) disp (X," ans=") Any help, in form of some instructions, download link for additional software or anything else would be much appreciated. Thanks in advance -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Wed Aug 12 22:28:03 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 12 Aug 2015 22:28:03 +0200 Subject: [Scilab-users] mode() changes. Paused modes canceled. Commands echo not in functions. In-Reply-To: <07A8AF089844A549B0F0CCC727AF31AA5798EEFE@OVEKBG.ove.at> References: <07A8AF089844A549B0F0CCC727AF31AA5798EEFE@OVEKBG.ove.at> Message-ID: <55CBAC53.8040202@free.fr> Hello Wolfgang, Le 12/08/2015 08:50, SCHULZ Wolfgang a ?crit : > Hello, > I tested the alpha version of SCILAB 6 and have a problem with the mode command: > mode(-1) - switches off the display of variable on the console - this works > > But e.g. the mode(0) works differently in SCILAB 6. All comments and lines of the source code are displayed. > > Is this a bug?? I was waiting for improvements about mode() -- mainly for paused and/or commands-echoing modes -- so with Scilab 6, after your mail, i did an exhaustive checking of execution modes: - with mode() in a function - with mode() in a script run with exec(script.sce) - with exec(script.sce, mode) I confirm that there are several changes: 1) With *mode() in a function:* Scilab 6.0.0-a1 / 5.5.2 --------------- mode vars pause commands echo echo -1: 0 : x 1 : x 2 : x 3 : x 4 : CANCELED 5 : x 6 : CANCELED CANCELED 7 : CANCELED CANCELED 8 : CANCELED *Conclusions #1*: Only bad news: 1. There is no longer any paused mode.**This is a big regression. Killing every tool enabling debugging seems to be the rule for years now... 2. Commands echoing that was requested is still unavailable. *2) mode() in a script.sce run with exec() or in exec("script.sce", mode)* Scilab 6.0.0-a1 / 5.5.2 --------------- mode vars pause commands compact Comments -1: 0 : x ADDED 1 : x x x 2 : x ADDED (2) 3 : x x 4 : CANCELED (4) 5 : x x x (5) 6 : CANCELED CANCELED (6) 7 : CANCELED CANCELED CANCELED (7) 8 : x CANCELED * (2) SUPPRESSED (OK): The commands lines were echoed with \n, that was useless and made very flufy output. * (4) SUPPRESSED (OK): A message "Mode pause" was displayed, although there was no pause! * (5) SUPPRESSED (OK): in exec(..,mode), a heading line "step-by-step mode: enter carriage return to proceed" was displayed, although there was no pause! * (6) SUPPRESSED (OK): Each command line was replaced with an empty prompt ">>(nothing)" * (7) SUPPRESSED (OK): Each echoed command line ">> command.." was prepended with a useless empty prompt ">>(nothing)\n" *Conclusions #2*: 1. Inconsistent messages have been removed, as well as useless lines when echoing commands 2. There is no longer any paused mode.**So, now, it is everywhere! 3. This review has shown that effects with mode() in scripts or as exec option were exactly the same, while help pages for mode() and exec() were (and are still) inconsistent. The exec() help page should only point to the mode() one for its mode option. 4. There is no real systematic mapping of mode for concerned features: * echoing variables (not followed with ";") * echoing commands * paused mode * compact output As it is quite common, a bit yes/no could be assigned to each feature, building the mode number. That's not look to be the case. So several modes do the same. And some useful combinations are missing. I hope strongly that the disappearance of paused modes -- that are also useful in demos, with only bad and very heavy work-arounds -- , is a bug, not a choice. As you see, to answer to your need, as long as the former 0 mode won't be restored, you may use *mode(8)* instead. Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Thu Aug 13 02:50:18 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Wed, 12 Aug 2015 21:50:18 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439401403311-4032673.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com> Message-ID: Hi: As far as i know, scilab does not have a symbolic function for an infinite summation... Scilab is mainly intended for numeric calculation... so that functions are not yet implemented (perhaps in future versions). If you want to do a symbolic calculation of the z-transfor you mentioned, and you want free software, i would use maxima... It's a powerfull symbolic software... In maxima you could simply do "sum(0.5^n*z^(-n), n, 1, inf), simpsum;" then, you will have to input some conditions that you can see from the ROC of the z-transform... In this case maxima will ask: "Is "2*abs(z)-1" positive, negative or zero?" And i assume it's possitive given the function you want to transform... then you type "p" and you will get the answer... If someone knows a toolbox for scilab to do this... please tell us! I hope this is usefull for you > Date: Wed, 12 Aug 2015 10:43:23 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: [Scilab-users] Symbolic computation in Scilab > > Greetings everyone. > I'm completely new to Scilab so forgive my if this question is to simple. > I need some sort of way to allow symbolic computation in Scilab. I need to > execute commands like *symsum*, and for that, based on my current research, > i need to install some kind of additional toolbox. I have Windows 8.1, and i > have seen certain toolboxes which require explicitly Linux. I have a very > limited amount of time to do a project in Scilab for z-transformation of > discrete time signals (next 4-5 days) and so I really need to be able to > execute little scripts like this one. > > syms n z; > a = 0.5; > x =(a)^n > X = symsum (x*(z^(-n)),n ,0, %inf ) > disp (X," ans=") > > Any help, in form of some instructions, download link for additional > software or anything else would be much appreciated. > Thanks in advance > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From W.Schulz at ove.at Thu Aug 13 10:53:05 2015 From: W.Schulz at ove.at (SCHULZ Wolfgang) Date: Thu, 13 Aug 2015 08:53:05 +0000 Subject: [Scilab-users] mode() changes. Paused modes canceled. Commands echo not in functions. In-Reply-To: <55CBAC53.8040202@free.fr> References: <07A8AF089844A549B0F0CCC727AF31AA5798EEFE@OVEKBG.ove.at> <55CBAC53.8040202@free.fr> Message-ID: <07A8AF089844A549B0F0CCC727AF31AA5798F514@OVEKBG.ove.at> Hello, thanks for this extensive test. Maybe the one of the developers should tell if I should enter a bug report. Wolfgang Von: users [mailto:users-bounces at lists.scilab.org] Im Auftrag von Samuel Gougeon Gesendet: Mittwoch, 12. August 2015 22:28 An: Users mailing list for Scilab Betreff: [Scilab-users] mode() changes. Paused modes canceled. Commands echo not in functions. Hello Wolfgang, Le 12/08/2015 08:50, SCHULZ Wolfgang a ?crit : Hello, I tested the alpha version of SCILAB 6 and have a problem with the mode command: mode(-1) - switches off the display of variable on the console - this works But e.g. the mode(0) works differently in SCILAB 6. All comments and lines of the source code are displayed. Is this a bug?? I was waiting for improvements about mode() -- mainly for paused and/or commands-echoing modes -- so with Scilab 6, after your mail, i did an exhaustive checking of execution modes: - with mode() in a function - with mode() in a script run with exec(script.sce) - with exec(script.sce, mode) I confirm that there are several changes: 1) With mode() in a function: Scilab 6.0.0-a1 / 5.5.2 --------------- mode vars pause commands echo echo -1: 0 : x 1 : x 2 : x 3 : x 4 : CANCELED 5 : x 6 : CANCELED CANCELED 7 : CANCELED CANCELED 8 : CANCELED Conclusions #1: Only bad news: 1. There is no longer any paused mode. This is a big regression. Killing every tool enabling debugging seems to be the rule for years now... 2. Commands echoing that was requested is still unavailable. 2) mode() in a script.sce run with exec() or in exec("script.sce", mode) Scilab 6.0.0-a1 / 5.5.2 --------------- mode vars pause commands compact Comments -1: 0 : x ADDED 1 : x x x 2 : x ADDED (2) 3 : x x 4 : CANCELED (4) 5 : x x x (5) 6 : CANCELED CANCELED (6) 7 : CANCELED CANCELED CANCELED (7) 8 : x CANCELED * (2) SUPPRESSED (OK): The commands lines were echoed with \n, that was useless and made very flufy output. * (4) SUPPRESSED (OK): A message "Mode pause" was displayed, although there was no pause! * (5) SUPPRESSED (OK): in exec(..,mode), a heading line "step-by-step mode: enter carriage return to proceed" was displayed, although there was no pause! * (6) SUPPRESSED (OK): Each command line was replaced with an empty prompt ">>(nothing)" * (7) SUPPRESSED (OK): Each echoed command line ">> command.." was prepended with a useless empty prompt ">>(nothing)\n" Conclusions #2: 1. Inconsistent messages have been removed, as well as useless lines when echoing commands 2. There is no longer any paused mode. So, now, it is everywhere! 3. This review has shown that effects with mode() in scripts or as exec option were exactly the same, while help pages for mode() and exec() were (and are still) inconsistent. The exec() help page should only point to the mode() one for its mode option. 4. There is no real systematic mapping of mode for concerned features: * echoing variables (not followed with ";") * echoing commands * paused mode * compact output As it is quite common, a bit yes/no could be assigned to each feature, building the mode number. That's not look to be the case. So several modes do the same. And some useful combinations are missing. I hope strongly that the disappearance of paused modes -- that are also useful in demos, with only bad and very heavy work-arounds -- , is a bug, not a choice. As you see, to answer to your need, as long as the former 0 mode won't be restored, you may use mode(8) instead. Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From doole93 at gmail.com Thu Aug 13 13:41:20 2015 From: doole93 at gmail.com (duce) Date: Thu, 13 Aug 2015 04:41:20 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com> Message-ID: <1439466080434-4032678.post@n3.nabble.com> Thank you for your reply. Currently, I am trying to figure my way through Maxima to get it to do what i need for my project. Anyway, there is a toolbox for that, and it's called Scimax. Here is the link http://forge.scilab.org/index.php/p/scimax/ It's for Linux only. Problem is, I really can't install it properly, since it requires some other toolbox called Overload and i really can't manage to install it since I'm not too skilled with Ubuntu. If someone could explain on how to install this on on Ubuntu, it would be a perfect solution for the problem. Thank you again -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032678.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From john.gliksberg at scilab-enterprises.com Thu Aug 13 14:12:22 2015 From: john.gliksberg at scilab-enterprises.com (John Gliksberg) Date: Thu, 13 Aug 2015 14:12:22 +0200 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439466080434-4032678.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> Message-ID: <55CC89A6.8070301@scilab-enterprises.com> On 13/08/2015 13:41, duce wrote: > Thank you for your reply. Currently, I am trying to figure my way through > Maxima to get it to do what i need for my project. > Anyway, there is a toolbox for that, and it's called Scimax. Here is the > link http://forge.scilab.org/index.php/p/scimax/ > It's for Linux only. Problem is, I really can't install it properly, since > it requires some other toolbox called Overload and i really can't manage to > install it since I'm not too skilled with Ubuntu. If someone could explain > on how to install this on on Ubuntu, it would be a perfect solution for the > problem. > Thank you again > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032678.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Hi duce, This toolbox isn't available on Atoms. To use it from the sources on the forge, you need to download it using one of the following methods : * http://forge.scilab.org/index.php/p/scimax/source/download/master/ then unpack the .zip * $ git clone git at git.forge.scilab.org:scimax.git then, in scilab, use cd or the GUI to move to the source folder of the toolbox. From here you can build the toolbox by executing the builder : * --> exec builder.sce If it built successfully, you can load it : * --> exec loader.sce And then use it, load help files, etc. !!! This depends on the toolbox Overload, which is also not available on Atoms, and must therefore also be built from source : * http://forge.scilab.org/index.php/p/overload/source/download/master/ then unpack the .zip * $ git clone git at git.forge.scilab.org:overload.git etc. You should, in the same Scilab session, run Overload's loader before Scimax's loader. Of course, Atoms exists to avoid all this - hopefully these toolboxes could be added to Atoms in the near future. Hope this helps, -- John Gliksberg Scilab Enterprises tel: +33.6.40.60.76.95 -------------- next part -------------- An HTML attachment was scrubbed... URL: From doole93 at gmail.com Thu Aug 13 15:21:02 2015 From: doole93 at gmail.com (duce) Date: Thu, 13 Aug 2015 06:21:02 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <55CC89A6.8070301@scilab-enterprises.com> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <55CC89A6.8070301@scilab-enterprises.com> Message-ID: <1439472062318-4032680.post@n3.nabble.com> Thank you guys, you've been extremely helpful. -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032680.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From john.gliksberg at scilab-enterprises.com Thu Aug 13 16:50:25 2015 From: john.gliksberg at scilab-enterprises.com (John Gliksberg) Date: Thu, 13 Aug 2015 16:50:25 +0200 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439472062318-4032680.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <55CC89A6.8070301@scilab-enterprises.com> <1439472062318-4032680.post@n3.nabble.com> Message-ID: <55CCAEB1.30202@scilab-enterprises.com> On 13/08/2015 15:21, duce wrote: > Thank you guys, you've been extremely helpful. > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032680.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Please let me correct myself : Overload is available in Atoms : http://atoms.scilab.org/toolboxes/Overload_Toolbox/ -- John Gliksberg Scilab Enterprises tel: +33.6.40.60.76.95 From tim at wescottdesign.com Thu Aug 13 20:02:34 2015 From: tim at wescottdesign.com (Tim Wescott) Date: Thu, 13 Aug 2015 11:02:34 -0700 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439466080434-4032678.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> Message-ID: <1439488954.2753.15.camel@Servo> On Thu, 2015-08-13 at 04:41 -0700, duce wrote: > Thank you for your reply. Currently, I am trying to figure my way through > Maxima to get it to do what i need for my project. > Anyway, there is a toolbox for that, and it's called Scimax. Here is the > link http://forge.scilab.org/index.php/p/scimax/ > It's for Linux only. Problem is, I really can't install it properly, since > it requires some other toolbox called Overload and i really can't manage to > install it since I'm not too skilled with Ubuntu. If someone could explain > on how to install this on on Ubuntu, it would be a perfect solution for the > problem. > Thank you again Unless you have some external requirement for doing everything within Scilab, I strongly suggest that you use Maxima by itself. If you're a beginning user, try WxMaxima. It makes using Maxima considerably easier -- it basically wraps Maxima with a shell that lets you point & click for solutions. Maxima (and, for that matter Maple, which is its commercial counterpart) does not do as well as a human being on really difficult or intricate problems: there are some things that I try on it that I know have solutions that Maxima simply cannot find. Far more often, there are simplifications that I know are out there that I cannot coerce Maxima to express. I have, however, found that if all you can get out of Maxima is something really complicated and you suspect that it has a much more convenient form, you can try - ; If Maxima hurks up '0', then you know that your candidate form is correct. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 From doole93 at gmail.com Thu Aug 13 20:28:08 2015 From: doole93 at gmail.com (duce) Date: Thu, 13 Aug 2015 11:28:08 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439488954.2753.15.camel@Servo> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> Message-ID: <1439490488586-4032683.post@n3.nabble.com> Actually, everything has to be done in Scilab, since it is for a project for Signals and Systems exam at my college, but thank you anyway. Your help is much appreciated. -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032683.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From pablo_f_7 at hotmail.com Thu Aug 13 23:50:12 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Thu, 13 Aug 2015 18:50:12 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439490488586-4032683.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>,<1439490488586-4032683.post@n3.nabble.com> Message-ID: Hi: Im courious about one thing... if i may ask, what are you going to do with the z-transform? Is the z-transfor the result of your excersise, or you want it to do some other calculation after that? Could you give me some more information about the problem you wan't to solve? I would also tell your teacher to let you use Maxima alone for symbolic... SciMax toolbox is a bit old, and i'm not sure if it's fully compatible with the newer versions of scilab and maxima. I totally agree with Tim's answer > Date: Thu, 13 Aug 2015 11:28:08 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > Actually, everything has to be done in Scilab, since it is for a project for > Signals and Systems exam at my college, but thank you anyway. Your help is > much appreciated. > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032683.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From doole93 at gmail.com Fri Aug 14 14:57:22 2015 From: doole93 at gmail.com (duce) Date: Fri, 14 Aug 2015 05:57:22 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> Message-ID: <1439557042073-4032685.post@n3.nabble.com> Well to sum it up, the point of the exam is to give a theoretical basis of the z-transform, introduction, region of convergence, properties of the z-transform, and something little about the inverse z-transform. Along with it comes a series of problems that need to be solved. The solutions consist of a theoretical part, and a concrete solution in Scilab only. The problems are from Alan V. Oppenheim's book "Signals and systems" 2nd edition. Specifically problems 10.1-10.1. Solutions should be like the ones that are presented in this book http://www.scilab.in/files/textbooks/ProfSenthikumar/OW.pdf -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032685.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From doole93 at gmail.com Sat Aug 15 04:29:36 2015 From: doole93 at gmail.com (duce) Date: Fri, 14 Aug 2015 19:29:36 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439557042073-4032685.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> <1439557042073-4032685.post@n3.nabble.com> Message-ID: <1439605776618-4032686.post@n3.nabble.com> Another thing i wanted to ask. When executing a script such as this Syms n z ; x1 =(0.33) ^( n ) X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ) x2 =(0.5) ^( n ) X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ) X = X1 - X2 disp (X , 'a n s=' ) i get something like this a n s= %inf %inf ==== n ==== n \ 0.33 \ 0.5 7 > ----- - 6 > ---- / n / n ==== z ==== z n = 0 n = 0 Since I'm a newbie in Scilab, and I'm also not particularly good with the mathematical background of the z-transformation (I'm still learning it), is this the output I should be getting from the sequence of commands above? -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032686.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From doole93 at gmail.com Sat Aug 15 19:04:54 2015 From: doole93 at gmail.com (duce) Date: Sat, 15 Aug 2015 10:04:54 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439605776618-4032686.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> <1439557042073-4032685.post@n3.nabble.com> <1439605776618-4032686.post@n3.nabble.com> Message-ID: <1439658294422-4032688.post@n3.nabble.com> Anybody know the answer to the last question? I'm kind of desperate right now, since I'm really confused with the output of the executed script described above -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032688.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From pablo_f_7 at hotmail.com Sun Aug 16 04:05:23 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sat, 15 Aug 2015 23:05:23 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439605776618-4032686.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , <1439557042073-4032685.post@n3.nabble.com>, <1439605776618-4032686.post@n3.nabble.com> Message-ID: Hi: I assume that you wanted to calculate the z-transfor of the difference of 7*x1 and 6*x2... And for the limits of your sumation, i also assume your sequence is causal... In theory, if im not making a mistake, X1(z) should be 1/(1-0.33*z^(-1)) and X2(z)=1/(1-0.5*z^(-1))... If this is right, the answer should be the difference between them, scaled by 7 and 6 respectively... If i do the calculations with maxima i get the expected result... However, as i think i told you before, maxima asks for some convergence conditions... For example, when i try to do the first summation it ask if |z|-0.33 is positive, negative or zero... this is like giving the ROC of the z transfor, that in this case is |z|>0.33 so you have to answer "p" for positive... I don't know is scilab with the scimax toolbox asked for this convergence conditions... but i think that that is the problem yo are having... remebmer that if |z| Date: Fri, 14 Aug 2015 19:29:36 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > Another thing i wanted to ask. When executing a script such as this > Syms n z ; > x1 =(0.33) ^( n ) > X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ) > x2 =(0.5) ^( n ) > X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ) > X = X1 - X2 > disp (X , 'a n s=' ) > > i get something like this > > a n s= > > %inf %inf > ==== n ==== n > \ 0.33 \ 0.5 > 7 > ----- - 6 > ---- > / n / n > ==== z ==== z > n = 0 n = 0 > > Since I'm a newbie in Scilab, and I'm also not particularly good with the > mathematical background of the z-transformation (I'm still learning it), is > this the output I should be getting from the sequence of commands above? > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032686.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Sun Aug 16 04:15:41 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sat, 15 Aug 2015 23:15:41 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com>, , , , <1439466080434-4032678.post@n3.nabble.com>, <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , , , <1439557042073-4032685.post@n3.nabble.com>, , <1439605776618-4032686.post@n3.nabble.com>, Message-ID: Hi: In what version of scilab did you install scimax? From: pablo_f_7 at hotmail.com To: users at lists.scilab.org Date: Sat, 15 Aug 2015 23:05:23 -0300 Subject: Re: [Scilab-users] Symbolic computation in Scilab Hi: I assume that you wanted to calculate the z-transfor of the difference of 7*x1 and 6*x2... And for the limits of your sumation, i also assume your sequence is causal... In theory, if im not making a mistake, X1(z) should be 1/(1-0.33*z^(-1)) and X2(z)=1/(1-0.5*z^(-1))... If this is right, the answer should be the difference between them, scaled by 7 and 6 respectively... If i do the calculations with maxima i get the expected result... However, as i think i told you before, maxima asks for some convergence conditions... For example, when i try to do the first summation it ask if |z|-0.33 is positive, negative or zero... this is like giving the ROC of the z transfor, that in this case is |z|>0.33 so you have to answer "p" for positive... I don't know is scilab with the scimax toolbox asked for this convergence conditions... but i think that that is the problem yo are having... remebmer that if |z| Date: Fri, 14 Aug 2015 19:29:36 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > Another thing i wanted to ask. When executing a script such as this > Syms n z ; > x1 =(0.33) ^( n ) > X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ) > x2 =(0.5) ^( n ) > X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ) > X = X1 - X2 > disp (X , 'a n s=' ) > > i get something like this > > a n s= > > %inf %inf > ==== n ==== n > \ 0.33 \ 0.5 > 7 > ----- - 6 > ---- > / n / n > ==== z ==== z > n = 0 n = 0 > > Since I'm a newbie in Scilab, and I'm also not particularly good with the > mathematical background of the z-transformation (I'm still learning it), is > this the output I should be getting from the sequence of commands above? > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032686.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From doole93 at gmail.com Sun Aug 16 12:30:30 2015 From: doole93 at gmail.com (duce) Date: Sun, 16 Aug 2015 03:30:30 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> <1439557042073-4032685.post@n3.nabble.com> <1439605776618-4032686.post@n3.nabble.com> Message-ID: <1439721030164-4032691.post@n3.nabble.com> When I do disp(X1) i get this a n s= %inf ==== n \ 0.33 7 > ----- / n ==== z n = 0 and with disp(X2) i get a n s= %inf ==== n \ 0.5 6 > ---- / n ==== z n = 0 -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032691.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From doole93 at gmail.com Sun Aug 16 12:31:37 2015 From: doole93 at gmail.com (duce) Date: Sun, 16 Aug 2015 03:31:37 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> <1439557042073-4032685.post@n3.nabble.com> <1439605776618-4032686.post@n3.nabble.com> Message-ID: <1439721097925-4032692.post@n3.nabble.com> The version of Scilab is the latest one, 5.3 -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032692.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From doole93 at gmail.com Sun Aug 16 13:18:29 2015 From: doole93 at gmail.com (duce) Date: Sun, 16 Aug 2015 04:18:29 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com> <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> <1439557042073-4032685.post@n3.nabble.com> <1439605776618-4032686.post@n3.nabble.com> Message-ID: <1439723909088-4032693.post@n3.nabble.com> I forgot, the scimax toolbox doesn't ask me to input any convergence conditions -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Sun Aug 16 15:55:08 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 16 Aug 2015 15:55:08 +0200 Subject: [Scilab-users] Wider frames with xstring(..."$\fcolorbox{}{}$") since 5.4.1 Message-ID: <55D0963C.6000101@free.fr> Hello, It is possible to put a customizable frame around a text on a figure by using a "$\fcolorbox{frameColor}{backgroundColor}{text}$" setting. However, the rendering of this LaTeX directive has changed from Scilab 5.4.0 to later Scilab versions from 5.4.1 until now with 6.0.0-a1. This is illustrated here-below: The frame is now quite larger, in such a way that a series of aligned framed labels -- as for instance to label peaks and dips on a spectrum -- that were formerly OK are now overlapping. Would anyone know a way to restore the former default size of the frame, i mean, without being compelled to put additional directives in each LaTeX string, with a self-adaptative size? Thanks Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecdhbaab.png Type: image/png Size: 5814 bytes Desc: not available URL: From pablo_f_7 at hotmail.com Sun Aug 16 17:55:44 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sun, 16 Aug 2015 12:55:44 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439721030164-4032691.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , <1439557042073-4032685.post@n3.nabble.com>, <1439605776618-4032686.post@n3.nabble.com>, , <1439721030164-4032691.post@n3.nabble.com> Message-ID: Hi: First of all... scilab latest stable version is 5.5.2, not 5.3... i asked this to you cause i wasn't able to install scimax in scilab 5.5.2 so i could not try your script... Then, i think that the output you are getting is just the summation... let's take a look to the output of x1: First you have the 7 scale factor, then, the "=" , "/", and "\" form the symbol of a summation, from n=0 to %inf... then... inside of it you have 0.33^n/(z^n)... so what scilab did was writing the summation in a symbolic way... It does that cause that summation is not always convergent i think.. Perhaps you can see it if we write tha same like this: %inf ==== n \ 0.33 7 > ----- n / z ==== n = 0 If you could somhow specify that |z|>0.33 before doing the summation, but i don't know how to do it on scimax... If you try with maxima alone the result is ok.. If i can install scimax in scilab 5.5.2 i will try to solve this problem you are having > Date: Sun, 16 Aug 2015 03:30:30 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > When I do disp(X1) i get this > a n s= > > %inf > ==== n > \ 0.33 > 7 > ----- > / n > ==== z > n = 0 > > and with disp(X2) i get > a n s= > > %inf > ==== n > \ 0.5 > 6 > ---- > / n > ==== z > n = 0 > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032691.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Sun Aug 16 17:58:27 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sun, 16 Aug 2015 12:58:27 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439723909088-4032693.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , <1439557042073-4032685.post@n3.nabble.com>, <1439605776618-4032686.post@n3.nabble.com>, , , <1439723909088-4032693.post@n3.nabble.com> Message-ID: Hey: Another thing, in maxima sometimes when the output is a summation like the one you showed, you can say maxima to calculate it with the command "simpsum=true"... i don't know if there is a similar command for scimax, but there should be... perhaps if you search in scimax's help > Date: Sun, 16 Aug 2015 04:18:29 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > I forgot, the scimax toolbox doesn't ask me to input any convergence > conditions > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Sun Aug 16 18:23:23 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sun, 16 Aug 2015 13:23:23 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439723909088-4032693.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , <1439557042073-4032685.post@n3.nabble.com>, <1439605776618-4032686.post@n3.nabble.com>, , , <1439723909088-4032693.post@n3.nabble.com> Message-ID: Hi: Can you check if you can pass the command "assume(z>0.5)" before doing the summations? > Date: Sun, 16 Aug 2015 04:18:29 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > I forgot, the scimax toolbox doesn't ask me to input any convergence > conditions > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Sun Aug 16 23:01:42 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sun, 16 Aug 2015 18:01:42 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439723909088-4032693.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , <1439557042073-4032685.post@n3.nabble.com>, <1439605776618-4032686.post@n3.nabble.com>, , , <1439723909088-4032693.post@n3.nabble.com> Message-ID: Hi: i think i finally solved your problem use this script Syms n z ; x1 =(0.33) ^( n ) X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ) X1=ev(X1,'simpsum=true') x2 =(0.5) ^( n ) X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ) X2=ev(X2,'simpsum=true') X = X1 - X2 i just added the ev instruction after calculating X1 and X2 to simplify the sum... the result is X = 7.0 6.0 --------- - ------- 33 1 1 - ----- 1 - --- 100 z 2 z that is correct! > Date: Sun, 16 Aug 2015 04:18:29 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > I forgot, the scimax toolbox doesn't ask me to input any convergence > conditions > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Sun Aug 16 23:07:23 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sun, 16 Aug 2015 18:07:23 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439401403311-4032673.post@n3.nabble.com>, , , , <1439466080434-4032678.post@n3.nabble.com>, <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , , , <1439557042073-4032685.post@n3.nabble.com>, , <1439605776618-4032686.post@n3.nabble.com>, , , , , , <1439723909088-4032693.post@n3.nabble.com>, Message-ID: dont forget to do an "assume(z>0.5)" before all so that the sum is not infinite From: pablo_f_7 at hotmail.com To: users at lists.scilab.org Date: Sun, 16 Aug 2015 18:01:42 -0300 Subject: Re: [Scilab-users] Symbolic computation in Scilab Hi: i think i finally solved your problem use this script Syms n z ; x1 =(0.33) ^( n ) X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ) X1=ev(X1,'simpsum=true') x2 =(0.5) ^( n ) X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ) X2=ev(X2,'simpsum=true') X = X1 - X2 i just added the ev instruction after calculating X1 and X2 to simplify the sum... the result is X = 7.0 6.0 --------- - ------- 33 1 1 - ----- 1 - --- 100 z 2 z that is correct! > Date: Sun, 16 Aug 2015 04:18:29 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > I forgot, the scimax toolbox doesn't ask me to input any convergence > conditions > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Sun Aug 16 23:13:38 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Sun, 16 Aug 2015 18:13:38 -0300 Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: <1439723909088-4032693.post@n3.nabble.com> References: <1439401403311-4032673.post@n3.nabble.com>, , <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo>, <1439490488586-4032683.post@n3.nabble.com>, , <1439557042073-4032685.post@n3.nabble.com>, <1439605776618-4032686.post@n3.nabble.com>, , , <1439723909088-4032693.post@n3.nabble.com> Message-ID: Finally, this would be the complete script Syms n z ; assume(abs(z)>0.5); x1 =(0.33) ^( n ); X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ); X1=ev(X1,'simpsum=true'); x2 =(0.5) ^( n ); X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ); X2=ev(X2,'simpsum=true'); X = X1 - X2 disp(X,'ans=') > Date: Sun, 16 Aug 2015 04:18:29 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > I forgot, the scimax toolbox doesn't ask me to input any convergence > conditions > > > > -- > View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From doole93 at gmail.com Sun Aug 16 23:29:40 2015 From: doole93 at gmail.com (duce) Date: Sun, 16 Aug 2015 14:29:40 -0700 (MST) Subject: [Scilab-users] Symbolic computation in Scilab In-Reply-To: References: <1439466080434-4032678.post@n3.nabble.com> <1439488954.2753.15.camel@Servo> <1439490488586-4032683.post@n3.nabble.com> <1439557042073-4032685.post@n3.nabble.com> <1439605776618-4032686.post@n3.nabble.com> <1439723909088-4032693.post@n3.nabble.com> Message-ID: Man, I can't tell you how helpful this was. Thank you for your commitment to this problem of mine :) If I have any further problems, i will continue to post in the thread. Kind regards On Sun, Aug 16, 2015 at 11:15 PM, PabloF [via Scilab / Xcos - Mailing Lists Archives] wrote: > Finally, this would be the complete script > > Syms n z ; > assume(abs(z)>0.5); > x1 =(0.33) ^( n ); > X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf ); > X1=ev(X1,'simpsum=true'); > x2 =(0.5) ^( n ); > X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf ); > X2=ev(X2,'simpsum=true'); > X = X1 - X2 > disp(X,'ans=') > > > Date: Sun, 16 Aug 2015 04:18:29 -0700 > > > From: [hidden email] > > > To: [hidden email] > > > Subject: Re: [Scilab-users] Symbolic computation in Scilab > > > > I forgot, the scimax toolbox doesn't ask me to input any convergence > > conditions > > > > > > > > -- > > View this message in context: > http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html > > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > _______________________________________________ > > users mailing list > > [hidden email] > > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032700.html > To unsubscribe from Symbolic computation in Scilab, click here > > . > NAML > > -- View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032701.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Tue Aug 18 08:44:43 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 18 Aug 2015 08:44:43 +0200 Subject: [Scilab-users] All variables in scilab.ini/.scilab startup file turn protected? About predef() (1) In-Reply-To: <55C38D63.1020206@free.fr> References: <55C38973.8060806@free.fr> <55C38D63.1020206@free.fr> Message-ID: <1439880283.7963.5.camel@scilab-enterprises.com> Hi Samuel, Yep I confirm this behavior and it seems related to a scope management change (issue or not). The point is : scilab.ini seems to be loaded on a parent scope to avoid any predef settings. ``` === scilab.ini === a=1 // define a variable "a" === Console === a=2 // I re-define a the "a" variable with a new value clear a // I clear the "a" variable on the current scope a // the "a" variable comes from the parent scope ``` Do not hesitate to file a bug if this behavior does not fill your needs. Regards, -- Cl?ment Le jeudi 06 ao?t 2015 ? 18:37 +0200, Samuel Gougeon a ?crit : > Le 06/08/2015 18:21, Samuel Gougeon a ?crit : > > .../... > > Could anyone confirm this behavior? Here is the test: > > > > edit(SCIHOME+"/scilab.ini") > > //add the line > > a=1 > > // in the file. Save it. Quit and restart Scilab. In the new > > session, try > > a // should display 1 > > clear a // could display a warning. Nothing is display (reported > > as http://bugzilla.scilab.org/9709 ?) > > a // still here. Not deleted = protected > Even not. A piece of surealism, a=1 being written in scilab.ini: > > Startup execution: > loading initial environment > Warning : redefining function: head_comments . Use > funcprot(0) to avoid this message > ------------------------------------------------------------ > This is alpha version: avoid using in production > but please report any problem at http://bugzilla.scilab.org. > Thank you! > ------------------------------------------------------------ > > --> a > a = > 1. > --> clear a > --> a > a = > 1. > > --> a=2 // overwritable?! > a = > 2. // it looks that yes! > --> a > a = > 2. // not just a display issue.. > > --> clear a // the last experience that should not be done... > --> a > a = > 1. That's a ghost!! > > --> a*2 // what should be expect: 2 or 4? > ans = > 2. > > Any confirmation welcome. > SG > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From clement.david at scilab-enterprises.com Tue Aug 18 09:16:04 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 18 Aug 2015 09:16:04 +0200 Subject: [Scilab-users] Spider Chart In-Reply-To: References: Message-ID: <1439882164.7963.17.camel@scilab-enterprises.com> Hello Pascal, First thanks for sharing this piece of code, it seems great enough to be integrated into Scilab. If you want it to be integrated, do not hesitate to write a SEP [1] and/or test-cases and post them to better understand the implementation (and limitation of it). [1]: http://wiki.scilab.org/How%20to%20introduce%20a%20new%20function%2 0in%20Scilab Regards, -- Cl?ment Le mardi 11 ao?t 2015 ? 15:56 +0200, Pascal Buehler a ?crit : > Comming nearer, but i have problems to seperate the strings for each > angle. is there a goo algorithm or way to put each Test to each > webcorner? > > here is the code so far. > > //function Spider_Chart(Text,Value) > > //make shure the Text and Value entrance are correct. > Text=["fgdfgdf","dfsdf","fdf","dfsfd","dfggg","dfgfgg"] > [a]=type(Text); > if a~= 10 then disp("Error entry on Text"); > end; > > Value=[10,20,40,30,5,15] > [b]=type(Value); > if b~= 1 then disp("Error entry on Value"); > end; > > //the size of Text list and the maximum value defines the Web. > c=size(Text); > d=size (Value); > > if c(2)~= d(2) then disp("Error entry"); > end; > > e=c(2); > f=[1:1:e,1]; > g=2*%pi/e*f; > h=max(Value)*1.2; > i=zeros(c(1),c(2)+1); > j=h*sin(g); > k=h*cos(g); > > //Ticks > l=[5:5:h]'; > m=[1:1:h]'; > if h>=10 then n=l*sin(g), o=l*cos(g); > else n=m*sin(g), o=m*cos(g); > end; > > //Text > > //draw the basic Spider-Chart > figure("figure_name",gettext("Spider > Chart"),"Position",[50,50,500,500],"BackgroundColor",[1.0,1.0,1.0]); > title('$Spider\ Chart$','color','black','fontsize',5); > > xsegs([i;j],[i;k]); > p = gce(); p.segs_color=33; p.line_style=1; > > xpoly(j,k) > q = gce(); q.foreground=33; q.line_style=1; > > xpoly(n',o') > r = gce(); r.foreground=33; r.line_style=1; > > xstring(j,k,Text(1:1:g),0) > ???? > > //draw the input values Spider-Chart > > with best regards / mit freundlichen Gr?ssen / cordialement > > Pascal B?hler > Qualit?t-Hardware / Pr?fingenieur > SAUTER HeadOffice > Fr. Sauter AG > Im Surinam 55, CH-4016 Basel > Telefon +41 (0)61 695 5646 > Telefax +41 (0)61 695 5619 > http://www.sauter-controls.com > > DISCLAIMER: > This communication, and the information it contains is for the sole > use of > the intended recipient. It is confidential, may be legally privileged > and > protected by law. Unauthorized use, copying or disclosure of any part > thereof may be unlawful. If you have received this communication in > error, > please destroy all copies and kindly notify the sender. > > Before printing out this e-mail or its attachments, please consider > whether > it is really necessary to do so. > Using less paper helps the environment. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From pascal.buehler at ch.sauter-bc.com Tue Aug 18 09:55:47 2015 From: pascal.buehler at ch.sauter-bc.com (Pascal Buehler) Date: Tue, 18 Aug 2015 09:55:47 +0200 Subject: [Scilab-users] Antwort: Re: Spider Chart In-Reply-To: <1439882164.7963.17.camel@scilab-enterprises.com> References: <1439882164.7963.17.camel@scilab-enterprises.com> Message-ID: you can integradet if you want, but for me I'havent solved the problem with the text values sourrounding the spiderchart. with best regards / mit freundlichen Gr?ssen / cordialement Pascal B?hler Qualit?t-Hardware / Pr?fingenieur SAUTER HeadOffice Fr. Sauter AG Im Surinam 55, CH-4016 Basel Telefon +41 (0)61 695 5646 Telefax +41 (0)61 695 5619 http://www.sauter-controls.com DISCLAIMER: This communication, and the information it contains is for the sole use of the intended recipient. It is confidential, may be legally privileged and protected by law. Unauthorized use, copying or disclosure of any part thereof may be unlawful. If you have received this communication in error, please destroy all copies and kindly notify the sender. Before printing out this e-mail or its attachments, please consider whether it is really necessary to do so. Using less paper helps the environment. Von: Cl?ment David An: Users mailing list for Scilab , Datum: 18.08.2015 09:16 Betreff: Re: [Scilab-users] Spider Chart Gesendet von: "users" Hello Pascal, First thanks for sharing this piece of code, it seems great enough to be integrated into Scilab. If you want it to be integrated, do not hesitate to write a SEP [1] and/or test-cases and post them to better understand the implementation (and limitation of it). [1]: http://wiki.scilab.org/How%20to%20introduce%20a%20new%20function%2 0in%20Scilab Regards, -- Cl?ment Le mardi 11 ao?t 2015 ? 15:56 +0200, Pascal Buehler a ?crit : > Comming nearer, but i have problems to seperate the strings for each > angle. is there a goo algorithm or way to put each Test to each > webcorner? > > here is the code so far. > > //function Spider_Chart(Text,Value) > > //make shure the Text and Value entrance are correct. > Text=["fgdfgdf","dfsdf","fdf","dfsfd","dfggg","dfgfgg"] > [a]=type(Text); > if a~= 10 then disp("Error entry on Text"); > end; > > Value=[10,20,40,30,5,15] > [b]=type(Value); > if b~= 1 then disp("Error entry on Value"); > end; > > //the size of Text list and the maximum value defines the Web. > c=size(Text); > d=size (Value); > > if c(2)~= d(2) then disp("Error entry"); > end; > > e=c(2); > f=[1:1:e,1]; > g=2*%pi/e*f; > h=max(Value)*1.2; > i=zeros(c(1),c(2)+1); > j=h*sin(g); > k=h*cos(g); > > //Ticks > l=[5:5:h]'; > m=[1:1:h]'; > if h>=10 then n=l*sin(g), o=l*cos(g); > else n=m*sin(g), o=m*cos(g); > end; > > //Text > > //draw the basic Spider-Chart > figure("figure_name",gettext("Spider > Chart"),"Position",[50,50,500,500],"BackgroundColor",[1.0,1.0,1.0]); > title('$Spider\ Chart$','color','black','fontsize',5); > > xsegs([i;j],[i;k]); > p = gce(); p.segs_color=33; p.line_style=1; > > xpoly(j,k) > q = gce(); q.foreground=33; q.line_style=1; > > xpoly(n',o') > r = gce(); r.foreground=33; r.line_style=1; > > xstring(j,k,Text(1:1:g),0) > ???? > > //draw the input values Spider-Chart > > with best regards / mit freundlichen Gr?ssen / cordialement > > Pascal B?hler > Qualit?t-Hardware / Pr?fingenieur > SAUTER HeadOffice > Fr. Sauter AG > Im Surinam 55, CH-4016 Basel > Telefon +41 (0)61 695 5646 > Telefax +41 (0)61 695 5619 > http://www.sauter-controls.com > > DISCLAIMER: > This communication, and the information it contains is for the sole > use of > the intended recipient. It is confidential, may be legally privileged > and > protected by law. Unauthorized use, copying or disclosure of any part > thereof may be unlawful. If you have received this communication in > error, > please destroy all copies and kindly notify the sender. > > Before printing out this e-mail or its attachments, please consider > whether > it is really necessary to do so. > Using less paper helps the environment. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From acj119 at nifty.com Wed Aug 19 04:18:53 2015 From: acj119 at nifty.com (jaipur) Date: Tue, 18 Aug 2015 19:18:53 -0700 (MST) Subject: [Scilab-users] Scilab 5.5.2 suddenly started uglily. Message-ID: <1439950733722-4032707.post@n3.nabble.com> I have been normally using Scilab 5.5.2(64-bit) on Windows 7 Professional 64-bit every day until Aug. 18. However, my Scilab has started uglily as the following picture in the morning on Aug.19. I have uninstalled Scilab, downloaded Scilab 5.5.2(64-bit) again and installed it. But, the situation is same. Key stroke is accepted, but meaningless black shape etc. appears. Could someone help me escaping this serious accident? -- View this message in context: http://mailinglists.scilab.org/Scilab-5-5-2-suddenly-started-uglily-tp4032707.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From acj119 at nifty.com Wed Aug 19 04:40:22 2015 From: acj119 at nifty.com (jaipur) Date: Tue, 18 Aug 2015 19:40:22 -0700 (MST) Subject: [Scilab-users] Scilab 5.5.2 suddenly started uglily. In-Reply-To: <1439950733722-4032707.post@n3.nabble.com> References: <1439950733722-4032707.post@n3.nabble.com> Message-ID: <1439952022102-4032708.post@n3.nabble.com> Sorry for disturbing your time. My problem may be solved. I tried to start Scilab and quit it a few times, then the display becomes normal and key strokes work normally. Thank you. -- View this message in context: http://mailinglists.scilab.org/Scilab-5-5-2-suddenly-started-uglily-tp4032707p4032708.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From W.Schulz at ove.at Fri Aug 21 08:15:32 2015 From: W.Schulz at ove.at (SCHULZ Wolfgang) Date: Fri, 21 Aug 2015 06:15:32 +0000 Subject: [Scilab-users] mode() changes. Paused modes canceled. Commands echo not in functions. In-Reply-To: <07A8AF089844A549B0F0CCC727AF31AA5798F514@OVEKBG.ove.at> References: <07A8AF089844A549B0F0CCC727AF31AA5798EEFE@OVEKBG.ove.at> <55CBAC53.8040202@free.fr> <07A8AF089844A549B0F0CCC727AF31AA5798F514@OVEKBG.ove.at> Message-ID: <07A8AF089844A549B0F0CCC727AF31AA57997F65@OVEKBG.ove.at> Should I file a bug report or did that someone already ?? Thanks Wolfgang Von: users [mailto:users-bounces at lists.scilab.org] Im Auftrag von SCHULZ Wolfgang Gesendet: Donnerstag, 13. August 2015 10:53 An: Users mailing list for Scilab Betreff: Re: [Scilab-users] mode() changes. Paused modes canceled. Commands echo not in functions. Hello, thanks for this extensive test. Maybe the one of the developers should tell if I should enter a bug report. Wolfgang Von: users [mailto:users-bounces at lists.scilab.org] Im Auftrag von Samuel Gougeon Gesendet: Mittwoch, 12. August 2015 22:28 An: Users mailing list for Scilab Betreff: [Scilab-users] mode() changes. Paused modes canceled. Commands echo not in functions. Hello Wolfgang, Le 12/08/2015 08:50, SCHULZ Wolfgang a ?crit : Hello, I tested the alpha version of SCILAB 6 and have a problem with the mode command: mode(-1) - switches off the display of variable on the console - this works But e.g. the mode(0) works differently in SCILAB 6. All comments and lines of the source code are displayed. Is this a bug?? I was waiting for improvements about mode() -- mainly for paused and/or commands-echoing modes -- so with Scilab 6, after your mail, i did an exhaustive checking of execution modes: - with mode() in a function - with mode() in a script run with exec(script.sce) - with exec(script.sce, mode) I confirm that there are several changes: 1) With mode() in a function: Scilab 6.0.0-a1 / 5.5.2 --------------- mode vars pause commands echo echo -1: 0 : x 1 : x 2 : x 3 : x 4 : CANCELED 5 : x 6 : CANCELED CANCELED 7 : CANCELED CANCELED 8 : CANCELED Conclusions #1: Only bad news: 1. There is no longer any paused mode. This is a big regression. Killing every tool enabling debugging seems to be the rule for years now... 2. Commands echoing that was requested is still unavailable. 2) mode() in a script.sce run with exec() or in exec("script.sce", mode) Scilab 6.0.0-a1 / 5.5.2 --------------- mode vars pause commands compact Comments -1: 0 : x ADDED 1 : x x x 2 : x ADDED (2) 3 : x x 4 : CANCELED (4) 5 : x x x (5) 6 : CANCELED CANCELED (6) 7 : CANCELED CANCELED CANCELED (7) 8 : x CANCELED * (2) SUPPRESSED (OK): The commands lines were echoed with \n, that was useless and made very flufy output. * (4) SUPPRESSED (OK): A message "Mode pause" was displayed, although there was no pause! * (5) SUPPRESSED (OK): in exec(..,mode), a heading line "step-by-step mode: enter carriage return to proceed" was displayed, although there was no pause! * (6) SUPPRESSED (OK): Each command line was replaced with an empty prompt ">>(nothing)" * (7) SUPPRESSED (OK): Each echoed command line ">> command.." was prepended with a useless empty prompt ">>(nothing)\n" Conclusions #2: 1. Inconsistent messages have been removed, as well as useless lines when echoing commands 2. There is no longer any paused mode. So, now, it is everywhere! 3. This review has shown that effects with mode() in scripts or as exec option were exactly the same, while help pages for mode() and exec() were (and are still) inconsistent. The exec() help page should only point to the mode() one for its mode option. 4. There is no real systematic mapping of mode for concerned features: * echoing variables (not followed with ";") * echoing commands * paused mode * compact output As it is quite common, a bit yes/no could be assigned to each feature, building the mode number. That's not look to be the case. So several modes do the same. And some useful combinations are missing. I hope strongly that the disappearance of paused modes -- that are also useful in demos, with only bad and very heavy work-arounds -- , is a bug, not a choice. As you see, to answer to your need, as long as the former 0 mode won't be restored, you may use mode(8) instead. Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From fujimoto2005 at gmail.com Mon Aug 24 04:31:36 2015 From: fujimoto2005 at gmail.com (fujimoto2005) Date: Sun, 23 Aug 2015 19:31:36 -0700 (MST) Subject: [Scilab-users] save all variables Message-ID: <1440383496331-4032715.post@n3.nabble.com> Can scilab5.5.2 save all variables without writing the names of all variables? The following script failed at the last line. scilab6.0 alpha can save all variables. x=1:10; y=10;20; save('test.data','x','y');//succeed save('testall.data');//fail Best regards -- View this message in context: http://mailinglists.scilab.org/save-all-variables-tp4032715.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Mon Aug 24 21:34:52 2015 From: Serge.Steer at inria.fr (Serge Steer) Date: Mon, 24 Aug 2015 21:34:52 +0200 Subject: [Scilab-users] save all variables In-Reply-To: <1440383496331-4032715.post@n3.nabble.com> References: <1440383496331-4032715.post@n3.nabble.com> Message-ID: <55DB71DC.6000509@inria.fr> I think save('testall.data','all') does the job Le 24/08/2015 04:31, fujimoto2005 a ?crit : > Can scilab5.5.2 save all variables without writing the names of all > variables? > The following script failed at the last line. > scilab6.0 alpha can save all variables. > > x=1:10; > y=10;20; > save('test.data','x','y');//succeed > save('testall.data');//fail > > Best regards > > > > > -- > View this message in context: http://mailinglists.scilab.org/save-all-variables-tp4032715.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From fujimoto2005 at gmail.com Tue Aug 25 14:56:53 2015 From: fujimoto2005 at gmail.com (fujimoto2005) Date: Tue, 25 Aug 2015 05:56:53 -0700 (MST) Subject: [Scilab-users] save all variables In-Reply-To: <55DB71DC.6000509@inria.fr> References: <1440383496331-4032715.post@n3.nabble.com> <55DB71DC.6000509@inria.fr> Message-ID: <1440507413810-4032721.post@n3.nabble.com> Hi,Serge Steer "save('testall.data','all')" does not work. It reply an error message "The second argument is wrong". Best regards -- View this message in context: http://mailinglists.scilab.org/save-all-variables-tp4032715p4032721.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Tue Aug 25 19:09:35 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 25 Aug 2015 19:09:35 +0200 Subject: [Scilab-users] save all variables In-Reply-To: <1440383496331-4032715.post@n3.nabble.com> References: <1440383496331-4032715.post@n3.nabble.com> Message-ID: <55DCA14F.5050206@free.fr> Hello, Le 24/08/2015 04:31, fujimoto2005 a ?crit : > Can scilab5.5.2 save all variables without writing the names of all > variables? > The following script failed at the last line. > scilab6.0 alpha can save all variables. > > x=1:10; > y=10;20; > save('test.data','x','y');//succeed > save('testall.data');//fail No problem for me with 5.5.2 and 6.0.0-a1 on win7_x64. Might it be a write-access issue? save("file.ext", "all") would save the variable named "all". Samuel From doole93 at gmail.com Wed Aug 26 01:38:12 2015 From: doole93 at gmail.com (duce) Date: Tue, 25 Aug 2015 16:38:12 -0700 (MST) Subject: [Scilab-users] Limit command Message-ID: <1440545892154-4032725.post@n3.nabble.com> I have an old Scilab script with a *limit * command in it. I can't seem to find that function in the version 5.3 which I am using, so I'm guessing it is somehow deprecated. Can anyone please tell me if there is any command to equivalent to *limit*? -- View this message in context: http://mailinglists.scilab.org/Limit-command-tp4032725.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From fujimoto2005 at gmail.com Wed Aug 26 03:34:49 2015 From: fujimoto2005 at gmail.com (fujimoto2005) Date: Tue, 25 Aug 2015 18:34:49 -0700 (MST) Subject: [Scilab-users] save all variables In-Reply-To: <55DCA14F.5050206@free.fr> References: <1440383496331-4032715.post@n3.nabble.com> <55DCA14F.5050206@free.fr> Message-ID: <1440552889454-4032726.post@n3.nabble.com> Hi,Samuel The following?is the echo of running the code. The last message is a Japanese message which mean "the second argument is wrong". ********************** -->x=1:10; -->y=10;20; -->save('test.data','x','y') -->save('testall.data','all') !--error 248 ?? 2 ??????????: ???????????????. ********************** Best regards -- View this message in context: http://mailinglists.scilab.org/save-all-variables-tp4032715p4032726.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Wed Aug 26 13:11:39 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 26 Aug 2015 11:11:39 +0000 Subject: [Scilab-users] Limit command In-Reply-To: <1440545892154-4032725.post@n3.nabble.com> References: <1440545892154-4032725.post@n3.nabble.com> Message-ID: Hello, > De : duce > Envoy? : mercredi 26 ao?t 2015 01:38 > > I have an old Scilab script with a *limit * command in it http://help.scilab.org/ does not seem to know anything about limit(). Maybe it's from an atom module or a self-defined function? -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From doole93 at gmail.com Thu Aug 27 01:47:06 2015 From: doole93 at gmail.com (duce) Date: Wed, 26 Aug 2015 16:47:06 -0700 (MST) Subject: [Scilab-users] Limit command In-Reply-To: References: <1440545892154-4032725.post@n3.nabble.com> Message-ID: <1440632826389-4032732.post@n3.nabble.com> z = %z; syms n z1; z = z1 X =z *(3*z -(5/6) ) /((z -(1/4) )*(z -(1/3) )) X1 = denom (X); zp = roots (X1); X1 = z1 *(3* z1 -(5/6) ) /(( z1 -(1/4) )*(z1 -(1/3) )) F1 = X1 *( z1 ^(n -1) )*(z1 -zp (1) ); F2 = X1 *( z1 ^(n -1) )*(z1 -zp (2) ); h1 = limit (F1 ,z1 ,zp (1) ); disp (h1 , ? h1 [ n]= ? ) h2 = limit (F2 ,z1 ,zp (2) ); disp (h2 , ? h2 [ n]= ? ) h = h1+h2; disp (h, ? h [ n]= ? ) // R e s u l t //h [ n]= ( 1 / 4 ) ?n +(2/3) ?n This is the original script. It is used to find the inverse z-transform of the expression given as *X* . The example is from a textbook by Alan V. Oppenheim, Alan V. Willsky called "Scilab Code for Signals and Systems" so I'm guessing it's not a self-defined function. However I'm not sure if it's from an atom module. -- View this message in context: http://mailinglists.scilab.org/Limit-command-tp4032725p4032732.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From lavitha89 at gmail.com Thu Aug 27 07:53:22 2015 From: lavitha89 at gmail.com (Lavitha Pereira) Date: Thu, 27 Aug 2015 11:23:22 +0530 Subject: [Scilab-users] Error while calling 'builder gateway function' using bash script Message-ID: Dear All, I am trying to call OpenCV codes from scilab and for this I need a builder gateway function. While calling the function on the scilab console, I do not face any problems, loader gets generated and and I am able to call the functions. Now I am trying to call the builder file using bash script. It executes and runs till make file as shown below: Generate a gateway file Generate a loader file Generate a Makefile ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR ilib_gen_Make: Copy libskeleton_cpp9990.c to TMPDIR ilib_gen_Make: Copy opencv_imread.cpp to TMPDIR ilib_gen_Make: configure : Generate Makefile. where as the below 3 lines are not generated as it does on Scilab console. ilib_gen_Make: Modification of the Makefile in TMPDIR Running the makefile Generate a cleaner file ?Below is my code: #!/bin/bash SCI_PATH="/home/lavitha/Downloads/scilab-5.5.2/bin/scilab" #Scilab software location path #1st step of testing. getting loader file generated(a.log if error, b.log if no error)) process_builder() { OUTPUT=` timeout 1 $SCI_PATH -nb -nwni -f builder.sce` echo $OUTPUT if [[ "${OUTPUT}" =~ "!--error" ]]; then echo "ERROR: ${sce_file}" >> ./error_builder.log echo "${OUTPUT}" >> ./error_builder.log else echo "################# ${sce_file} #####################" >> ./output_builder.log echo "${OUTPUT}" >> ./output_builder.log fi unset OUTPUT } #2nd step, getting loader.sce run process_loader() { OUTPUT=` timeout 1 $SCI_PATH -nb -nwni -f loader.sce` echo $OUTPUT if [[ "${OUTPUT}" =~ "!--error" ]]; then echo "ERROR: ${sce_file}" >> ./error_loader.log echo "${OUTPUT}" >> ./error_loader.log else echo "################# ${sce_file} #####################" >> ./output_loader.log echo "${OUTPUT}" >> ./output_loader.log fi unset OUTPUT } process_main() { OUTPUT=` timeout 1 $SCI_PATH -nb -nwni -f lena.sce` echo $OUTPUT echo "${OUTPUT}" >> ./output_lena.log } process_builder #sleep 30 process_loader #sleep 30 process_main ? -- Thanks & Regards, Lavitha M. Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Thu Aug 27 08:43:42 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Thu, 27 Aug 2015 08:43:42 +0200 Subject: [Scilab-users] Error while calling 'builder gateway function' using bash script In-Reply-To: References: Message-ID: <1440657822.4390.3.camel@scilab-enterprises.com> Hello Lavitha, Why are you using such a small timeout duration `timeout 1` ? Do you really expect a 1s scilab startup + compilation ? > Dear All, > > I am trying to call OpenCV codes from scilab and for this I need a > builder gateway function. While calling the function on the scilab > console, I do not face any problems, loader gets generated and and I > am able to call the functions. Now I am trying to call the builder > file using bash script. It executes and runs till make file as shown > below: > > Generate a gateway file > Generate a loader file > Generate a Makefile > ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to > TMPDIR > ilib_gen_Make: Copy libskeleton_cpp9990.c to TMPDIR > ilib_gen_Make: Copy opencv_imread.cpp to TMPDIR > ilib_gen_Make: configure : Generate Makefile. > > where as the below 3 lines are not generated as it does on Scilab > console. > > ilib_gen_Make: Modification of the Makefile in TMPDIR > Running the makefile > Generate a cleaner file -- Cl?ment From sgougeon at free.fr Thu Aug 27 10:42:18 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 27 Aug 2015 10:42:18 +0200 Subject: [Scilab-users] Limit command In-Reply-To: <1440632826389-4032732.post@n3.nabble.com> References: <1440545892154-4032725.post@n3.nabble.com> <1440632826389-4032732.post@n3.nabble.com> Message-ID: <55DECD6A.40500@free.fr> Hello, Le 27/08/2015 01:47, duce a ?crit : > z = %z; > syms n z1; > z = z1 > X =z *(3*z -(5/6) ) /((z -(1/4) )*(z -(1/3) )) > X1 = denom (X); > zp = roots (X1); > X1 = z1 *(3* z1 -(5/6) ) /(( z1 -(1/4) )*(z1 -(1/3) )) > F1 = X1 *( z1 ^(n -1) )*(z1 -zp (1) ); > F2 = X1 *( z1 ^(n -1) )*(z1 -zp (2) ); > h1 = limit (F1 ,z1 ,zp (1) ); > disp (h1 , ? h1 [ n]= ? ) > h2 = limit (F2 ,z1 ,zp (2) ); > disp (h2 , ? h2 [ n]= ? ) > h = h1+h2; > disp (h, ? h [ n]= ? ) > // R e s u l t > //h [ n]= ( 1 / 4 ) ?n +(2/3) ?n > > This is the original script. AFAIK, like limit(), syms() has never been a native Scilab function. This script looks like an Octave script partially converted into Scilab language. So, you might look at Octave references to know what limit() is supposed to do. Samuel From sgougeon at free.fr Thu Aug 27 12:03:33 2015 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 27 Aug 2015 12:03:33 +0200 Subject: [Scilab-users] Limit command In-Reply-To: <1440632826389-4032732.post@n3.nabble.com> References: <1440545892154-4032725.post@n3.nabble.com> <1440632826389-4032732.post@n3.nabble.com> Message-ID: <55DEE075.3040407@free.fr> This likely comes from/with a symbolic toolbox. For Scilab, the Scimax module interfaces Scilab with Maxima. From doole93 at gmail.com Thu Aug 27 12:23:06 2015 From: doole93 at gmail.com (duce) Date: Thu, 27 Aug 2015 03:23:06 -0700 (MST) Subject: [Scilab-users] Limit command In-Reply-To: <55DEE075.3040407@free.fr> References: <1440545892154-4032725.post@n3.nabble.com> <1440632826389-4032732.post@n3.nabble.com> <55DEE075.3040407@free.fr> Message-ID: <1440670986043-4032738.post@n3.nabble.com> I have Scimax installed, and it recognizes *syms* but only if i type *Syms*. However, it doesn't suggest anything on *limit* -- View this message in context: http://mailinglists.scilab.org/Limit-command-tp4032725p4032738.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From paul.carrico at esterline.com Thu Aug 27 12:29:43 2015 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 27 Aug 2015 10:29:43 +0000 Subject: [Scilab-users] Booeleans : irrelevant results ? Message-ID: <3A6B7233274DB449A2A0053A47684F953F129A99@BGS-EX01.auxitrol.ad> Dear All, I wondering what I'm doing wrong in the examples here bellow: - Test 1 --> M returns False that's ok for me - Test 2 --> should return False as well, shouldn't be ? - Test 3 --> another test using directly a Boolean instead of an empty form [] - Test 4 --> as expected, it returns F Thanks for any highlight Paul ##############################################################################" mode(0) // test 1 M = []; if M then printf("M returns T\n"); else printf("M returns F\n"); end // test 2 a=[]; b=30; c=200; if (b & c & a) then printf("val = 6\n"); else printf("val = []\n"); // should return [] ?????? end // test 3 tmp = %f; //tmp = %t; if (tmp) then printf("tmp returns T\n"); else printf("tmp returns F\n"); end // test 4 t1 = %t; t2 = %t; //t3 = %t; t3 = %f; if (t1 & t2 & t3) then printf("(t1,t2,t3) returns T\n"); else printf("(t1,t2,t3) returns F\n"); end EXPORT CONTROL : Cet email ne contient pas de donn?es techniques This email does not contain technical data -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Thu Aug 27 13:36:21 2015 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 27 Aug 2015 11:36:21 +0000 Subject: [Scilab-users] Booeleans : irrelevant results ? In-Reply-To: <5e9823ae478127bb21eb073c5d30b1d1@pierre-vuillemin.fr> References: <3A6B7233274DB449A2A0053A47684F953F129A99@BGS-EX01.auxitrol.ad> <5e9823ae478127bb21eb073c5d30b1d1@pierre-vuillemin.fr> Message-ID: <3A6B7233274DB449A2A0053A47684F953F129AC4@BGS-EX01.auxitrol.ad> Effectively it is much better to use isempty() function (or ~isempty() in the current case) ? I didn?t know it so far Many thanks for your help Paul EXPORT CONTROL : Cet email ne contient pas de donn?es techniques This email does not contain technical data De : Pierre Vuillemin [mailto:contact at pierre-vuillemin.fr] Envoy? : jeudi 27 ao?t 2015 13:08 ? : Users mailing list for Scilab Cc : Carrico, Paul Objet : Re: [Scilab-users] Booeleans : irrelevant results ? Dear Paul, The behaviour of test 2 may come from the order in which the operations are performed : Note that (a & c & b) ~= (b & c & a), indeed : - a & c & b performs a & c which returns [] and then [] & b which returns [], - b & c & a performs b & c which returns %t and then %t & [] which returns %t. You can obtain the desired behaviour by adding parenthesis b & (c & a) returns [] but it may be safer to use isempty() to check whether a variable is empty or not. Best regards, Pierre Le 27.08.2015 12:29, Carrico, Paul a ?crit : Dear All, I wondering what I?m doing wrong in the examples here bellow: - Test 1 --> M returns False that?s ok for me - Test 2 --> should return False as well, shouldn?t be ? - Test 3 --> another test using directly a Boolean instead of an empty form [] - Test 4 --> as expected, it returns F Thanks for any highlight Paul ##############################################################################? mode(0) // test 1 M = []; if M then printf("M returns T\n"); else printf("M returns F\n"); end // test 2 a=[]; b=30; c=200; if (b & c & a) then printf("val = 6\n"); else printf("val = []\n"); // should return [] ?????? end // test 3 tmp = %f; //tmp = %t; if (tmp) then printf("tmp returns T\n"); else printf("tmp returns F\n"); end // test 4 t1 = %t; t2 = %t; //t3 = %t; t3 = %f; if (t1 & t2 & t3) then printf("(t1,t2,t3) returns T\n"); else printf("(t1,t2,t3) returns F\n"); end EXPORT CONTROL : Cet email ne contient pas de donn?es techniques This email does not contain technical data _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From contact at pierre-vuillemin.fr Thu Aug 27 13:08:12 2015 From: contact at pierre-vuillemin.fr (Pierre Vuillemin) Date: Thu, 27 Aug 2015 13:08:12 +0200 Subject: [Scilab-users] Booeleans : irrelevant results ? In-Reply-To: <3A6B7233274DB449A2A0053A47684F953F129A99@BGS-EX01.auxitrol.ad> References: <3A6B7233274DB449A2A0053A47684F953F129A99@BGS-EX01.auxitrol.ad> Message-ID: <5e9823ae478127bb21eb073c5d30b1d1@pierre-vuillemin.fr> Dear Paul, The behaviour of test 2 may come from the order in which the operations are performed : Note that (a & c & b) ~= (b & c & a), indeed : - a & c & b performs a & c which returns [] and then [] & b which returns [], - b & c & a performs b & c which returns %t and then %t & [] which returns %t. You can obtain the desired behaviour by adding parenthesis b & (c & a) returns [] but it may be safer to use isempty() to check whether a variable is empty or not. Best regards, Pierre Le 27.08.2015 12:29, Carrico, Paul a ?crit : > Dear All, > > I wondering what I'm doing wrong in the examples here bellow: > > - Test 1 ? M returns False that's ok for me > > - Test 2 ? should return False as well, shouldn't be ? > > - Test 3 ? another test using directly a Boolean instead of an empty form [] > > - Test 4 ? as expected, it returns F > > Thanks for any highlight > > Paul > > ##############################################################################" > > mode(0) > > _// test 1_ > > M = []; > > if M then > > printf("M returns T\n"); > > else > > printf("M returns F\n"); > > end > > _// test 2_ > > a=[]; > > b=30; > > c=200; > > if (b & c & a) then > > printf("val = 6\n"); > > else printf("val = []\n"); _// should return [] ??????_ > > end > > _// test 3_ > > tmp = %f; > > _//tmp = %t;_ > > if (tmp) then > > printf("tmp returns T\n"); > > else > > printf("tmp returns F\n"); > > end > > _// test 4_ > > t1 = %t; > > t2 = %t; > > _//t3 = %t;_ > > t3 = %f; > > if (t1 & t2 & t3) then > > printf("(t1,t2,t3) returns T\n"); > > else > > printf("(t1,t2,t3) returns F\n"); > > end > > EXPORT CONTROL : > Cet email ne contient pas de donn?es techniques > This email does not contain technical data > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users [1] Links: ------ [1] http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Fri Aug 28 02:24:52 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Thu, 27 Aug 2015 21:24:52 -0300 Subject: [Scilab-users] Limit command In-Reply-To: <1440670986043-4032738.post@n3.nabble.com> References: <1440545892154-4032725.post@n3.nabble.com>, , <1440632826389-4032732.post@n3.nabble.com> <55DEE075.3040407@free.fr>,<1440670986043-4032738.post@n3.nabble.com> Message-ID: Hi: i looked in the scilab help with scimax toolbox loaded, and it finds limit function! its a scimax function... Can you send me what errors appears in the console when you try to execute that script? I'm having some troubles with the scilab function roots... Im using scilab 5.5.2 however... > Date: Thu, 27 Aug 2015 03:23:06 -0700 > From: doole93 at gmail.com > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Limit command > > I have Scimax installed, and it recognizes *syms* but only if i type *Syms*. > However, it doesn't suggest anything on *limit* > > > > -- > View this message in context: http://mailinglists.scilab.org/Limit-command-tp4032725p4032738.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From doole93 at gmail.com Fri Aug 28 02:37:40 2015 From: doole93 at gmail.com (duce) Date: Thu, 27 Aug 2015 17:37:40 -0700 (MST) Subject: [Scilab-users] Limit command In-Reply-To: References: <1440545892154-4032725.post@n3.nabble.com> <1440632826389-4032732.post@n3.nabble.com> <55DEE075.3040407@free.fr> <1440670986043-4032738.post@n3.nabble.com> Message-ID: <1440722260168-4032744.post@n3.nabble.com> -- View this message in context: http://mailinglists.scilab.org/Limit-command-tp4032725p4032744.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From doole93 at gmail.com Fri Aug 28 02:38:58 2015 From: doole93 at gmail.com (duce) Date: Thu, 27 Aug 2015 17:38:58 -0700 (MST) Subject: [Scilab-users] Limit command In-Reply-To: References: <1440545892154-4032725.post@n3.nabble.com> <1440632826389-4032732.post@n3.nabble.com> <55DEE075.3040407@free.fr> <1440670986043-4032738.post@n3.nabble.com> Message-ID: <1440722338980-4032745.post@n3.nabble.com> Actually, you're right, it does recognize it. However, there is a problem with the line with roots command which you mentioned if I'm not mistaking. This is the error exec('/home/xubuntu/Desktop/primer.sce', -1) zp = roots (X1); !--error 246 Function not defined for given argument type(s), check arguments or define function %sym_roots for overloading. at line 6 of exec file called by : exec('/home/xubuntu/Desktop/primer.sce', -1) -- View this message in context: http://mailinglists.scilab.org/Limit-command-tp4032725p4032745.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From pablo_f_7 at hotmail.com Fri Aug 28 02:45:46 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Thu, 27 Aug 2015 21:45:46 -0300 Subject: [Scilab-users] Limit command In-Reply-To: <1440670986043-4032738.post@n3.nabble.com> References: <1440545892154-4032725.post@n3.nabble.com>, , <1440632826389-4032732.post@n3.nabble.com> <55DEE075.3040407@free.fr>,<1440670986043-4032738.post@n3.nabble.com> Message-ID: Hi: Limit IS a scimax function... i used your script and it worked with some modifications... First of all, the scilab function "roots" need a variable type polinomial as argument... and the symbolic polynomial made by scimas is not this type of variable, so we need to use scimax's function "sym2poly"... However, sym2poly needs an expanded polynomial as argument... so we first need to use "expand" on the polynomial we want to calculate the roots... So your final script should be: z = %z; Syms n z1; z = z1 X =z *(3*z -(5/6) ) /((z -(1/4) )*(z -(1/3) )) X1 = expand(denom (X)); X1=sym2poly(X1,'z1'); zp = roots(X1); X1 = z1 *(3* z1 -(5/6) ) /(( z1 -(1/4) )*(z1 -(1/3) )) F1 = X1 *( z1 ^(n -1) )*(z1 -zp (1) ); F2 = X1 *( z1 ^(n -1) )*(z1 -zp (2) ); h1 = limit (F1 ,z1 ,zp (1) ); disp (h1 , ' h1 [ n]= ' ) h2 = limit (F2 ,z1 ,zp (2) ); disp (h2 , ' h2 [ n]= ' ) h = h1+h2; disp (h, ' h [ n]= ' ) Now, the differences in your script and mine could be because the version of scilab or scimax in which the author programmed that script may not be the lasts ones... I would recommend you to define polynomials with the native scilab functions... scilab has enough functions for polynomials... the script would be: X =poly([0 1],'z','coeff')*poly([-5/6 3],'z','coeff') /(poly([-1/4 1],'z','coeff')*poly([-1/3 1],'z','coeff') ) X1 = denom (X); zp = roots(X1); X1 = z1 *(3* z1 -(5/6) ) /(( z1 -(1/4) )*(z1 -(1/3) )) F1 = X1 *( z1 ^(n -1) )*(z1 -zp (1) ); F2 = X1 *( z1 ^(n -1) )*(z1 -zp (2) ); h1 = limit (F1 ,z1 ,zp (1) ); disp (h1 , ' h1 [ n]= ' ) h2 = limit (F2 ,z1 ,zp (2) ); disp (h2 , ' h2 [ n]= ' ) h = h1+h2; disp (h, ' h [ n]= ' ) and the only function from scimax is the "limit" command -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo_f_7 at hotmail.com Fri Aug 28 02:52:23 2015 From: pablo_f_7 at hotmail.com (Pablo Fonovich) Date: Thu, 27 Aug 2015 21:52:23 -0300 Subject: [Scilab-users] Limit command In-Reply-To: References: <1440545892154-4032725.post@n3.nabble.com>, , , , <1440632826389-4032732.post@n3.nabble.com>, <55DEE075.3040407@free.fr>, <1440670986043-4032738.post@n3.nabble.com>, Message-ID: ]Im sorry, i forgot to tell you that every polynomial in my final script should be defined the same way that the first one... But the corrected script i send you first should work fine From: pablo_f_7 at hotmail.com To: users at lists.scilab.org Date: Thu, 27 Aug 2015 21:45:46 -0300 Subject: Re: [Scilab-users] Limit command Hi: Limit IS a scimax function... i used your script and it worked with some modifications... First of all, the scilab function "roots" need a variable type polinomial as argument... and the symbolic polynomial made by scimas is not this type of variable, so we need to use scimax's function "sym2poly"... However, sym2poly needs an expanded polynomial as argument... so we first need to use "expand" on the polynomial we want to calculate the roots... So your final script should be: z = %z; Syms n z1; z = z1 X =z *(3*z -(5/6) ) /((z -(1/4) )*(z -(1/3) )) X1 = expand(denom (X)); X1=sym2poly(X1,'z1'); zp = roots(X1); X1 = z1 *(3* z1 -(5/6) ) /(( z1 -(1/4) )*(z1 -(1/3) )) F1 = X1 *( z1 ^(n -1) )*(z1 -zp (1) ); F2 = X1 *( z1 ^(n -1) )*(z1 -zp (2) ); h1 = limit (F1 ,z1 ,zp (1) ); disp (h1 , ' h1 [ n]= ' ) h2 = limit (F2 ,z1 ,zp (2) ); disp (h2 , ' h2 [ n]= ' ) h = h1+h2; disp (h, ' h [ n]= ' ) Now, the differences in your script and mine could be because the version of scilab or scimax in which the author programmed that script may not be the lasts ones... I would recommend you to define polynomials with the native scilab functions... scilab has enough functions for polynomials... the script would be: X =poly([0 1],'z','coeff')*poly([-5/6 3],'z','coeff') /(poly([-1/4 1],'z','coeff')*poly([-1/3 1],'z','coeff') ) X1 = denom (X); zp = roots(X1); X1 = z1 *(3* z1 -(5/6) ) /(( z1 -(1/4) )*(z1 -(1/3) )) F1 = X1 *( z1 ^(n -1) )*(z1 -zp (1) ); F2 = X1 *( z1 ^(n -1) )*(z1 -zp (2) ); h1 = limit (F1 ,z1 ,zp (1) ); disp (h1 , ' h1 [ n]= ' ) h2 = limit (F2 ,z1 ,zp (2) ); disp (h2 , ' h2 [ n]= ' ) h = h1+h2; disp (h, ' h [ n]= ' ) and the only function from scimax is the "limit" command _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernleaf07 at gmail.com Fri Aug 28 05:18:41 2015 From: fernleaf07 at gmail.com (Keith Smith) Date: Thu, 27 Aug 2015 23:18:41 -0400 Subject: [Scilab-users] Typo in Help File Message-ID: Sirs: I just downloaded 5.5.2 for Linux, which I'm running on Scientific Linux. I opened the Help File (?) and looked for numderivative. Scilab Help >> Optimization and Simulation >> numderivative Under Arguments f a function or a list, the function to differenciate differenciate should be differentiate Hope you find this useful. Keith Smith -- "Coincidence is what is leftover when the theory isn't good enough" - quoted by John Cleese "Science is the belief in ignorance of experts" - Richard Fenyman From paul.bignier at scilab-enterprises.com Fri Aug 28 08:39:13 2015 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Fri, 28 Aug 2015 08:39:13 +0200 Subject: [Scilab-users] Typo in Help File In-Reply-To: References: Message-ID: <55E00211.8080308@scilab-enterprises.com> Hello Keith, Thank you for your contribution! I fixed all wrong occurrences of differenciat* there: https://codereview.scilab.org/#/c/17125/ and put you as author. Don't hesitate to post more of those when you find them, or alternatively use the bugzilla . Best regards, Paul On 08/28/2015 05:18 AM, Keith Smith wrote: > Sirs: I just downloaded 5.5.2 for Linux, which I'm running on Scientific Linux. > > I opened the Help File (?) and looked for numderivative. > > Scilab Help >> Optimization and Simulation >> numderivative > > Under Arguments > > f > a function or a list, the function to differenciate > > differenciate > > should be > > differentiate > > Hope you find this useful. > > Keith Smith > -- Paul BIGNIER Development engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.69 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From fujimoto2005 at gmail.com Mon Aug 31 06:21:46 2015 From: fujimoto2005 at gmail.com (fujimoto2005) Date: Sun, 30 Aug 2015 21:21:46 -0700 (MST) Subject: [Scilab-users] scipad Message-ID: <1440994906931-4032759.post@n3.nabble.com> I installed Scipad through the scilab-console->menu->applicaiton->atoms. I restarted Scilab and get the message of success of installation. I don't know how to start scipad. Please teach me how to start scipad. Best regards -- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From fvogelnew1 at free.fr Mon Aug 31 08:33:19 2015 From: fvogelnew1 at free.fr (Francois Vogel) Date: Mon, 31 Aug 2015 08:33:19 +0200 Subject: [Scilab-users] scipad Message-ID: <6tq0orxbmgg1uvsrnmsa5vib.1441002799753@email.android.com> Hello, You can type the word scipad at the prompt to start it. Besides, please note that the scipad version available from atoms is very very old. You can find the latest ones at: http://sourceforge.net/p/scipad? Regards. Fran?ois -------- Message d'origine -------- De : fujimoto2005 Date : 31/08/2015 06:21 (GMT+01:00) ? : users at lists.scilab.org Objet : [Scilab-users] scipad I installed Scipad through the scilab-console->menu->applicaiton->atoms. I restarted Scilab and get the message of success of installation. I don't know how to start scipad. Please teach me how to start scipad. Best regards -- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgsmntry at gmail.com Mon Aug 31 14:19:30 2015 From: pgsmntry at gmail.com (Parthageet Samantaray) Date: Mon, 31 Aug 2015 17:49:30 +0530 Subject: [Scilab-users] Regarding a error message "List element number 13 is Undefined." Message-ID: Hello all, I am having problem while running the simulation in Xcos. Actually I am trying to simulate a closed loop system. The model was working till it was open loop, with considered inputs. But as I connect a feedback path it is showing a message on the Scilab console - "List element number 13 is Undefined." I attempted to make the feedback path in many ways but nothing worked out. I am unable to understand why this error is displaying. If anyone has any suggestions kindly post me. Thanks and Regards. Parthageet Samantaray -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at wescottdesign.com Mon Aug 31 18:43:55 2015 From: tim at wescottdesign.com (Tim Wescott) Date: Mon, 31 Aug 2015 09:43:55 -0700 Subject: [Scilab-users] Regarding a error message "List element number 13 is Undefined." In-Reply-To: References: Message-ID: <1441039435.9213.165.camel@Servo> On Mon, 2015-08-31 at 17:49 +0530, Parthageet Samantaray wrote: > Hello all, > > > I am having problem while running the simulation in Xcos. Actually I > am trying to simulate a closed loop system. The model was working till > it was open loop, with considered inputs. But as I connect a feedback > path it is showing a message on the Scilab console - "List element > number 13 is Undefined." > > > I attempted to make the feedback path in many ways but nothing worked > out. I am unable to understand why this error is displaying. > > > If anyone has any suggestions kindly post me. Post your xcos file. This won't help me help you, but someone who knows more than I do about xcos will probably need it. If you can't because it's huge or proprietary, try trimming bits out -- if the problem persists when it's small and simple, that'll make an even better thing to post. If the problem goes away when you excise some specific block, then you can consider that a huge blinking arrow to the problem. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432