Re: [Scilab-users] interpreting showprofile results

2014-10-22 Thread Candio
Hi Samuel, Thank you for your reply. I am using SciLab 5.5.1. I will try to multiply the results by 1000; in the meantime, since this bug should be fixed in the version I downloaded, please let me know if there's something else I can do. Candio -- View this message in context:

Re: [Scilab-users] interpreting showprofile results

2014-10-22 Thread Candio
In the meantime, I did try to multiply by 1000, but it appears that the results are identically equal to 0 - not just off an order of magnitude. format(20); profile(myfun) ans = 0.0.0. 0.0.0. 0.0.4. 0.0.4. 0.0.4. 0.0.4.

Re: [Scilab-users] Problems using save

2014-10-22 Thread Matiasb
Thanks Ezequiel! Samuel, you were totally right, so many thanks ;-) Upgrading to 5.5.2 it solved the graphical window and it now allows me to save matrices in the files. Saving work relatively fast and loading afterwards takes quite long (the saved file that is produced is aprox 50MB), but it

[Scilab-users] Creating lists in API_Scilab

2014-10-22 Thread Arvid Rosén
Hi! I am writing a C extension to Scilab which recursively should create a nested list and return it. How can I achieve this? I have read the documentation here: http://help.scilab.org/docs/5.5.1/en_US/section_281790c19f32a08419bf50d192e51020.html? And I still don't understand if I can use

[Scilab-users] Saving and Loading big data

2014-10-22 Thread Matiasb
Hi, Just yesterday I solved some issues I was experiencing with the save function by upgrading to scilab 5.5.1 as suggested by Samuel in this thread http://mailinglists.scilab.org/Problems-using-save-td4031410.html . Now, being able to save all the environment variables, I'm experiencing the

Re: [Scilab-users] interpreting showprofile results

2014-10-22 Thread sgougeon
Hello Candio, I just caught it: add_profile() prepares the function to profiling. But then, the profile is really set when calling the function. Each new call cumulates the execution time and occurrence numbers for each line. In your case, you did not call the function at all before asking to

Re: [Scilab-users] Problem with partial fraction decomposition (dfss)

2014-10-22 Thread Serge Steer
Now you are using a too big value for rmax --pf = pfss(h) pf = pf(1) 0.75 - 0.25s 2 1 - 2s + s pf(2) 0.25 1 + s Some explanation pfss converts the transfer function to state space representation and then trie to