[Scilab-users] Spam in Scilab Forge
Dear Scilab Forge admins! It seems that the Scilab Forge site suffers from spam attacks. Recently I have received 28 e-mails from the Scilab Forge site. The e-mails were sent from bufferblock issue tracker - http://forge.scilab.org/index.php/p/bufferblock/issues/1483/ . There are other trackers with spam activity. Please consider to check security status of Scilab Forge. It seems to be vulnerable for illegal new user registrations and maybe something similar. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,developer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] ATOMS does not work on macOS Mojave 10.14.6 - is it a bug? Входящие x IEEE x
Dear community! I have strange behavior of ATOMS in Scilab 6.0.2 (downloaded from official link - http://www.utc.fr/~mottelet/scilab/download/6.0.2/scilab-6.0.2-x86_64.dmg ) on macOS Mojave 10.14.6. The ATOMS does not work on Scilab which normally launched from Applications menu of from launcher (in normal traditional GUI way). I got the following screenshot if I simply open Application -> "Module Manager - ATOMS" ends with dialog window with message "No ATOMS module is available. Please, check your Internet connection or make sure that your OS is compatible with ATOMS.". See attached screenshot - https://bugzilla.scilab.org/attachment.cgi?id=4987 . Installation of single package also seems to be failed: --> atomsInstall('animaGIF') Scanning repository http://atoms.scilab.org/6.0 ... Done at line65 of function atomsDESCRIPTIONread ( /Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONread.sci line 125 ) at line 227 of function atomsDESCRIPTIONget ( /Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci line 246 ) at line31 of function atomsIsPackage ( /Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atoms_internals/atomsIsPackage.sci line 47 ) at line69 of function atomsInstallList ( /Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atoms_internals/atomsInstallList.sci line 108 ) at line 233 of function atomsInstall ( /Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atomsInstall.sci line 249 ) regexp: Unknown error. On next Scilab start the ATOMS module is not installed. When I launch Scilab from Terminal with /Applications/scilab-6.0.2.app/Contents/MacOS/bin/scilab-bin and try to install ATOMS from Scilab Console - I get the following error output in the terminal: dyld: Library not loaded: /Users/mottelet/git/scilab_dist/Scilab.app/Contents/MacOS/lib/scilab/libscilab-cli.6.dylib Referenced from: /Applications/scilab-6.0.2.app/Contents/MacOS/bin/scilab-bin Reason: image not found Abort trap: 6 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed] I have already reported a bug - https://bugzilla.scilab.org/show_bug.cgi?id=16159 . Is it just me? Does anyone have the same problem on macOS Mojave or High Sierra? -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,developer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] A collection of Scilab GUI tutorials
Dear Foad! At first I should say that your idea is very good. Then I can share a link to GUI programming thread - http://mailinglists.scilab.org/Scilab-users-GUI-programming-td4037452.html#a4037453 Please read it for links and maybe tutorials for your collection. About documentation I can recommend to use Markdown. It may be trasformed to real book in some time. Currenly Markdown books are written with bookdown.org RMarkdown dialect. It can produce even TeX books for publishing (see Bookdown book example <https://bookdown.org/yihui/bookdown/> ). As an author of very comprehensive GUI for Mathieu Functions Toolbox <http://forge.scilab.org/index.php/p/mathieu/source/tree/master/demos/mathieu_gui.sci> I can say that Scilab GUI programming is really still poor documented. Wish you good luck! -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Data from XCos plots?
Dear Pndsc! It is possible. If you have figure with axis from Xcos model then you can get its data: a = gca(); x = a.children.data(:,1); y = a.children.data(:,2); and then manipulate them as you need. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* вс, 13 янв. 2019 г. в 12:45, Pndsc : > I was wondering if theres a way to export data from Xcos plots that show > the > result of simulations. Graphs are OK but I need to interrogate the raw > values. > > Is there a way to export to CSV or something? I'm assuming that its > something simple that I've missed. > > > > -- > Sent from: > http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Unable to update ATOMS packages - Scilab 6.0.1
Dear all! It is known bug https://bugs.launchpad.net/bugs/1765503 . The solution is to use binary version of Scilab 6 as described in this AskUbuntu answer ( https://askubuntu.com/a/1029164/66509 ). Official reaction from Scilab developers and/or Debian/Ubuntu maintainers is highly needed and will be appreciated. Otherwise Scilab 6 from deb-packages is useless waste of disk resources. So please take all needed measures on distro-level. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* чт, 11 окт. 2018 г. в 9:12, Samuel Enibe : > I have a similar problem with SCILAB on Ubuntu 1804. > > A solution to this problem from the developers of SCILAB or the Ubuntu > maintainers will be most appreciated. > > Samuel Ogbonna Enibe > University of Nigeria, Nsukka, Nigeria > > > On Wed, Oct 10, 2018 at 10:37 PM Pndsc wrote: > >> So to update my own inquiry - as far as I can make out theres no solution >> to >> this problem. Or at least, I havent been able to fix it. >> >> I'm not the only person with this problem - theres an Ubuntu >> stackexchange >> thread with a suggested fix here >> < >> https://askubuntu.com/questions/1029163/how-to-get-scilab-6-0-1-working-on-ubuntu-18-04-lts/1029164> >> >> by N0rbert which might prove useful for other people with issues of simply >> getting Scilab to work, but does not solve my issue of ATOMS not updating >> or >> displaying an up to date package list. >> >> The HDF5 thing is a known issue and is on the bugtracker here thanks to >> N0rbert: >> >> https://bugs.launchpad.net/ubuntu/+source/scilab/+bug/1765503 >> >> I have to admit I have a hard time with believing that this issue has been >> allowed to persist for so long with the current most widespread linux >> distribution out there. >> >> Running an atomsInstall command doesnt work either: >> >> --> atomsInstall("coselica") >> Scanning repository http://atoms.scilab.org/6.0 ... Done >> >> at line 265 of function atomsDESCRIPTIONget ( >> >> /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci >> line 284 ) >> at line31 of function atomsIsPackage ( >> /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsIsPackage.sci >> line 47 ) >> at line69 of function atomsInstallList( >> >> /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsInstallList.sci >> line 108 ) >> at line 233 of function atomsInstall( >> /usr/share/scilab/modules/atoms/macros/atomsInstall.sci line 249 ) >> >> atomsDESCRIPTIONget: save >> ('/home/chris/.Scilab/scilab-6.0.1/.atoms/packages') has failed. >> >> I dont know if its significant or not, but in >> /usr/share/scilab/modules/atoms/etc/ , in the "repositories" text file, >> the >> url for the atoms repository for 6.0 (https://atoms.scilab.org/6.0/) >> returns >> a 443 forbidden error. >> >> Its late here but the next thing on my list to do tomorrow is to download >> the package zips manually and installing via atomsInstall('pathtozip'). >> >> >> >> -- >> Sent from: >> http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html >> ___ >> users mailing list >> users@lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] arduino toolbox: now available for Scilab 6.0
Dear Samuel! Thank you for good news! It would be very great if Linux version will be available for both Scilab 5.5.2 (as in Ubuntu 16.04 LTS) and Scilab 6.0 (as in Ubuntu 18.04 LTS) through ATOMS. I'm ready to test it with Arduino boards - I have Atmega328 based (Uno, Pro Mini, Nano) and Atmega2560-based (Mega). -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2018-09-08 20:53 GMT+03:00 Samuel Gougeon : > Hello, > > This message just to announce that the Arduino toolbox is now available > for Scilab 6.0, for Windows users. > It should be listed in the ATOMS manager. > https://atoms.scilab.org/toolboxes/arduino > > The portage to Linux (already available) shall be soon included in the > toolbox. > http://forge.scilab.org/index.php/p/arduino/issues/1556/ > > Volunteers to translate its help pages from french into english are > welcome. > > Best regards > Samuel > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Installing Scilab under Linux (Mint / aka Ubuntu)
Dear Claus! As a temporarily fix you can read this solution on AskUbuntu - https://askubuntu.com/a/1029164/66509 . I have tested it. Unpacking to home folder works as expected (and as before). Dear Scilab developers! As long-time Scilab user I can't completely understand how this may happen. Please take a look to the mentioned bugs in the linked answer above and make real actions to fix these problems. Scilab is completely broken in Ubuntu 18.04 LTS (so without real actions it will be broken until 2023) and does not work on development version 18.10 too. Also it does not work on Debian 10. Please contact Debian and/or Ubuntu maintainers directly. Scilab is very often used in educational purposes. For example we use it on Ubuntu 16.04 LTS in our university to teach students. It will be very bad if we lose such a convenient and useful software-tool. --- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2018-07-25 15:44 GMT+03:00 Claus Futtrup : > Hi there > > I've installed Linux Mint 19 (MATE) and installing Scilab using the > Software Manager doesn't work. I cannot get the GUI to show up (CLI works > fine). There are several bug reports out there, but AFAIK no remedy. P.S. > Upon first installation I did check and see that the GUI worked, but it > never worked since and uninstalling + installing (incl. the CLI, and BTW > also including reboots) doesn't work. > > Therefore I decided to download the Linux 64-bit package from scilab.org > ... when unpacked, I see there's not an installer ... but as the README > says, launching ./bin/scilab gives me the GUI (yaayh!) > > The question is - from unpacking the software, how am I supposed to > install this already compiled scilab in my Linux? ... Am I supposed to > leave it in my /home directory? ... Sorry for my lack of knowledge here. I > hope for some kind help. > > Best regards, > > Claus > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab-6.0.0 stopped working
Dear Paul! Seems to be incompatibility between upstream (Scilab.org) and GNU/Linux distributions. You can install scilab 6.0.0-1 packages from 18.04 LTS to your 17.10 as described on AskUbuntu <https://askubuntu.com/a/1003065/66509>. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2018-02-04 16:35 GMT+03:00 Paul Onions <ponion...@gmail.com>: > On 4 February 2018 at 00:57, Adelson <adelson.olive...@gmail.com> wrote: > > The only reply/workaround was provided by Clement David in the post you > > mention on Bugzilla, but it did not worked for me. > > I tried changing the thirdparty/java link to point to my system java > and/or moving the lib/thirdparty/libz* files as suggested in the > bugzilla discussion but got exactly the same results as reported by > adhefe (is that you?). I also tried completely uninstalling all > system java packages and so just relying on the scilab-6.0.0 tarfile > java but the error message remains as I reported initially. > Reinstalling the system java didn't change anything either (which BTW > is 8u151-b12-0ubuntu0.17.10.2). > > > If you can count on a distro's builded version of scilab 6.0, you have > the > > option to install it. > > Unfortunately Ubuntu 17.10 still seems to be on Scilab 5.5.2. I tried > compiling the latest source from git but get stuck during ./configure > with something else I don't understand:- > > configure: error: ARPACK library found, but seems not to work > properly. Please make sure you are using arpack-ng > > Not sure if this is a known problem, haven't had chance to go into it yet. > > Paul > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] GUI programming
Dear Claus! It seems that Scilab GUI programming is not fully described nowadays. When I programmed my Mathieu Functions Toolbox version 4 with GUI <http://atoms.scilab.org/toolboxes/Mathieu/> I gathered information from whole internet. You can learn GUI programming by analyzing and breaking its main GUI file <http://forge.scilab.org/index.php/p/mathieu/source/tree/master/demos/mathieu_gui.sci> (see it's page on Forge <http://forge.scilab.org/index.php/p/mathieu/page/Demos-0/> ; demo is available from Scilab: *? -> Scilab Demonstrations -> Mathieu functions -> GUI for Mathieu Function Toolbox* ) :) I have bookmarked some pages: - http://atoms.scilab.org/categories/GUI - you can download and read source code of available ATOMS - https://wiki.scilab.org/howto/guicontrol - http://cgit.scilab.org/scilab/tree/scilab/modules/gui/demos/ uicontrol.dem.sce - uicontrols demo 1 (available from Scilab: *? -> Scilab Demonstrations -> GUI -> Uicontrols 1* ; locally as /usr/share/scilab/modules/gui/demos/uicontrol.dem.sce) - http://cgit.scilab.org/scilab/tree/scilab/modules/gui/demos/ cb_uicontrol_plot3d.dem.sci - uicontrols demo 2 (available from Scilab: *? -> Scilab Demonstrations -> GUI -> Uicontrols 2* ; locally as /usr/share/scilab/modules/gui/demos/cb_uicontrol_plot3d.dem.sci ) - *it's recommended starting point, I think* - http://cgit.scilab.org/scilab/tree/scilab/modules/signal_ processing/macros/wfir_gui.sci - wfir_gui() example (locally as /usr/share/scilab/modules/signal_processing/macros/wfir_gui.sci ) - http://www.openeering.com/sites/default/files/LHY_Tutorial_Gui.pdf - you already know it - http://scilab.io/products/scilab/application-development/ - http://scilab.ninja/scilab-recipe-4-gui-basics/ - now offline, but cached on Google <http://webcache.googleusercontent.com/search?q=cache:http://scilab.ninja/scilab-recipe-4-gui-basics/=utf-8=utf-8=firefox-b-ab_rd=cr=0=gN1oWsi-HsKrswH74Z2YCA> - http://tritytech.com/courses/scilab-courses/32-creating- innovative-gui-using-scilab.html <http://tritytech.com/courses/scilab-courses/32-creating-innovative-gui-using-scilab.html> - TrityTech present course "Creating Innovative GUI using Scilab" you can try to contact them for materials I have never seen comprehensive book <http://www.scilab.org/en/resources/documentation/books> about programming GUI in Scilab (in any language). So If I remember correctly I read some books about MATLAB's GUI (uicontrol) function and extrapolated this material to Scilab. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2018-01-24 21:49 GMT+03:00 Claus Futtrup <cfutt...@gmail.com>: > Hi Scilabers > > Is there a comprehensive manual or book (in English, or alt German) about > programming GUI in Scilab? (or a comprehensive web-page) > > I've found the Openeering one (18 pages): > http://www.openeering.com/sites/default/files/LHY_Tutorial_Gui.pdf > ... and I've looked at the help pages for uicontrol + run some of the GUI > demos in Scilab. > > I have almost no background in GUI programming, nothing successful anyway, > but it could be nice if I could at least get some basic GUI up running > (e.g. a figure where one can manage some controls on the left side + see > the polar plot etc on the right side). > > I think that what I need is not just examples. I need explanations, and > preferably something coherent that I can combine and work with, into > something that works. > > I've installed GUI builder from ATOMS. In the past I've never been happy > with programming on a high level. I prefer to understand what goes on under > the hood... so GUI builder is a bit of a desperate grasp on my part. > > Best regards, > Claus > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] SIVP problem via ATOMS with Linux Mint 18.1 - HELP
Dear Dave! I got libtiff.so.4 from Ubuntu Saucy (see this AskUbuntu answer - https://askubuntu.com/a/457034/66509 ). Then I installed SIVP with atomsUpdate(); atomsInstall("SIVP"); from Scilab 5.5.2 x64 on Ubuntu Xenial Xerus 16.04 LTS (as your LinuxMint is based on it). As was already mentioned on SIVP ATOMS page - symbolics links are broken inside SIVP archive ( https://atoms.scilab.org/toolboxes/SIVP/0.5.3.2#comment2775 ) . So with current SIVP version user should do the following from terminal: cd /home/$USER/.Scilab/scilab-5.5.2/atoms/SIVP/ 0.5.3.2/thirdparty/opencv/linux/x64 rm libavcodec.so ln -s libavcodec.so.52 libavcodec.so rm libavformat.so ln -s libavformat.so.52 libavformat.so rm libavutil.so ln -s libavutil.so.49 libavutil.so rm libcvaux.so ln -s libcvaux.so.4 libcvaux.so rm libcv.so ln -s libcv.so.4 libcv.so rm libcxcore.so ln -s libcxcore.so.4 libcxcore.so rm libdc1394.so ln -s libdc1394.so.22 libdc1394.so rm libhighgui.so ln -s libhighgui.so.4 libhighgui.so rm libml.so ln -s libml.so.4 libml.so rm libswscale.so ln -s libswscale.so.0 libswscale.so I'm not SIVP and/or OpenCV expert, I did not use it before your e-mail, but it seems that it works after aforementioned manipulations. I can run all SIVP Demonstrations. Hope this helps. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-11-11 13:29 GMT+03:00 David Brant <brantosau...@hotmail.com>: > Hi > Everything works fine on windows, but unforunately i need to work with > linux. > It appears ATOMS has not been configured to run correctly on Linux Mint. > This is a real same. Without the toolkits, its reduce capability is a big > hit. > > Would this be worth submitting as a bug report? > > Dave > > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Linux: Console not working when starting from start menu
Dear, Richard! Yes, it is known issue - see http://bugzilla.scilab.org/ show_bug.cgi?id=14682 . As temporary solution I created desktop launcher with command inside env LC_ALL="en_US.UTF-8" xterm -e /home/nikolay/Software/scilab-6.0.0/bin/scilab So Scilab starts with xterm terminal emulator. You may change xterm to other terminal with corresponding options. Hope this helps. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-08-01 13:54 GMT+03:00 Richard llom <richard.l...@gmail.com>: > Hello, > I have this problem that when I start scilab from my startmenu, the console > doesn't accept any input and when I execute a script (from scinotes) scilab > crashes. > However when I start scilab from the terminal "scilab &" everything is > fine. > > Any clues, is this a known issue? > > Scilab 6.0.0. > > System:Host: cray Kernel: 4.8.6-1-CHAKRA x86_64 (64 bit) Desktop: KDE > Plasma 5.10.4 Distro: Chakra > Machine: Device: desktop Mobo: ASUSTeK model: A88XM-PLUS v: Rev X.0x > UEFI: > American Megatrends v: 3003 date: 03/04/2017 > CPU: Dual core AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G > (-HT-MCP-) cache: 4096 KB >clock speeds: max: 4200 MHz 1: 1700 MHz 2: 2400 MHz 3: 2400 MHz > 4: 2400 MHz > Graphics: Card: Advanced Micro Devices [AMD/ATI] Fiji [Radeon R9 FURY / > NANO Series] >Display Server: x11 (X.Org 1.17.4) driver: amdgpu Resolution: > 2560x1440@119.88hz >OpenGL: renderer: Gallium 0.4 on AMD FIJI (DRM 3.3.0 / > 4.8.6-1-CHAKRA, LLVM 3.9.1) >version: 4.3 Mesa 13.0.2 > Audio: Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller > driver: > snd_hda_intel >Card-2 Advanced Micro Devices [AMD/ATI] Fiji HDMI/DP Audio > Controller driver: snd_hda_intel >Sound: Advanced Linux Sound Architecture v: k4.8.6-1-CHAKRA > Sensors: System Temperatures: cpu: 34.5C mobo: 35.0C gpu: 42.0 >Fan Speeds (in rpm): fan-1: 881 fan-2: 711 fan-3: 537 > Info: Processes: 186 Uptime: 1:00 Memory: 2182.3/15994.7MB Client: > Shell (bash) inxi: 2.3.23 > > > > -- > View this message in context: http://mailinglists.scilab.org > /Linux-Console-not-working-when-starting-from-start-menu-tp4036791.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab is crashing -- on one machine only
Dear Tim! As was discussed In the list ( http://mailinglists.scilab.org/Scilab-users-scilab-gt-Segmentation-fault-td4036624.html ). This is not Scilab bug, it's bad attempt to fix CVE-2017-1000364 security bug in Linux kernel. Debian 7, 8, 9; Ubuntu 14.04 LTS and 16.04 LTS are affected (see https://bugs.launchpad.net/bugs/1699772). The *temporary* solution is to reboot with previous kernel versions: * Debian 7 (wheezy): <= 3.2.78-1 * Debian 8 (jessie): <= 3.16.43-2 * Debian 9 (stretch): <= 4.9.30-2 * Ubuntu 14.04 LTS (trusty): <= 3.13.0-119 * Ubuntu 16.04 LTS (xenial): <= 4.4.0-79 Canonical and Debian will release normal kernel updates soon. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 28 июня 2017 г. 7:02 пользователь "Tim Wescott" <t...@wescottdesign.com> написал: On one machine, Scilab crashes, with a segmentation fault. On the other, it perks along happily. The "bad" machine had the normal Ubuntu installation of Scilab (5.5.2), then I wiped that and installed 6.0.0 -- same thing. I just reinstalled the Ubuntu version -- crashes. scilab-cli works The "good" machine is the same Ubuntu distro (16.04, 64-bit). Any clues as to what may be happening? -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] scilab -> Segmentation fault
After some googling I can summarize the following: This is not Scilab bug, it's bad attempt to fix CVE-2017-1000364 security bug in Linux kernel. Debian 7, 8, 9; Ubuntu 14.04 LTS and 16.04 LTS are affected (see https://bugs.launchpad.net/bugs/1699772). The *temporary* solution is to reboot with previous kernel versions: * Debian 7 (wheezy): <= 3.2.78-1 * Debian 8 (jessie): <= 3.16.43-2 * Debian 9 (stretch): <= 4.9.30-2 * Ubuntu 14.04 LTS (trusty): <= 3.13.0-119 * Ubuntu 16.04 LTS (xenial): <= 4.4.0-79 Phillipe, please update your Google+ post <https://plus.google.com/u/0/+philipperoux/posts/Y1mHTV5KJVf?cfem=1> with aforementioned kernel versions. All corresponding bugs in Scilab should be closed as INVALID with reason "not Scilab bug", I think. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-06-22 10:28 GMT+03:00 philippe <rouxph...@gmail.com>: > > Le 22/06/2017 à 01:46, Nikolay Strelkov a écrit : > >[...] > > > > Dear Phillipe, please try to send apport report with > > $ apport-cli /var/crash/_usr_bin_scilab-bin.1000.crash > > to launchpad. I can't send it. > > done > > > > What should *we* do? > > > > I've searched on bugzilla, the problem seems to be associated with some > change in the 4.8.0-56 kernel so restarting ubuntu with previous kernel > 4.8.0-54 may solve it until the next release . See Roger Manson comment > at the bottom of the page : > > http://bugzilla.scilab.org/show_bug.cgi?id=15141 > > they are two order recent bugs reports in bugzilla about "seg fault" > problem : > > http://bugzilla.scilab.org/show_bug.cgi?id=15192 > http://bugzilla.scilab.org/show_bug.cgi?id=15194 > > Thank you Nikolay, > > Philippe > > > > > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Use of optimized ATLAS binary with Scilab (on linux)
Dear Antoine! On Ubuntu and Debian you can install Scilab from official repositories and then switch libblas or liblapack to ATLAS with update-alternatives (see https://wiki.debian.org/DebianScience/LinearAlgebraLibraries). Hope this helps. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,**Nikolay Strelkov.* 11 апр. 2017 г. 14:59 пользователь "Antoine Monmayrant" < antoine.monmayr...@laas.fr> написал: > Hi all, > > I wonder whether any of you has tried to use optimized ATLAS binary > instead of the default one provided by Scilab (in the SCI/lib/thirdparty). > I read that it can greatly increase Scilab speed for some linear algebra > computations (see Programming in Scilab by Michaël Baudin, p135, available > here: http://forge.scilab.org/index.php/p/docprogscilab/downloads/). > I tried to remove libblas from the SCI subfolders, but then it seems that > Scilab fails to find the library installed on my machine. > Any tips? > > Antoine > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Get some error
Dear gnu! What compiler do you use? It is known that MinGW GCC works normally. You can install MinGW compiler from Scilab ATOMS <http://atoms.scilab.org/toolboxes/mingw> (see its Description). -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-04-10 13:04 GMT+03:00 gnu <kandy_w...@outlook.com>: > Dear Clément , > > I'm using scilab 6.0.0,my operating system is win10. > > I have try version 5.5.2 before ,I got the same problem. > > Thanks > > Kandy > > > > -- > View this message in context: http://mailinglists.scilab. > org/Get-some-error-tp4036157p4036168.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Arduino ATOM on Scilab 5.5.2 under Ubuntu 16.04 LTS
Dear Scilab users! Recently I have installed Ubuntu 16.04 LTS, it has Scilab 5.5.2 in repositories <http://packages.ubuntu.com/xenial/scilab>. I planned to use it with Arduino Uno board, so I tried to install arduino toolbox (ATOMS) with -->atomsInstall('arduino') atomsInstallList: The package arduino is not available. !--error 1 at line 51 of function atomsError called by : at line 76 of function atomsInstallList called by : at line 233 of function atomsInstall called by : atomsInstall('arduino') so I can't install it. I can't understand why this toolbox is not available <https://atoms.scilab.org/?order===arduino=on=_supported_version=5.5>. It has huge free-software popularization and educational potential. Isn't it? Someone opened ticket on Forge <http://forge.scilab.org/index.php/p/arduino/issues/1556/> to indicate this problem. But with no results. It seems that Scilab-forge is half-dead. I remember the last discussion <http://mailinglists.scilab.org/Scilab-users-Scilab-Arduino-tt4034546.html#a4034553> about Arduino and Scilab 5.5.2, it solves the problem, but it is not newbie-friendly to download, extract and run ATOM-archive manually. Please compile this toolbox for Scilab 5.5.2 and make it available as ATOM on all platforms. Moreover it is not available for Scilab 6 as explained in the new ticket <http://forge.scilab.org/index.php/p/arduino/issues/1684/> and on ATOMS site <https://atoms.scilab.org/?order===arduino=on=_supported_version=6.0> . -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)
Thank you, Oleksiy! I added initial state vectors to the context: IS1 = zeros(1,length(h1)); IS2 = zeros(1,length(h2)); Now It works as expected. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-04-03 4:04 GMT+03:00 ol.bond <oleksiy.b...@gmail.com>: > Hi, > > Another way to represent filter in Xcos is to use the Discrete State-Space > (DLSS) block. The matrices can be obtained directly from the > syslin representation of the system: > > [A1 B1 C1 D1] = abcd(H1); > [A2 B2 C2 D2] = abcd(H2); > > (This transformation can also be set in Xcos context) > > Yours > > 2017-04-02 23:45 GMT+09:00 Tan Chin Luh-2 [via Scilab / Xcos - Mailing > Lists Archives] <[hidden email] > <http:///user/SendEmail.jtp?type=node=4036118=0>>: > >> you're welcome. >> anyway it should be a better way to construct the denominator, do let me >> know if you find a better way. :) >> >> rgds, >> CL >> >> >> >> On 2/4/2017 12:22 AM, Nikolay Strelkov wrote: >> >> Dear Tan Chin Luh! >> >> Thank you very much. >> It works as expected! >> The problem is solved. >> >> -- >> >> *With best regards, Ph.D., * >> >> >> *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>, >> IEEE member, maintainer of Mathieu functions toolbox for Scilab >> <http://atoms.scilab.org/toolboxes/Mathieu/>, Nikolay Strelkov.* >> >> 2017-04-01 17:23 GMT+03:00 Tan Chin Luh <[hidden email] >> <http:///user/SendEmail.jtp?type=node=4036111=0>>: >> >>> Hi, >>> >>> If I understand correctly, you would like to create the filter in >>> Scilab, and directly access from Xcos? >>> if so, u could use the syslin object to do so. >>> >>> 1. Create the syslin obj >>> h1 = wfir("lp",2,[.2 0],"re",[0 0]) >>> h2 = wfir("hp",3,[.1 0],"re",[0 0]) >>> num1 = poly(h1,'z','coeff') >>> d = ones(1,size(h1,2)+1) >>> d(1:$-1) = 0 >>> den1 = poly(d,'z','coeff') >>> H1 = syslin('d',num1,den1) >>> num2 = poly(h2,'z','coeff') >>> d = ones(1,size(h2,2)+1) >>> d(1:$-1) = 0 >>> den2 = poly(d,'z','coeff') >>> H2 = syslin('d',num2,den2) >>> >>> 2. In Xcos >>> use H1.num in the numerator block for LPF, H1.den in the denominator for >>> the LPF, same for the HPF. >>> >>> Hope this helps. >>> >>> rgds, >>> CL >>> >>> >>> On 1/4/2017 9:53 PM, Nikolay Strelkov wrote: >>> >>> Anybody? >>> Dear Tim, do you have any idea? >>> >>> -- >>> >>> *With best regards, Ph.D., * >>> >>> >>> *associate professor at MPEI >>> <http://mpei.ru/lang/en/Pages/default.aspx>, IEEE member, maintainer of >>> Mathieu functions toolbox for Scilab >>> <http://atoms.scilab.org/toolboxes/Mathieu/>, Nikolay Strelkov.* >>> >>> 2017-03-23 14:27 GMT+03:00 Nikolay Strelkov <[hidden email] >>> <http:///user/SendEmail.jtp?type=node=4036111=1>>: >>> >>>> Dear all! >>>> >>>> I'm playing with simple digital filtering in Xcos 5.5.2. >>>> I have two filters - low-pass and high-pass, connected in series. >>>> >>>> Xcos does not have convolution block. >>>> So I write FIR transfer function >>>> <https://ccrma.stanford.edu/%7Ejos/fp/FIR_Transfer_Function.html> >>>> manually from impulse response function. >>>> I get impulse response functions from wfir function. >>>> >>>> Let's assume that we have two simple filters with impulse responses: >>>> h1 = [0.37419570.3741957]; // it's low-pass filter from h1 = >>>> wfir("lp",2,[.2 0],"re",[0 0]) >>>> and >>>> h2 = [- 0.18709790.8 - 0.1870979]; // it's high-pass filter h2 = >>>> wfir("hp",3,[.1 0],"re",[0 0]) >>>> >>>> I convert them to DLR >>>> <https://help.scilab.org/docs/5.5.2/en_US/DLR.html> SISOs and get: >>>> H1(z) = 0.3741957*z^-1 + 0.3741957*z^-2 = ( 0.3741957*z + 0.3741957 ) / >>>> (z^2); >>>> H2(z) = -0.1870979*z^-1 + 0.8*z^-2 - 0.1870979*z^-3 = ( -0.1870979*z^2 >>>> +
Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)
Dear Tan Chin Luh! Thank you very much. It works as expected! The problem is solved. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-04-01 17:23 GMT+03:00 Tan Chin Luh <chin...@tritytech.com>: > Hi, > > If I understand correctly, you would like to create the filter in Scilab, > and directly access from Xcos? > if so, u could use the syslin object to do so. > > 1. Create the syslin obj > h1 = wfir("lp",2,[.2 0],"re",[0 0]) > h2 = wfir("hp",3,[.1 0],"re",[0 0]) > num1 = poly(h1,'z','coeff') > d = ones(1,size(h1,2)+1) > d(1:$-1) = 0 > den1 = poly(d,'z','coeff') > H1 = syslin('d',num1,den1) > num2 = poly(h2,'z','coeff') > d = ones(1,size(h2,2)+1) > d(1:$-1) = 0 > den2 = poly(d,'z','coeff') > H2 = syslin('d',num2,den2) > > 2. In Xcos > use H1.num in the numerator block for LPF, H1.den in the denominator for > the LPF, same for the HPF. > > Hope this helps. > > rgds, > CL > > > On 1/4/2017 9:53 PM, Nikolay Strelkov wrote: > > Anybody? > Dear Tim, do you have any idea? > > -- > > *With best regards, Ph.D., * > > > *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>, > IEEE member, maintainer of Mathieu functions toolbox for Scilab > <http://atoms.scilab.org/toolboxes/Mathieu/>, Nikolay Strelkov.* > > 2017-03-23 14:27 GMT+03:00 Nikolay Strelkov <n.strel...@gmail.com>: > >> Dear all! >> >> I'm playing with simple digital filtering in Xcos 5.5.2. >> I have two filters - low-pass and high-pass, connected in series. >> >> Xcos does not have convolution block. >> So I write FIR transfer function >> <https://ccrma.stanford.edu/%7Ejos/fp/FIR_Transfer_Function.html> >> manually from impulse response function. >> I get impulse response functions from wfir function. >> >> Let's assume that we have two simple filters with impulse responses: >> h1 = [0.37419570.3741957]; // it's low-pass filter from h1 = >> wfir("lp",2,[.2 0],"re",[0 0]) >> and >> h2 = [- 0.18709790.8 - 0.1870979]; // it's high-pass filter h2 = >> wfir("hp",3,[.1 0],"re",[0 0]) >> >> I convert them to DLR <https://help.scilab.org/docs/5.5.2/en_US/DLR.html> >> SISOs and get: >> H1(z) = 0.3741957*z^-1 + 0.3741957*z^-2 = ( 0.3741957*z + 0.3741957 ) / >> (z^2); >> H2(z) = -0.1870979*z^-1 + 0.8*z^-2 - 0.1870979*z^-3 = ( -0.1870979*z^2 + >> 0.8*z - 0.1870979*z ) / (z^3); >> and place their numerator and denominator to the corresponding DLR blocks. >> Model is in attachment. It's an illustration, not real world example. >> >> I have a question. How I can automate the aforementioned process >> programmatically? >> I tried to create numerator and denominator with poly function and as >> strings, but Xcos does not support these types in DLR settings. >> >> -- >> >> >> >> >> *With best regards, Ph.D., assistant professor at MPEI >> <http://mpei.ru/lang/en/Pages/default.aspx>, IEEE member, maintainer of >> Mathieu functions toolbox for Scilab >> <http://atoms.scilab.org/toolboxes/Mathieu/>, Nikolay Strelkov.* >> > > > > ___ > users mailing > listusers@lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users > > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)
Anybody? Dear Tim, do you have any idea? -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-03-23 14:27 GMT+03:00 Nikolay Strelkov <n.strel...@gmail.com>: > Dear all! > > I'm playing with simple digital filtering in Xcos 5.5.2. > I have two filters - low-pass and high-pass, connected in series. > > Xcos does not have convolution block. > So I write FIR transfer function > <https://ccrma.stanford.edu/%7Ejos/fp/FIR_Transfer_Function.html> > manually from impulse response function. > I get impulse response functions from wfir function. > > Let's assume that we have two simple filters with impulse responses: > h1 = [0.37419570.3741957]; // it's low-pass filter from h1 = > wfir("lp",2,[.2 0],"re",[0 0]) > and > h2 = [- 0.18709790.8 - 0.1870979]; // it's high-pass filter h2 = > wfir("hp",3,[.1 0],"re",[0 0]) > > I convert them to DLR <https://help.scilab.org/docs/5.5.2/en_US/DLR.html> > SISOs and get: > H1(z) = 0.3741957*z^-1 + 0.3741957*z^-2 = ( 0.3741957*z + 0.3741957 ) / > (z^2); > H2(z) = -0.1870979*z^-1 + 0.8*z^-2 - 0.1870979*z^-3 = ( -0.1870979*z^2 + > 0.8*z - 0.1870979*z ) / (z^3); > and place their numerator and denominator to the corresponding DLR blocks. > Model is in attachment. It's an illustration, not real world example. > > I have a question. How I can automate the aforementioned process > programmatically? > I tried to create numerator and denominator with poly function and as > strings, but Xcos does not support these types in DLR settings. > > -- > > > > > *With best regards,Ph.D., assistant professor at MPEI > <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of > Mathieu functions toolbox for Scilab > <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Setting up C-compiler
Dear Phililip! I do not know about MS compiler. I use GCC from mingw on my Windows 8.1 laptop. I installed version 0.9.3 from ATOMS <http://atoms.scilab.org/toolboxes/mingw/0.9.3>: 1. installed gcc x64 from - http://atoms.scilab.org/toolboxes/mingw/0.9.3/files/gcc-4.6.3-64.exe 2. logged out 3. installed mingw toolbox in Scilab with atomsInstall('mingw'); 4. restarted Scilab 5. tested mingw toolbox with atomsTest('mingw'); Hope this helps. -- *With best regards,Ph.D., * *associate professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-04-01 0:02 GMT+03:00 phillip mobley <phillipmobl...@gmail.com>: > Hello everyone, > > I seem to be running into an interesting issue with my xcos code, I am > getting an error that it is unable to find a c compiler. > > I am running win 10 and scilab 5.5.2 > > I have installed visual studio 2015. I am not too sure if it will pick up > on this compiler. If not, I have downloaded the latest version of mingw and > installed the dynamic linker for sci-lab and the program is still having > issue with finding a compiler. > > I was wondering if anyone here may have ran into a similar issue or if I > could get some help in getting scilab to find a compatible compiler? > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)
Dear all! I'm playing with simple digital filtering in Xcos 5.5.2. I have two filters - low-pass and high-pass, connected in series. Xcos does not have convolution block. So I write FIR transfer function <https://ccrma.stanford.edu/%7Ejos/fp/FIR_Transfer_Function.html> manually from impulse response function. I get impulse response functions from wfir function. Let's assume that we have two simple filters with impulse responses: h1 = [0.37419570.3741957]; // it's low-pass filter from h1 = wfir("lp",2,[.2 0],"re",[0 0]) and h2 = [- 0.18709790.8 - 0.1870979]; // it's high-pass filter h2 = wfir("hp",3,[.1 0],"re",[0 0]) I convert them to DLR <https://help.scilab.org/docs/5.5.2/en_US/DLR.html> SISOs and get: H1(z) = 0.3741957*z^-1 + 0.3741957*z^-2 = ( 0.3741957*z + 0.3741957 ) / (z^2); H2(z) = -0.1870979*z^-1 + 0.8*z^-2 - 0.1870979*z^-3 = ( -0.1870979*z^2 + 0.8*z - 0.1870979*z ) / (z^3); and place their numerator and denominator to the corresponding DLR blocks. Model is in attachment. It's an illustration, not real world example. I have a question. How I can automate the aforementioned process programmatically? I tried to create numerator and denominator with poly function and as strings, but Xcos does not support these types in DLR settings. -- *With best regards,Ph.D., assistant professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* fir_test.zcos Description: Binary data ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] compiling scilab
Dear Martin! First of all can't understand why you are trying to compile Scilab. You can get binary version <http://www.scilab.org/download/latest>, extract and use it. At second you can get Scilab from AUR <https://aur.archlinux.org/packages/?O=0=scilab>. If you still willing to compile Scilab from sources you should install its build dependencies. I think you can start building Scilab 6.0.0 (commit 22bd3a5c93489bce74fbaf25d19fe55aefca853c <http://gitweb.scilab.org/?p=scilab.git;a=commit;h=22bd3a5c93489bce74fbaf25d19fe55aefca853c> ). After successful build of 6.0.0 you can try newer revisions. I'm on Ubuntu 12.04.5 LTS. Here we use "apt-get build-dep scilab", "checkinstall" and so on <http://mailinglists.scilab.org/Compilation-Errors-tc4035596.html#a4035619>. So I can't offer more. -- *With best regards,Ph.D., assistant professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2017-03-23 1:02 GMT+03:00 Martin Marmsoler <martin.marmso...@gmail.com>: > I'm using antergos and cloned the code from scilab website. > GNU Make 4.2.1 > 4.10.3-1-ARCH > > > 2017-03-22 22:29 GMT+01:00 Tim Wescott <t...@wescottdesign.com>: > >> On Wed, 2017-03-22 at 22:19 +0100, Martin Marmsoler wrote: >> > Hello, >> > >> > I tried to compile scilab, but I get every the the following error: >> > >> > File "_none_", line 1: >> > Error: Files ./src/xml2modelica/xMLParser.cmx >> >and ./src/xml2modelica/linenum.cmx >> >make inconsistent assumptions over implementation Linenum >> > >> > It's revision: 8e22c1833d5be739f39ca4008582952f2d76cfdc >> > Tried also revision 37f503cc29e63e42902b4de384e9f7c064b76b92 >> >> I do _not_ know the answer, but someone is going to ask you for >> platform, operating system, and the version of the tools that you're >> using. Then they're going to want to know where you got your source >> code (unless it's obvious from the revision numbers). >> >> Sorry I can't offer more... >> >> -- >> >> Tim Wescott >> www.wescottdesign.com >> Control & Communications systems, circuit & software design. >> Phone: 503.631.7815 >> Cell: 503.349.8432 >> >> >> >> ___ >> users mailing list >> users@lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0
Dear Scilab users and developers! I have installed Scilab 6.0 x86 and x86_64 on my Windows 8.1 x86_64 laptop. Also I have downloaded and installed gcc-6.2.0 for x86 <http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-32.exe> and x86_64 <http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-64.exe> as prerequisites of MingGw toolbox <https://atoms.scilab.org/toolboxes/mingw/0.10.0>. Then I installed MinGw toolbox in Scilabs with atomsInstall('mingw'). This process was successful. Then I restarted Scilab and tried to test MinGw toolbox with atomsTest('mingw'). The results are not good - on both x86 and x86_64 - 13 tests of 15 are failed. Only *G_make* and *dllinfo* are passed. I do not attach logs - the error is always the same "failed: Slave Scilab exited with error code 1 ". If I launch these unit-tests manually (with cd SCIHOME\atoms\x64\mingw\0.10. 0\tests\unit_tests\ and corresponding exec *.tst ) I got messages such as WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\ atoms\x64\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. make: *** No rule to make target 'all'. Stop. at line25 of function dlwCompile ( C:\Users\nikolay\AppData\ Roaming\Scilab\SCILAB~2.0\atoms\x64\mingw\010~1.0\macros\windows\dlwCompile.sci line 34 ) at line70 of function ilib_compile ( C:\Program Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_compile.sci line 86 ) at line 129 of function ilib_build ( C:\Program Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_build.sci line 142 ) at line17 of executed file C:\Users\nikolay\AppData\ Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.0\tests\ unit_tests\addinter.tst ilib_compile: Error while executing Makelib. Also I tried to launch Xcos model with Modelica blocks with xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); then with Simulation->Start got error in console --> xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); \ Main Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ Bridge_Rectifier_im.mo Flat Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ Bridge_Rectifier_imf.mo Simulation C code :C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ Bridge_Rectifier_im.c Generate a loader file Generate a Makefile WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\ atoms\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. Running the Makefile Compilation of Bridge_Rectifier_im.obj Building shared library (be patient) make: *** No rule to make target 'clean'. Stop. !sorry compiling problem ! ! ! !ilib_compile: Error while executing Makelib. ! c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. After manual move of 'scripts/TEMPLATE_MAKEFILE.MINGW' to 'macros/scripts/TEMPLATE_MAKEFILE.MINGW' atomsTest('mingw') reports 10 passed tests (failed are: *addinter, ilib_build, ilib_build_2, ilib_build_cpp, links*). But Xcos models with Modelica blocks can be simulated except 2 crashes (*Ball on a Platform* and *Chaos Modelica*) Scilab 5.5.2 (x86 and x86_64) works normally on the same machine with mingw-0.9.3 (and gcc-4.6.3). Where is an error - in Scilab or in MinGw toolbox? Should I report bug? -- *With best regards,Ph.D., assistant professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab - Arduino
Dear Paul! I'm on Ubuntu 12.04.5 LTS amd64 with binary Scilab 5.5.2 amd64. I downloaded Arduino toolbox from link in this comment (Francisco-Ronay Lopez-estrada -- July 16, 2015, 07:51:43 PM <https://atoms.scilab.org/toolboxes/arduino/1.1#comment2474>) - Arduino linux3.zip <https://mega.co.nz/#%21T1RynDrI%21icxPWmHxbNhqPnIXpHr2wIxhipXWeNb0hRSDHu00RQQ> . I extracted this zip-archive to my SCIHOME directory ( /home/nikolay/.Scilab/scilab-5.5.2), then launched builder.sce and then added loader.sce to autoload by creating /home/nikolay/.Scilab/scilab-5.5.2/.scilab with the following line: exec('/home/nikolay/.Scilab/scilab-5.5.2/linux3/loader.sce',-1); Then I restarted Scilab and Arduino toolbox loaded with messages: Startup execution: loading initial environment Start Arduino Load macros Load serial dll Shared archive loaded. Link done. Load palette Load help Load demos Arduino Version: 1.2 --> In Ubuntu your user should be a member of dialout group - sudo adduser $USER dialout . For better Scilab usability I suggest to use light window manager theme, for example Radiance. After this you can use Arduino with Xcos. You can vote for official linux port of Arduino toolbox on forge <http://forge.scilab.org/index.php/p/arduino/issues/1556/>. Hope this helps. -- *With best regards,Ph.D., assistant professor at MPEI <http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.* 2016-09-05 23:30 GMT+03:00 <paul.carr...@free.fr>: > Scilab 5.5.2 for me ... the latest stable release > > > - Mail original - > De: "Samuel Gougeon" <sgoug...@free.fr> > À: "Users mailing list for Scilab" <users@lists.scilab.org> > Envoyé: Lundi 5 Septembre 2016 21:43:36 > Objet: Re: [Scilab-users] Scilab - Arduino > > > > Hello, > > Le 05/09/2016 21:22, Claus Futtrup a écrit : > > > > Hi Paul > > It's not necessary to download and install offline. > > When you look at the website for the module, it says: > > > Category > Instruments Control > This means, open ATOMS, go to Instruments Control ... that's where you > should be able to find the Arduino package. > > I haven't checked if it exist in ATOMS there ... but if you don't find the > package there, please report it as a bug to Scilab. > . > I guess that Paul is running either Scilab 5.5 or Scilab 6, whereas the > "arduino" module is not yet packaged for Scilab 6 (neither the 1.2 nor the > 1.3 releases): "This toolbox is in the process of being built" => no binary > available... And was formerly available for Scilab 5.4 but not 5.5. > > New versioning and filtering rules applying since end of june then make > Arduino available only from Scilab 5.4. > These rules kill the usage of many Scilab 5 resources. > It is quite hard to think that this evolution is not intentional. It was > perfectly anticipable. > > Samuel > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] porting an atom module from 5.5.x?==?utf-8?q? -> 6.0
Dear Antoine! I think you can start with toolbox_skeleton for Scilab 6 <https://atoms.scilab.org/toolboxes/toolbox_skeleton/6.0.0>. With best regards, maintainer and developer of Mathieu functions toolbox <http://atoms.scilab.org/toolboxes/Mathieu/> for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2016-04-09 17:34 GMT+03:00 Antoine Monmayrant <amonm...@laas.fr>: > Hi everyone, > > I just tried to install in 6.0 an atom module developed by one of my > colleagues for 5.5.X, without success. > I tough naively that just bumping the version requirement from 5.X wih > X>=2 to X.0 with X>=6, in addition to small fixes in the loader/builder > would do it but I was wrong. > As anyone ported 5.5 modules to 6.0? > Any piece of advice or tutorial on the best way to do it? > > Thanks in advance for your help, > > Antoine > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Xcos Coselica blocks - Error while running - C compiller
Dear Christopher! If you are on Windows, you should install MinGW compiler from Scilab ATOMS <http://atoms.scilab.org/toolboxes/mingw> (see its Description). With best regards, maintainer and developer of Mathieu functions toolbox <http://atoms.scilab.org/toolboxes/Mathieu/> for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-11-04 8:55 GMT+03:00 Planet59 <christopher.lebeil...@outlook.com>: > Hello, > > After installing successfully COSELICA blocks, I wanted to run some demo on > order to see how to implement model with those blocks. > > When running the simulation, I got a error message about C compiller: > /\ > Main Modelica : > > C:\Users\XXX\AppData\Local\Temp\SCI_TMP_5984_\HeatTransfer_TwoMasses_im.mo > > Flat Modelica : > > C:\Users\XXX\AppData\Local\Temp\SCI_TMP_5984_\HeatTransfer_TwoMasses_imf.mo > Simulation C code > > :C:\Users\XXX\AppData\Local\Temp\SCI_TMP_5984_\HeatTransfer_TwoMasses_im.c >Generate a loader file >Generate a Makefile >Running the Makefile > > !sorry compiling problem ! > ! ! > !A Fortran or C compiler is required. ! > c_pass1: build the modelica meta-block failed > > xcos_simulate: Error during block parameters update./ > > < > http://mailinglists.scilab.org/file/n4033072/InfosMessageScilabXcosCoselica.png > > > > I have typed this command in the console so that someone help me how to > solve this problem (saw it in other related issue but the solution were not > explained clearly). > /-->haveacompiler() > ans = > > F/ > > So it seems that I have not the C compiller. But where could I get this C > compiller needed to run correctly the COSELICA blocks ? Which application > and how to link it to scilab ? > > Thank in advance for help and your reply. > > Planet59 > Best Regards > > > > -- > View this message in context: > http://mailinglists.scilab.org/Xcos-Coselica-blocks-Error-while-running-C-compiller-tp4033072.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] How to plot frequency spectrum in Xcos for Scilab Version 5.5.2(64 bit)
Dear Parthageet Samantaray! You are right about PSPECSCOPE_с <http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/PSPECSCOPE_c.htm> in Modnum toolbox. For now it is available only for ScicosLab <http://www.scicos.org/downloads.html>. There is a project from Peter Fabo for porting Modnum to modern Scilab (see here <http://wiki.tntech.eu/index.php?title=Xcos_Modnum> and in the mail list <http://mailinglists.scilab.org/Scilab-users-Modnum-amp-Xcos-td4027491.html> ). I prefer to use Scilab with Xcos, so I suggest the following solution (tested on 5.5.2 x64): 1. Create Xcos model with variables - see *sine.xcos* 2. Create Scilab script file for launching Xcos model and plotting result as function of time and frequency (with built-in FFT function) - see *sine_launcher.sce* 3. Launch *sine_launcher.sce* and it will simulate Xcos model and plot FFT for it Hope this helps. With best regards, maintainer and developer of Mathieu functions toolbox <http://atoms.scilab.org/toolboxes/Mathieu/> for Scilab, IEEE member, Ph.D., Nikolay Strelkov. С уважением, к.т.н., ассистент кафедры Основ радиотехники ИРЭ им. В.А. Котельникова НИУ "МЭИ", член IEEE, Стрелков Н.О. 2015-11-01 8:26 GMT+03:00 Parthageet Samantaray <pgsmn...@gmail.com>: > Hello, > > I am trying to plot the Frequency Spectrum of a Sampled Sinusoidal Wave in > the above mentioned version of Scilab using XCOS. But I didn't find any > Scope for that in the Sinks Palette. > > I found that there was some toolbox called Modnum which had a > "pspec_scope" to plot the Power Spectrum of a signal. But this was for > Scilab version 4.2, so unable to use in 5.5.2(64 bit). > > If anyone has any idea any this regard, kindly post it. > > Thanks and Regards. > Parthageet Samantaray > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > sine.xcos Description: Binary data sine_launcher.sce Description: application/scilab ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Modnum & Xcos
Dear Peter Fabo! Do you have any updates on Xcos Modnum toolbox? It would be very useful. With best regards, maintainer and developer of Mathieu functions toolbox <http://atoms.scilab.org/toolboxes/Mathieu/> for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 25 мая 2015 г. 16:50 пользователь "Nikolay Strelkov" <n.strel...@gmail.com> написал: > Dear Peter Fabo! > > Do you have any updates on Xcos Modnum toolbox? > It would be very useful. > > With best regards, > maintainer and developer of Mathieu functions toolbox > <http://atoms.scilab.org/toolboxes/Mathieu/> for Scilab, > IEEE member, Ph.D., > Nikolay Strelkov. > > 2015-03-02 16:49 GMT+03:00 Nikolay Strelkov <n.strel...@gmail.com>: > >> Dear Peter Fabo and all! >> >> It is great, that Modnum being ported to modern Scilab and Xcos! >> >> I'm very interested in PSPECSCOPE_с >> <http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/PSPECSCOPE_c.htm> >> (for FFT) and CONVOLGEN_f >> <http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/CONVOLGEN_f.htm> >> (for FIR filtering) blocks. >> For FFT there is an project in Scilab Forge (bufferblock >> <http://forge.scilab.org/index.php/p/bufferblock/>), but it does not >> compile in modern versions of Xcos and Scilab (see issues >> <http://forge.scilab.org/index.php/p/bufferblock/issues/>). But I saw a >> paper where it was used with Scilab >=5.3. >> >> I think it would be great if you place your work in Scilab Forge >> <http://forge.scilab.org>. >> I'm ready to test your toolbox. >> >> >> With best regards, >> maintainer and developer of Mathieu functions toolbox >> <http://atoms.scilab.org/toolboxes/Mathieu/> for Scilab, >> IEEE member, Ph.D., >> Nikolay Strelkov. >> >> >> 2015-02-28 10:33 GMT+03:00 Clemgill <clemg...@club-internet.fr>: >> >>> Hi all, >>> Any news on the availability of MODNUM converted to XCOS? >>> I am interested in the PLL palette. >>> Thx much, >>> Gilles. >>> >>> >>> >>> -- >>> View this message in context: >>> http://mailinglists.scilab.org/Scilab-users-Modnum-Xcos-tp4027491p4031752.html >>> Sent from the Scilab users - Mailing Lists Archives mailing list archive >>> at Nabble.com. >>> ___ >>> users mailing list >>> users@lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >> >> > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Strange behaviour of char(?) function in scilab-6.0.0-alpha-1
I reported bug 14023 http://bugzilla.scilab.org/show_bug.cgi?id=14023 on Scilab 6.0.0-alpha1 and added link to this discussion. edit cellstr // line #29, replace c(i,1).entries = strcat(s(i,:)); // with c(i,1) = strcat(s(i,:)); // the your script works. Editing cellstr function helps. Thank you, Samuel! With best regards. Nikolay. 2015-07-31 18:56 GMT+03:00 Samuel Gougeon sgoug...@free.fr: Le 31/07/2015 17:16, Nikolay Strelkov a écrit : .../.. So my questions are: 1. Did you change something in char function in Scilab 6? 2. How should I change my code to make it working in Scilab 5.x and 6 with the same functionality? Release notes announce changes with cells: cell.entries and cell.dims have been removed. But cellstr.sci has not been updated (and may be other macros?): edit cellstr // line #29, replace c(i,1).entries = strcat(s(i,:)); // with c(i,1) = strcat(s(i,:)); // the your script works. 3. Do I need to report bug? Yes Samuel ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Strange behaviour of char(?) function in scilab-6.0.0-alpha-1
Dear Scilab community and developers! In my project I have the following code (simplified for clarity): vals = [cellstr('aaa'),cellstr('bbb'),cellstr('ccc'),cellstr('ddd')]; for n = 1:size(vals,*) val = char(vals(n)); printf(\n%s,val); if val == aaa then disp('got aaa'); end end; It works as expected in Scilab 5.2.2, 5.3.0, 5.3.2, 5.3.3, 5.4.0, 5.4.1, 5.5.0, 5.5.1, 5.5.2 and in ScicosLab 4.4.1. But it does not work in Scilab 6.0.0-alpha1. Here I get error: exec('/tmp/cell_problem.sci', -1) char: Wrong type for input argument: Cell expected. at line95 of function char ( /home/norbert/Downloads/scilab-6.0.0-alpha-1/share/scilab/modules/compatibility_functions/macros/char.sci line 104 ) at line 5 of executed file /tmp/cell_problem.sci So my questions are: 1. Did you change something in char function in Scilab 6? 2. How should I change my code to make it working in Scilab 5.x and 6 with the same functionality? 3. Do I need to report bug? With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. cell_problem.sci Description: application/scilab ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Previous Scilab version.
Dear, Mario! You can download Scilab 5.2.1 for example from here ( http://uni-smr.ac.ru/archive/win/science/math/scilab/5x/win/ ). But I think you do not need exact version, because of stable Scilab syntax. Moreover modern versions of Scilab are more user-friendly. With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-05-27 18:20 GMT+03:00 Mario Giganti giganti.mario-wo...@tiscali.it: To Scilab team I've bought the book CURVES AND SURFACES How to draw different shapes through SCILAB edited by Pitagora in Bologna, Italy. Now I learn that I must download an old version of SCILAB, namely 5.2.1. I was going to mail the Previous Scilab Version form. However I got stuck with the question: What kind of archive do you need ? Binary, Sources, Prerequirements? I ask kindly help from you as far as *what is the right answer* to the above request, when I want to download the SCILAB program as is normally done from the Scilab.org internet site. The OS here is 32-bit Windows XP. I intend to use the Scilab program merely for personal educational purpose. No commercial usage is foreseen. Thanks for the help. GIGANTI MARIO Country: Italy giganti.mario-wo...@tiscali.it ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] New computer, graphics(?) crashes
I forgot to mention - I have 14.04 HWE ( https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Desktop-1 ) on my Ubuntu 12.04.5 LTS. 28 мая 2015 г. 22:55 пользователь Nikolay Strelkov n.strel...@gmail.com написал: Dear Tim! I did some tests. Ubuntu 14.04.2 LTS i386: $ glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI OpenGL vendor string: X.Org $ lsmod | grep drm drm_kms_helper 55071 1 radeon drm 303102 5 ttm,drm_kms_helper,radeon Your command works normally scf(0); clf; plot2d(sin((0:0.01:1) * 4 * %pi)) Ubuntu 12.04.5 LTS i386: $ glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI OpenGL vendor string: VMware, Inc. $ lsmod | grep drm drm_kms_helper 49282 1 radeon drm 249595 3 radeon,ttm,drm_kms_helper Your command works normally scf(0); clf; plot2d(sin((0:0.01:1) * 4 * %pi)) So I have no problems with A4-4000 APU. What exact laptop model do have? I understood about AMD A10. But may be there is a discrete (hybrid) card too? With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-05-28 18:25 GMT+03:00 t...@wescottdesign.com: For what it's worth, in Lubuntu the full fglrx packages causes immediate crashes, while uninstalling all fgrlx-related stuff except for fgrlx-core makes it last a while before it dies. Also, this computer was a rush job to replace my rather old previous machine which died Monday morning, and all I did to install the OS was to use the old hard drive. As a consequence, the new machine is running in 32-bit mode, not 64. I'm not sure how mature the 64-bit stuff is, or how neglected the 32-bit stuff may be at this point. On 2015-05-28 00:18, Nikolay Strelkov wrote: Dear guys! I'll test Scilab on AMD A4-4000 today with Ubuntu 12.04.5 LTS and 14.04.2 LTS and report back. On my laptops I successfully use Scilab 5.x on Intel HD graphics (open drivers) and old Nvidia (GTX6xx, GT425, 9600GT both with proprietary drivers). 28 мая 2015 г. 10:44 пользователь Antoine Monmayrant amonm...@laas.fr написал: Le Jeudi 28 Mai 2015 06:54 CEST, Tim Wescott t...@wescottdesign.com a écrit: Strike that, I'm running 12.04. Dang. Time to upgrade, I guess. Yep, first thing to do. And keep on digging on the videocard driver side if you still have troubles. Scilab tends to be a good way to detect buggy video drivers! Getting a cheap videocard with decent drivers might be the easiest way to solve your problem. You might try to ask other Linux users what card they have and whether they get graphics related crashes. Antoine On Wed, 2015-05-27 at 08:15 +0300, Nikolay Strelkov wrote: Dear Tim! For me it seems that you need to use proprietary AMD drivers - fglrx. Open drivers are buggy and show low-performance. If you want to use open driver on Ubuntu 12.04 LTS (precise) you should upgrade its HWE to 14.04 LTS (trusty). With best regards, Nikolay. 27 мая 2015 г. 3:22 пользователь Tim Wescott t...@wescottdesign.com написал: Running a Scilab algorithm that puts up a lot of graphs, Scilab crashes with the report below. It's only happened with Scilab, but it appears to be the video driver that's complaining, so I don't know if this is a problem with Linux or with Scilab. The processor is an AMD A10 with on-board video processing which is considerably different from my 12-year-old Dell that this computer is replacing. Does anyone have clues for the clueless? Particularly suggestions for isolating, fixing, or working around the problem? radeon: Failed to allocate a buffer: radeon:size : 3328 bytes radeon:alignment : 256 bytes radeon:domains : 2 EE ../../../../../../src/gallium/drivers/radeon/r600_texture.c:1012 r600_texture_transfer_map - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon:size : 1280 bytes radeon:alignment : 256 bytes radeon:domains : 4 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 Segmentation fault (core dumped) -- Tim Wescott www.wescottdesign.com [1] Control Communications systems, circuit software design
Re: [Scilab-users] New computer, graphics(?) crashes
Dear Tim! I did some tests. Ubuntu 14.04.2 LTS i386: $ glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI OpenGL vendor string: X.Org $ lsmod | grep drm drm_kms_helper 55071 1 radeon drm 303102 5 ttm,drm_kms_helper,radeon Your command works normally scf(0); clf; plot2d(sin((0:0.01:1) * 4 * %pi)) Ubuntu 12.04.5 LTS i386: $ glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI OpenGL vendor string: VMware, Inc. $ lsmod | grep drm drm_kms_helper 49282 1 radeon drm 249595 3 radeon,ttm,drm_kms_helper Your command works normally scf(0); clf; plot2d(sin((0:0.01:1) * 4 * %pi)) So I have no problems with A4-4000 APU. What exact laptop model do have? I understood about AMD A10. But may be there is a discrete (hybrid) card too? With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-05-28 18:25 GMT+03:00 t...@wescottdesign.com: For what it's worth, in Lubuntu the full fglrx packages causes immediate crashes, while uninstalling all fgrlx-related stuff except for fgrlx-core makes it last a while before it dies. Also, this computer was a rush job to replace my rather old previous machine which died Monday morning, and all I did to install the OS was to use the old hard drive. As a consequence, the new machine is running in 32-bit mode, not 64. I'm not sure how mature the 64-bit stuff is, or how neglected the 32-bit stuff may be at this point. On 2015-05-28 00:18, Nikolay Strelkov wrote: Dear guys! I'll test Scilab on AMD A4-4000 today with Ubuntu 12.04.5 LTS and 14.04.2 LTS and report back. On my laptops I successfully use Scilab 5.x on Intel HD graphics (open drivers) and old Nvidia (GTX6xx, GT425, 9600GT both with proprietary drivers). 28 мая 2015 г. 10:44 пользователь Antoine Monmayrant amonm...@laas.fr написал: Le Jeudi 28 Mai 2015 06:54 CEST, Tim Wescott t...@wescottdesign.com a écrit: Strike that, I'm running 12.04. Dang. Time to upgrade, I guess. Yep, first thing to do. And keep on digging on the videocard driver side if you still have troubles. Scilab tends to be a good way to detect buggy video drivers! Getting a cheap videocard with decent drivers might be the easiest way to solve your problem. You might try to ask other Linux users what card they have and whether they get graphics related crashes. Antoine On Wed, 2015-05-27 at 08:15 +0300, Nikolay Strelkov wrote: Dear Tim! For me it seems that you need to use proprietary AMD drivers - fglrx. Open drivers are buggy and show low-performance. If you want to use open driver on Ubuntu 12.04 LTS (precise) you should upgrade its HWE to 14.04 LTS (trusty). With best regards, Nikolay. 27 мая 2015 г. 3:22 пользователь Tim Wescott t...@wescottdesign.com написал: Running a Scilab algorithm that puts up a lot of graphs, Scilab crashes with the report below. It's only happened with Scilab, but it appears to be the video driver that's complaining, so I don't know if this is a problem with Linux or with Scilab. The processor is an AMD A10 with on-board video processing which is considerably different from my 12-year-old Dell that this computer is replacing. Does anyone have clues for the clueless? Particularly suggestions for isolating, fixing, or working around the problem? radeon: Failed to allocate a buffer: radeon:size : 3328 bytes radeon:alignment : 256 bytes radeon:domains : 2 EE ../../../../../../src/gallium/drivers/radeon/r600_texture.c:1012 r600_texture_transfer_map - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon:size : 1280 bytes radeon:alignment : 256 bytes radeon:domains : 4 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 Segmentation fault (core dumped) -- Tim Wescott www.wescottdesign.com [1] Control Communications systems, circuit software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users [2
Re: [Scilab-users] New computer, graphics(?) crashes
Could you try to reinstall package containing missed /usr/lib/i386-linux-gnu/egl/egl_gallium.so with sudo apt-get install --reinstall libegl1-mesa-drivers ? Did you try to install scilab 5.3.3 from ubuntu repositories (sudo apt-get install scilab)? Does it work? Manual unpacking 5.5.1 to /usr/local may cause missed system dependencies. On my ubuntu I have many scilab versions - 5.3.3 from repository and newer versions (unpacked to ~/Software with custom launchers on desktop). 29 мая 2015 г. 4:28 пользователь Tim Wescott t...@wescottdesign.com написал: I upgraded to the 14.04 HWE, and now I can't show a graph at all. I can change the problems that I get, but basically I start Scilab and get: libEGL warning: Could not open driver /usr/lib/i386-linux-gnu/egl/egl_gallium.so (/usr/local/share/scilab-5.5.1/lib/thirdparty/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/egl/egl_gallium.so)) libEGL warning: DRI2: failed to authenticate libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/fglrx/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/dri) libEGL warning: DRI2: failed to authenticate libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/fglrx/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/dri) libEGL warning: DRI2: failed to authenticate libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/fglrx/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/dri) At this point I try to open a graph (plot2d(1:10)), the graph window opens, and Scilab freezes. On Thu, 2015-05-28 at 23:58 +0300, Nikolay Strelkov wrote: I forgot to mention - I have 14.04 HWE ( https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Desktop-1 ) on my Ubuntu 12.04.5 LTS. 28 мая 2015 г. 22:55 пользователь Nikolay Strelkov n.strel...@gmail.com написал: Dear Tim! I did some tests. Ubuntu 14.04.2 LTS i386: $ glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI OpenGL vendor string: X.Org $ lsmod | grep drm drm_kms_helper 55071 1 radeon drm 303102 5 ttm,drm_kms_helper,radeon Your command works normally scf(0); clf; plot2d(sin((0:0.01:1) * 4 * %pi)) Ubuntu 12.04.5 LTS i386: $ glxinfo | grep -i vendor server glx vendor string: SGI client glx vendor string: Mesa Project and SGI OpenGL vendor string: VMware, Inc. $ lsmod | grep drm drm_kms_helper 49282 1 radeon drm 249595 3 radeon,ttm,drm_kms_helper Your command works normally scf(0); clf; plot2d(sin((0:0.01:1) * 4 * %pi)) So I have no problems with A4-4000 APU. What exact laptop model do have? I understood about AMD A10. But may be there is a discrete (hybrid) card too? With best regards, maintainer and developer of Mathieu functions toolbox for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-05-28 18:25 GMT+03:00 t...@wescottdesign.com: For what it's worth, in Lubuntu the full fglrx packages causes immediate crashes, while uninstalling all fgrlx-related stuff except for fgrlx-core makes it last a while before it dies. Also, this computer was a rush job to replace my rather old previous machine which died Monday morning, and all I did to install the OS was to use the old hard drive. As a consequence, the new machine is running in 32-bit mode, not 64. I'm not sure how mature the 64-bit stuff is, or how neglected the 32-bit stuff may be at this point. On 2015-05-28 00:18, Nikolay Strelkov wrote: Dear guys! I'll test Scilab on AMD A4-4000 today with Ubuntu 12.04.5 LTS and 14.04.2 LTS and report back. On my laptops I successfully use Scilab 5.x on Intel HD graphics (open drivers) and old Nvidia (GTX6xx, GT425, 9600GT both with proprietary drivers). 28 мая 2015 г. 10:44 пользователь Antoine Monmayrant amonm...@laas.fr написал: Le Jeudi 28 Mai 2015 06:54 CEST, Tim Wescott t...@wescottdesign.com a écrit: Strike that, I'm running 12.04
Re: [Scilab-users] New computer, graphics(?) crashes
Dear guys! I'll test Scilab on AMD A4-4000 today with Ubuntu 12.04.5 LTS and 14.04.2 LTS and report back. On my laptops I successfully use Scilab 5.x on Intel HD graphics (open drivers) and old Nvidia (GTX6xx, GT425, 9600GT both with proprietary drivers). 28 мая 2015 г. 10:44 пользователь Antoine Monmayrant amonm...@laas.fr написал: Le Jeudi 28 Mai 2015 06:54 CEST, Tim Wescott t...@wescottdesign.com a écrit: Strike that, I'm running 12.04. Dang. Time to upgrade, I guess. Yep, first thing to do. And keep on digging on the videocard driver side if you still have troubles. Scilab tends to be a good way to detect buggy video drivers! Getting a cheap videocard with decent drivers might be the easiest way to solve your problem. You might try to ask other Linux users what card they have and whether they get graphics related crashes. Antoine On Wed, 2015-05-27 at 08:15 +0300, Nikolay Strelkov wrote: Dear Tim! For me it seems that you need to use proprietary AMD drivers - fglrx. Open drivers are buggy and show low-performance. If you want to use open driver on Ubuntu 12.04 LTS (precise) you should upgrade its HWE to 14.04 LTS (trusty). With best regards, Nikolay. 27 мая 2015 г. 3:22 пользователь Tim Wescott t...@wescottdesign.com написал: Running a Scilab algorithm that puts up a lot of graphs, Scilab crashes with the report below. It's only happened with Scilab, but it appears to be the video driver that's complaining, so I don't know if this is a problem with Linux or with Scilab. The processor is an AMD A10 with on-board video processing which is considerably different from my 12-year-old Dell that this computer is replacing. Does anyone have clues for the clueless? Particularly suggestions for isolating, fixing, or working around the problem? radeon: Failed to allocate a buffer: radeon:size : 3328 bytes radeon:alignment : 256 bytes radeon:domains : 2 EE ../../../../../../src/gallium/drivers/radeon/r600_texture.c:1012 r600_texture_transfer_map - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon:size : 1280 bytes radeon:alignment : 256 bytes radeon:domains : 4 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 Segmentation fault (core dumped) -- Tim Wescott www.wescottdesign.com Control Communications systems, circuit software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control Communications systems, circuit software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] New computer, graphics(?) crashes
Dear Tim! For me it seems that you need to use proprietary AMD drivers - fglrx. Open drivers are buggy and show low-performance. If you want to use open driver on Ubuntu 12.04 LTS (precise) you should upgrade its HWE to 14.04 LTS (trusty). With best regards, Nikolay. 27 мая 2015 г. 3:22 пользователь Tim Wescott t...@wescottdesign.com написал: Running a Scilab algorithm that puts up a lot of graphs, Scilab crashes with the report below. It's only happened with Scilab, but it appears to be the video driver that's complaining, so I don't know if this is a problem with Linux or with Scilab. The processor is an AMD A10 with on-board video processing which is considerably different from my 12-year-old Dell that this computer is replacing. Does anyone have clues for the clueless? Particularly suggestions for isolating, fixing, or working around the problem? radeon: Failed to allocate a buffer: radeon:size : 3328 bytes radeon:alignment : 256 bytes radeon:domains : 2 EE ../../../../../../src/gallium/drivers/radeon/r600_texture.c:1012 r600_texture_transfer_map - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon:size : 1280 bytes radeon:alignment : 256 bytes radeon:domains : 4 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 radeon: Failed to allocate a buffer: radeon:size : 1 bytes radeon:alignment : 1 bytes radeon:domains : 2 Segmentation fault (core dumped) -- Tim Wescott www.wescottdesign.com Control Communications systems, circuit software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Modnum Xcos
Dear Peter Fabo! Do you have any updates on Xcos Modnum toolbox? It would be very useful. With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-03-02 16:49 GMT+03:00 Nikolay Strelkov n.strel...@gmail.com: Dear Peter Fabo and all! It is great, that Modnum being ported to modern Scilab and Xcos! I'm very interested in PSPECSCOPE_с http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/PSPECSCOPE_c.htm (for FFT) and CONVOLGEN_f http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/CONVOLGEN_f.htm (for FIR filtering) blocks. For FFT there is an project in Scilab Forge (bufferblock http://forge.scilab.org/index.php/p/bufferblock/), but it does not compile in modern versions of Xcos and Scilab (see issues http://forge.scilab.org/index.php/p/bufferblock/issues/). But I saw a paper where it was used with Scilab =5.3. I think it would be great if you place your work in Scilab Forge http://forge.scilab.org. I'm ready to test your toolbox. With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-02-28 10:33 GMT+03:00 Clemgill clemg...@club-internet.fr: Hi all, Any news on the availability of MODNUM converted to XCOS? I am interested in the PLL palette. Thx much, Gilles. -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Modnum-Xcos-tp4027491p4031752.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Modnum Xcos
Dear Peter Fabo and all! It is great, that Modnum being ported to modern Scilab and Xcos! I'm very interested in PSPECSCOPE_с http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/PSPECSCOPE_c.htm (for FFT) and CONVOLGEN_f http://www.scicos.org/ScicosModNum/modnum_web/src/modnum_43b/interf/scicos/help/eng/htm/CONVOLGEN_f.htm (for FIR filtering) blocks. For FFT there is an project in Scilab Forge (bufferblock http://forge.scilab.org/index.php/p/bufferblock/), but it does not compile in modern versions of Xcos and Scilab (see issues http://forge.scilab.org/index.php/p/bufferblock/issues/). But I saw a paper where it was used with Scilab =5.3. I think it would be great if you place your work in Scilab Forge http://forge.scilab.org. I'm ready to test your toolbox. With best regards, maintainer and developer of Mathieu functions toolbox http://atoms.scilab.org/toolboxes/Mathieu/ for Scilab, IEEE member, Ph.D., Nikolay Strelkov. 2015-02-28 10:33 GMT+03:00 Clemgill clemg...@club-internet.fr: Hi all, Any news on the availability of MODNUM converted to XCOS? I am interested in the PLL palette. Thx much, Gilles. -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Modnum-Xcos-tp4027491p4031752.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Bessel functions
Dear Claus! For me it seems that using standard functions is always better, than writing them from scratch. So I recommend to use built-in Scilab functions besseli, besselj, besselk, bessely, besselh http://help.scilab.org/docs/5.5.1/en_US/bessel.html. With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. 2015-01-24 19:53 GMT+03:00 Claus Futtrup cfutt...@gmail.com: Hi I've made a small script to play around with Bessel functions of the first kind... but this is very basic and I'm wondering if there's a smarter way. Below is the script I made (the function + a small test which plots the result). Best regards, Claus // bessel_test.sce function z=Jn(n, x) // The following power series approximates the nth Bessel // function of the first kind for each input x // In acoustics x = 2ka, defines the iput frequency k = omega / c and size // of the piston radiator powerseries = 0; for m=0:19 // actually it should be infinity, but 10 approximates OK ... powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); powerseries = powerseries + powerseries_m; // sum the powerseries end z = ((x/2)^n) .* powerseries;endfunction x_array = 0:0.1:9.9; // define 100 points on the x-axis // with 2ka (x) from 0 to 10, and with m = 0-19, // this approximation is reasonably good for 2ka 10 z_0_array = Jn(0,x_array); // Calculate J0 z_1_array = Jn(1,x_array); // Calculate J1 scf();a = gca();plot(x_array,z_0_array,'-b');plot(x_array,z_1_array,'-r');xtitle(Bessel functions,x (2ka),output (z));legend(J0,J1); ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Bessel functions
In modern Scilab these functions are called from Fortran library. Here is its source http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/modules/special_functions/src/fortran/dbesjg.f . With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. 2015-01-24 20:21 GMT+03:00 Claus Futtrup cfutt...@gmail.com: Hi Nikolay, et al. You're right, I should have checked Scilab help for Bessel functions before trying to do my own. I executed besselj(0,x_array) as well as besselj(1,x_array) ... it seems that this function works exactly like what I made myself. And the output is indistinguishable (for the range I'm interested in). Trying to find the Scilab code for besselj, I see that it's an uneditable and hard coded. Is there anywhere I can study in detail how besselj was coded? Best regards, Claus On 24-01-2015 18:01, Nikolay Strelkov wrote: Dear Claus! For me it seems that using standard functions is always better, than writing them from scratch. So I recommend to use built-in Scilab functions besseli, besselj, besselk, bessely, besselh http://help.scilab.org/docs/5.5.1/en_US/bessel.html. With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. 2015-01-24 19:53 GMT+03:00 Claus Futtrup cfutt...@gmail.com: Hi I've made a small script to play around with Bessel functions of the first kind... but this is very basic and I'm wondering if there's a smarter way. Below is the script I made (the function + a small test which plots the result). Best regards, Claus // bessel_test.sce function z=Jn(n, x) // The following power series approximates the nth Bessel // function of the first kind for each input x // In acoustics x = 2ka, defines the iput frequency k = omega / c and size // of the piston radiator powerseries = 0; for m=0:19 // actually it should be infinity, but 10 approximates OK ... powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); powerseries = powerseries + powerseries_m; // sum the powerseries end z = ((x/2)^n) .* powerseries;endfunction x_array = 0:0.1:9.9; // define 100 points on the x-axis // with 2ka (x) from 0 to 10, and with m = 0-19, // this approximation is reasonably good for 2ka 10 z_0_array = Jn(0,x_array); // Calculate J0 z_1_array = Jn(1,x_array); // Calculate J1 scf();a = gca();plot(x_array,z_0_array,'-b');plot(x_array,z_1_array,'-r');xtitle(Bessel functions,x (2ka),output (z));legend(J0,J1); ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing listusers@lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] subplot problem
Hello, rathodprashnt ! You need to move plot(x,y) to the end of for loop. t=0:0.01:10; x=cos(2*%pi*t); theta=0 for k=1:4 y=cos(2*%pi*k*t); if k==1 then subplot(221) elseif k==2 then subplot(222) elseif k==3 then subplot(223) elseif k==4 then subplot(224) end *plot(x,y);* end [image: Встроенное изображение 1] I recommend you to read/watch some tutorials on Scilab ( http://www.openeering.com/scilab_tutorials or http://www.scilab.in/spoken-tutorial ). With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. 2015-01-17 13:16 GMT+03:00 rathodprashnt rathodpras...@gmail.com: Hy i am new to scilab and i am trying to run new with subplot command using (221) to (224) format but some how out of 4 subplot only last one is visible. here is my script _ t=0:0.01:10; x=cos(2*%pi*t); theta=0 for k=1:4 y=cos(2*%pi*k*t); if k==1 then subplot(221) elseif k==2 then subplot(222) elseif k==3 then subplot(223) elseif k==4 then subplot(224) end end plot(x,y); _ http://mailinglists.scilab.org/file/n4031642/Graphic_window_number_0.bmp i have also attached image of graph. thank you -- View this message in context: http://mailinglists.scilab.org/subplot-problem-tp4031642.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] [scicos] Fwd: Question about PSPECSCOPE_с in Modnum toolbox
Thank you for reply, Ramine! I tried to change parameters as you recommend after your suggestion and before it. It does not solve the problem. FFT figure window is empty, but I expect peak at 1 Hz. With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. 2014-12-26 2:32 GMT+03:00 Ramine Nikoukhah ramine.nikouk...@inria.fr: Hi, I am not familiar with this block but the parameters don't seem to be correct. The period of sample clock in the model is 1e-3 but the sampling period block parameter of this block is not 1e-3. I also note that the size of input buffer is 2048 but the simulation stops at 2, i.e., 2000 points. I assume no FFT is computed until at least 2048 points are placed in the buffer. Ramine -- *De: *Nikolay Strelkov n.strel...@gmail.com *À: *sci...@inria.fr, users@lists.scilab.org, alan layec alan.la...@cermics.enpc.fr *Envoyé: *Jeudi 25 Décembre 2014 19:58:20 *Objet: *[scicos] Fwd: Question about PSPECSCOPE_с in Modnum toolbox Dear ScicosLab and Scilab community! I have a question about Modnum toolbox, but can't get response from its developer. Can anybody help me? With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. -- Forwarded message -- From: Nikolay Strelkov n.strel...@ieee.org Date: 2014-12-13 1:13 GMT+03:00 Subject: Question about PSPECSCOPE_с in Modnum toolbox To: alan.la...@cermics.enpc.fr Dear Alan! Thank you for your great Modnum toolbox. I use it from 2009 year for modelling of some control system elements. Today I use Modnum 4.3b with ScicosLab 4.4.1. I want to create a simple demo with PSPECSCOPE_с block for calculating and plotting FFT spectrum of a simple sine wave. As a starting point I created small file in Scilab 5.5.1 which plots and calculates FFT spectrum. It is in attachment, and it works as I expect. I created Scicos model file, but I can't understand how to set correct options for PSPECSCOPE_с block for getting expected FFT. The model file is in attachment. Could you please help me to set up PSPECSCOPE_с block? With best regards, maintainer of Mathieu functions toolbox for Scilab http://atoms.scilab.org/toolboxes/Mathieu, IEEE member, Ph.D., Nikolay Strelkov. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users