[Scilab-users] The err value of optim

2019-09-13 Thread fujimoto2005
I used "optim". I sometimes got err values of "-5", "12" or "13". The help page only explains err values between 1 and 10. What does err values "-5", "12" or "13" mean? Best regards -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _

[Scilab-users] parallel_run

2019-09-23 Thread fujimoto2005
I wanted to use "parallel_run" and tried the sample script in the help page. But it did not work with the error message "undefined variable:parallel_run". Please teach me what is wrong? The sample script I used is as follows ** for i = 1:10 res(i) = i*i; end; // for parallel_run, we need to

Re: [Scilab-users] ?= =?utf-8?q? parallel_run

2019-09-23 Thread fujimoto2005
Dear Antoine I am using windows 7. Best regards -- 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

Re: [Scilab-users] ?=Re: ?=Re: ?=Re: ?==?utf-8?q?

2019-09-23 Thread fujimoto2005
Dear all, Thanks for a lot of information. If the documentation contained information on the workable version, it would be much better for users. Now the almost documentations have a warning message "Please note that the recommended version of Scilab is 6.0.2. This page might be outdated. See the

Re: [Scilab-users] cotg and acot

2019-09-30 Thread fujimoto2005
Dear Federico, Even if there is such a rule, I think that it is not useful to follow the rule mechanically. For example, the integral function is "intg" in scilab. If we follow strictly the rules, it becomes "int" which is confused with the integer (although int is not used as a keyword in scilab

[Scilab-users] statenge result of integration of exponential function

2019-10-04 Thread fujimoto2005
I'm working on a stochastic control problem. When I calculate an integral of the exponential function, I got strange results. I want to integrate densDisutil of the attached file from -∞ to + ∞, but the correct result is not obtained. The integrand is an exponential function which exponent part is

[Scilab-users] strange result of an exponential function integeration

2019-10-04 Thread fujimoto2005
I'm working on a stochastic control problem. When I calculate an integral of the exponential function, I got strange results. I want to integrate densDisutil of the attached file from -∞ to + ∞, but the correct result is not obtained. The integrand is an exponential function which exponent part is

Re: [Scilab-users] ?==?utf-8?q? save the variables except the functions

2019-10-31 Thread fujimoto2005
Dear Antoine, Thank you for your reply. I could fix the problem by your idea. Best regards, Masahiro Fujimoto -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab.org

[Scilab-users] How to fix the round off error of "intg"

2019-11-17 Thread fujimoto2005
My objective is to find a variable x which set the derivative of the function f (x) with respect to x to zero. The function f (x) is the integration of g(x, z) from a to b with respect to z., that is, f (x) = ∫g(x, z) dz over (a, b). The function g (x, z) is a well-behaved function that has one pe

Re: [Scilab-users] How to fix the round off error of "intg"

2019-11-18 Thread fujimoto2005
Dear Samuel Thank you for your reply. Inside the function f(x),I added "disp" to display the value of x and error flag "ierr" after "intg" line . The "fsolve" and "numderivative" called f many times for many x around the correct solution x, and the values of x and ierr were displayed for many cal

[Scilab-users] row-sum of a hyper-matrix without loop

2019-11-24 Thread fujimoto2005
Is it posible to get a 2-dimension matrix y(j,k) =Σ_i x(i,j,k) from 3 dimension hyper- matrix x(i,j,k) without using k-loop? If there is such a way, please teach me. Best regards, Masahiro Fujimoto -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

Re: [Scilab-users] row-sum of a hyper-matrix without loop

2019-11-24 Thread fujimoto2005
Dear Samuel Thanks for your answer. Best regards, Masahiro Fujimoto -- 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

[Scilab-users] Multiplication of hyper-matrix

2019-11-24 Thread fujimoto2005
Is it possible to do the following code without k loop? A=rand(5,4,10) B=rand(5,4,10) C=zeros(4,4,10) for k=1:10 X=matrix(A(:,:,k),5,4) Y=matrix(B(:,:,k),5,4) C(:,:,k)=Y'*X end Best regards, Masahiro Fujimoto -- Sent from: http://mailinglists.scilab.org/Scilab-users-M

[Scilab-users] Stopping at the line generating warning

2019-12-02 Thread fujimoto2005
During a loop, I have the following warning. "operation +: Warning adding a matrix with the empty matrix will give an empty matrix result." The loop continues and eventually fails. Since I use operation + in many places, it is difficult to find out which line is the cause of the warning. Is it poss

Re: [Scilab-users] Re : Stopping at the line generating warning

2019-12-02 Thread fujimoto2005
Dear Samuel I could identify the line causing the problem. Thak you! -- 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/

[Scilab-users] multiple histograms on one graph

2020-05-20 Thread fujimoto2005
Is there a way to display histograms of multiple data groups in the same graph? An n × m matrix A which column represents the data of each group. I want to display the histogram of Aj data on the same graph to see the difference in frequency between groups. Best regards. -- Sent from: http://ma

[Scilab-users] ”histc”''s bug?

2020-05-20 Thread fujimoto2005
I think "histc" has a some bug. The following sample code of the help file does't work. ** data = [1 1 1 2 2 3 4 4 5 5 5 6 6 7 8 8 9 9 9]; N = size(data,"*") // ==19 // Default binning; "sqrt": sqrt(19) => 4. .. => 4 bins [h, j, b, i] = histc(data) [h, j, b, i] = histc(data,

[Scilab-users] Spec function

2020-05-22 Thread fujimoto2005
This question is about how to use the spec function to calculate eigenvalues. Suppose a square matrix D is a function of real number b. I am trying to find the eigenvalues of D for various b with the spec function. When I calculate for b = 1 and 3 simultaneously with the attached code, I get all ei

[Scilab-users] Jordan normal form

2020-07-26 Thread fujimoto2005
Is there any function which finds the jordan normal form and its canonical basis of n-square matrix A? Best regards. -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scil

Re: [Scilab-users] Jordan normal form

2020-07-26 Thread fujimoto2005
Dear Samuel, Thanks for your reply. >Have you tried bdiag()? Yes, I have tried it with rmax=1/%eps. But result of the sample of help page is not the Jordan form. --> a=rand(5,5);[ab,x,bs]=bdiag(a,1/%eps);ab ab = 2.5777548 0. 0. 0. 0. 0. -0.22

Re: [Scilab-users] Jordan normal form

2020-07-26 Thread fujimoto2005
Dear Samuel, The following sample is from the sample 3 and 5 of wiki "Generalized eigenvector". https://en.wikipedia.org/wiki/Generalized_eigenvector#Example_3 A=[[5 0 0 0]',[1 5 0 0]', [-2 2 5 0]', [4 2 3 4]'] X=[[-14 4 -3 1]',[2 0 0 0]',[-2 2 0 0]',[0 0 1 0]'] J=clean(inv(X)*A*X) J = 4.

Re: [Scilab-users] Jordan normal form

2020-08-07 Thread fujimoto2005
Dear Samuel, I'm sorry that I'm looking for a external program and my reply is late. Unfortunately, the program does not exist. It seems due to an unstable numerical result of Jordan normal form. There is a paper that the jordan function of matlab produces wrong result for a certain matrix. Papers

[Scilab-users] qustion on functional argument

2015-04-20 Thread fujimoto2005
I define a function with a scalar argument and use it with a matrix argument. I want to get the matrix whose entry is the functional value for each entry of a matrix argument. When the function contains no "if then" close, I get the desired result as the following function "f". However when the fun

[Scilab-users] lsqrsolve

2015-04-23 Thread fujimoto2005
I want to use "lsqrsolve" for a non-liner least squares problem. I run the following program. In this program, "argVector1" and "argVector2" are only dummy parameters in order to confirm the ways to deliver the values of arguments other than the control variables for error function. But I got a e

Re: [Scilab-users] lsqrsolve

2015-04-24 Thread fujimoto2005
Thanks a lot. I could fix the problem. But I have another problem. I got an error message "zero division occurs" in the err_test function. Actual err function is a more complicated one and there is a formula of the form "1/parameter1". So I use the "leastsq" whith I can set the constraint on para

Re: [Scilab-users] lsqrsolve

2015-04-24 Thread fujimoto2005
I could fix by adding to the err function a section which set an err value at limit value when param1→0 if pram1=0. -- View this message in context: http://mailinglists.scilab.org/lsqrsolve-tp4032132p4032151.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Na

[Scilab-users] 2d plot y-axis expresio

2015-05-06 Thread fujimoto2005
I have an 2D-plot as the image. I wish to have the expresion of y-axis as follows. 1, %expression(0.05→5.0%) 2, tick should be 0.5% 3,If possible,the scale tick should be 0.1% but figure should be 0.5% such as 4.5%,5.0%,5.5%.. Please Teach me how to fix them.

Re: [Scilab-users] 2d plot y-axis expresio

2015-05-06 Thread fujimoto2005
Thanks a lot. 1,I don't know well about c languge.please the meaning of 1st "%",4th"f" and last"%%" of "%.1f%%\n" 2,how to display only the range between 0.04 and 0.05 when y=[0.01,0.03,0.041,0.042,0.05]? 3,how to display as the wider range like from 0.01 to 0.09 when y=[0.01,0.03,0.041,0.042,0.0

Re: [Scilab-users] 2d plot y-axis expresio

2015-05-09 Thread fujimoto2005
Dear Serge Steer Thanks a lot. I could fix the problem. -- View this message in context: http://mailinglists.scilab.org/2d-plot-y-axis-expresio-tp4032213p4032221.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _

[Scilab-users] integral of th discontinuous function

2015-05-12 Thread fujimoto2005
I want to integrate a discontinuous function whose number of discontinuous points are 3-4. I know I can get an enough accurate result when I divide whole integrate range to sub-ranges over which the function is continuous and apply the standard intergration program such as inttrap for each range an

Re: [Scilab-users] integral of th discontinuous function

2015-05-14 Thread fujimoto2005
Thanks a lot. I understand the character of function "intg". I am going to use "intg" for each continuous interval and sum the results because I can't know where the error is large or not when integrate for one interval. -- View this message in context: http://mailinglists.scilab.org/integra

[Scilab-users] comma format

2015-05-15 Thread fujimoto2005
I want to format the ticks of y-axis with comma like '32,025,145'. Is there an any utility program to set such format? -- View this message in context: http://mailinglists.scilab.org/comma-format-tp4032285.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.

Re: [Scilab-users] comma format

2015-05-15 Thread fujimoto2005
Thanks a lot. >'Depending on what are source numbers' Could you teach me more specific what kind of source numbers should I use ticks_format for and x_ticks? -- View this message in context: http://mailinglists.scilab.org/comma-format-tp4032285p4032290.html Sent from the Scilab users - Mailing

Re: [Scilab-users] comma format

2015-05-16 Thread fujimoto2005
Dear Samuel GOUGEON Thanks a lot. I understand the situations. Dear Rafael Guerra This is exactly what I want to have!! Thanks a lot. -- View this message in context: http://mailinglists.scilab.org/comma-format-tp4032285p4032295.html Sent from the Scilab users - Mailing Lists Archives mai

Re: [Scilab-users] comma format

2015-05-17 Thread fujimoto2005
Dear Samuel GOUGEON Thanks for another excellent implementation!! Best regrds -- View this message in context: http://mailinglists.scilab.org/comma-format-tp4032285p4032297.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

[Scilab-users] ”Too complex recursion”

2015-05-18 Thread fujimoto2005
When I use the function 'intg', I have an message "Too complex recursion! (recursion tables are full)" and the code stop to run. But the user-function for the ‘intg’ calls only two user functions with same level in it. How can I fix this problem? I already maximized the stack seize by stacksize('ma

Re: [Scilab-users] ”Too complex recursion”

2015-05-19 Thread fujimoto2005
Hello,Serge Steer My user function does't call 'intg'. The following is a sample code for a demo. But I have another error message. clear function rt=payoffFunc(fxSpot,fxTriger,fxFixed) if fxSpot<=10 then fxSpot=10 end rt=(fxFixed -fxSpot) if fxSp

Re: [Scilab-users] ”Too complex recursion”

2015-05-19 Thread fujimoto2005
Hello Samuel GOUGEON, Thaks a lot. I could fix the problem. Best regards. -- View this message in context: http://mailinglists.scilab.org/Too-complex-recursion-tp4032303p4032309.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _

[Scilab-users] long strings of two bites cahracter

2015-05-26 Thread fujimoto2005
I failed to change current directory to a desired one. The cause of this seems to be a long path strings of two bites character. The length of my path string is 147bites and 97 characters(I am a Japanese and I use the tow bites for one character) When I input a path strings in a command line ,a 70t

Re: [Scilab-users] long strings of two bites cahracter

2015-05-26 Thread fujimoto2005
This example might be helpful. Input the following long two bites characters in a commnad line >'あああ' You will get ans = ああ ,‚ The some spaces and the conseque

[Scilab-users] for-loop does't work

2015-06-05 Thread fujimoto2005
I run the following script. It works at 4th line But It failes from 5th line to 7th line. It seems to be right Where is this script wrong? *** A=zeros(151,3); x=[0.0 5.0 10.015.019.0] i=5 A(1,:)=x(i) for i=1:5 A(1,:)=x(i); end -- View this message in context:

Re: [Scilab-users] for-loop does't work

2015-06-05 Thread fujimoto2005
It is a part of such as the following script. A=zeros(151,3); x=[0.0 5.0 10.015.019.0] i=5 A(1,:)=x(i) B=[] for i=1:5 A(1,:)=x(i); A(2:$,:) =f(i) B=[B,A] end But I found the cause of the error. ';' after x(i) is mistyped as two bite character ';' instead of ';'. --

Re: [Scilab-users] Re : for-loop does't work

2015-06-05 Thread fujimoto2005
Hi,Pierre-Aimé Agne and Antoine Monmayrant Yes, you are right. That's exactly due to my mistype ';' The scinote is difficult for me to see whethe IME mode is on or off. I did't have such kind of the experience when I used MATLAB or VISUAL BASIC. Is there any other editor which you recommend? Be

[Scilab-users] rename many variables

2015-06-07 Thread fujimoto2005
When there are so many variable to be rebamed, finding an old one and rename it to a new name one by one is easy to mistake. If there is any methods to read a list of old names with corresponding new names and rename automatically, please teach me. Best regards -- View this message in context:

Re: [Scilab-users] rename many variables

2015-06-07 Thread fujimoto2005
It's on refactoring the existing script. Some of the variable name are not good enough in the sense that I do not understand quickly when I see them. I am sure that I wil feel it difficult to understand my script quickly after 6 month. So I want to change those variable-names into more understandab

[Scilab-users] console character trouble

2015-06-17 Thread fujimoto2005
Suddenly my console screen does't work.Please look at As well Scinote doesn't work I reinstalled Scilab but same trouble happens again. -- View this message

Re: [Scilab-users] console character trouble

2015-06-17 Thread fujimoto2005
I used 'System Restore' of windows to restore my system files and settings to an point in time when scilab worked with no trouble. The troubles have disappeared. There are some automatically updated programs for securities before the trouble happened and they might be the cause of trouble. Ar

[Scilab-users] how to respond the shrinkage of hyper-matrix

2015-06-22 Thread fujimoto2005
Let x=zeros(m,n,l) if m==1, x is generated as 2 dimension matrix, not 3 dim hyper-matrix. In that case the specification of elemnt like x(i,j,k) fails. But the value of m is unknown in advance. Is there any code which I can deal with such a case in general way? I don't like such as if m==1 then … 

Re: [Scilab-users] how to respond the shrinkage of hyper-matrix

2015-06-23 Thread fujimoto2005
Thanks for reply. Let me take another example. The following script fails because x is made as a 1×2×3 hyper matrix and I can't use 4th and 5th indexes. In my actual code, the number of 4th and 5th dimensions are variable and I cant't know in advance. x=zeros(1,2,3,1,1); disp(size(x)) a=x(1,1,1,1

Re: [Scilab-users] how to respond the shrinkage of hyper-matrix

2015-06-24 Thread fujimoto2005
Hi,Samuel GOUGEON Thanks for reply. I suppose 'Yasp' is one which is in the following address. https://www.scilab.org/development/nightly_builds/yasp Am I right and can I install Yasp in the same PC where Scilab 5.5.2 has been already installed? Best Regards -- View this message in contex

Re: [Scilab-users] how to respond the shrinkage of hyper-matrix

2015-06-24 Thread fujimoto2005
Dear Samuel Gougeon Thanks for your information. I could installed 'Yasp' and found the speed of calculation is much faster than 5.52. But I face one problem. I can't interrupt the run of the script. Neither 'ctrl x ' key nor the interrupt command work and the run does't stop. Are there any way

[Scilab-users] setting the seed of grand

2015-06-29 Thread fujimoto2005
I want to set the same seed for same k for every i,j. for i=1:100 for j=1:100 for k=1:100 x=grand(10,10,'norm',0,1) ・ end end end Pleas teach me how to set such seed. -- View this message in context: http://mailinglists.scilab.org/setting-the-seed-of-grand-

Re: [Scilab-users] setting the seed of grand

2015-06-29 Thread fujimoto2005
Dear, Erick and Rafael The actual script is like this. I want to exclude the effect of the different seed for the value of d(i,j,k) whit different i,j. for i=1:100 for j=1:100 for k=1:100 grand("setsd",S") x=grand(10,10,'norm',0,1) y(i,j,k)=sum(mean(f(p1(i),p2(j),k,

[Scilab-users] scilab 6

2015-07-03 Thread fujimoto2005
1. My script can run with the scilab 5.5.2 but doesn't run with scilab 6. I have the error message at some line of the script and it stops. But I can't find any error at that line because that line is just 'toc()'. Any error can't happen . 2. scilab 6 does't accepts interrupt command. Can those

Re: [Scilab-users] scilab 6

2015-07-04 Thread fujimoto2005
I found the cause of error. grand("setsd",S) does't work in scilab 6. This work in scilab 5.5.2 without any problem. Please try the following script in the two environments. ** global S; S=grand("getsd"); size(S) //the next line exists in a local area in an actual script grand("set

Re: [Scilab-users] scilab 6

2015-07-06 Thread fujimoto2005
Hi Vincent Thanks for reply. I reinstalled the Scilab 6 from the following address. http://www.scilab.org/development/nightly_builds/yasp But same error happens. Probably I am wrong where I can get the module which is fixed. Could you teach me where the bug fixed version I can get? Best regards

[Scilab-users] Saving all variables

2015-07-16 Thread fujimoto2005
I want to save all variables in oreder to re-use them. I use 'save(filename)' and 'load(filename)'. But if I use the user defined function, ①scilab5.52 can save them but fail to load the file on accoutn of the existence of a user-defined-function name, ②scilab6 can load it but fail to save on acco

Re: [Scilab-users] Saving all variables

2015-07-17 Thread fujimoto2005
Hi, Samuel Thanks a lot for reply. I installed the latest build of Scilab 6. The latest build does't accept command save('filename') with the error message as follows 'save: Wrong number of input argument(s): at least 2 expected.' Are there any way to write the second input as all vaiables in

Re: [Scilab-users] Saving all variables

2015-07-17 Thread fujimoto2005
Hi,Samuel and Antoine Thanks for replies. I'm looking forward a new build. Best regards. -- View this message in context: http://mailinglists.scilab.org/Saving-all-variables-tp4032590p4032596.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _

Re: [Scilab-users] Saving all variables

2015-07-24 Thread fujimoto2005
I found the new build of "Jul 23, 2015 15:54". Is this build that fix saving all variable problem? -- View this message in context: http://mailinglists.scilab.org/Saving-all-variables-tp4032590p4032615.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

[Scilab-users] hilight file

2015-08-01 Thread fujimoto2005
I want to make the list of keywords in order to make a highlight file. I want to use an external editor as the standard editor and make use of the highlight file. So could you teach me where the default highlight file of scilab is and how to read it? Best regards. -- View this message in cont

[Scilab-users] save all variables

2015-08-23 Thread fujimoto2005
Can scilab5.5.2 save all variables without writing the names of all variables? The following script failed at the last line. scilab6.0 alpha can save all variables. x=1:10; y=10;20; save('test.data','x','y');//succeed save('testall.data');//fail Best regards -- View this message in context:

Re: [Scilab-users] save all variables

2015-08-25 Thread fujimoto2005
Hi,Serge Steer "save('testall.data','all')" does not work. It reply an error message "The second argument is wrong". Best regards -- View this message in context: http://mailinglists.scilab.org/save-all-variables-tp4032715p4032721.html Sent from the Scilab users - Mailing Lists Archives mail

Re: [Scilab-users] save all variables

2015-08-25 Thread fujimoto2005
Hi,Samuel The following is the echo of running the code. The last message is a Japanese message which mean "the second argument is wrong". ** -->x=1:10; -->y=10;20; -->save('test.data','x','y') -->save('testall.data','all') !--error 248 引数 2

[Scilab-users] find function failure in scilab6

2015-09-01 Thread fujimoto2005
Dear all. Save the attached file in current diorectry and run the following script. ** load('test.dat'); disp(x);//x contains 0.1 as the 3rd elemnt. disp(y);//y is 0.1 z=find(x==y); disp(z)//failure because z returns [] instead 3. Since x contains y as the 3rd element , find(x==y) should

Re: [Scilab-users] find function failure in scilab6

2015-09-01 Thread fujimoto2005
Hello Serge Steer As you suggested, x(3)-y = - 1.388D-17. I must improve to genarate values of x. Thanks a lot. Best regards. -- View this message in context: http://mailinglists.scilab.org/find-function-failure-in-scilab6-tp4032767p4032769.html Sent from the Scilab users - Mailing Lists Ar

Re: [Scilab-users] scipad

2015-09-04 Thread fujimoto2005
Hi, François Thanks for your reply. I tried to install the latest one according to the following instruction of the readme file incleded in the package. scipver = "X.YY"; atomsSetConfig("offLine","True"); atomsInstall(+"/scipad-"+scipver+"-Scilab5.zip"); if ~exist

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
A downloaded from the download button in the page you suggested in the first reply. Actulally it was the package for Scicoslab as you said. I downloaded the right one from the 'files tag' and I succeeded to install it. Thanks a lot. But I have another problem. The corruption of text happens as th

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
-- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759p4032781.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ u

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
-- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759p4032782.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ u

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
Sorry I failed to attach. I posted the screen shot in the next posting. Best regards -- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759p4032784.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. __

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
Which do you refer to the posting with time stamp 'Sep 05, 2015; 4:55pm' or '4:44'? Fujimoto -- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759p4032786.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. __

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
-- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759p4032789.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ u

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
The left one of the above image is the display of same script with Scinote and the ridht one is that with Scipad. I am not sure non-Japanse can see the difference. Left one display Japanese rightly but Right one doesn't. Menu items are Japanese. Maybe the cause of error is due to bad choice of an

Re: [Scilab-users] scipad

2015-09-05 Thread fujimoto2005
Hi,François The problem is fixed. The file encoding 'cp932' was chosen and after utf-8 is chosen it display rightly. Thanks a lot for your help. Best regards Fujimoto -- View this message in context: http://mailinglists.scilab.org/scipad-tp4032759p4032792.html Sent from the Scilab users - M

[Scilab-users] linearly spaced vector

2015-09-06 Thread fujimoto2005
I expected the following script to generate linearly spaced vectors x1,x2 and x3 with step 0.01. But x1(3),x2(2) and x3(15) are slightly different values from expected values. This phenomena happens with both Scila5.5.2 and Scilab 6.0.0 alpha. Is there any ways to get exactly expected values?

Re: [Scilab-users] linearly spaced vector

2015-09-06 Thread fujimoto2005
Hello, Let me explain why I want to get exact values. There is the following line in my script. x_i=find(x1==0.12) I suppose it returns 3 but actually it fails to return 3 due to the error. So I modified that line into x_i=find(abs(x1-0.12)<10^-10) This work well only when x1 contains a single va

[Scilab-users] scilab6 and interrupt

2015-09-13 Thread fujimoto2005
scilab6 does't accept interrupt command. Is this bug or not providing that command as alpha stage? -- View this message in context: http://mailinglists.scilab.org/scilab6-and-interrupt-tp4032823.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. __

[Scilab-users] Strange behavior of interpln function

2015-09-14 Thread fujimoto2005
I expect to get the value of yy less than 0.01 which is the most left value of x. But actually I get 0.0591. When I adopt only the first 3 elements of x and y,it works rightly. I get 0.0100075 of yy2. Please tell me where I was wrong in the first script. Best regards ** x1=[-1604,

Re: [Scilab-users] Strange behavior of interpln function

2015-09-15 Thread fujimoto2005
Hello, Thanks for your advice. I can fix the problem. Best regards. Fujmoto -- View this message in context: http://mailinglists.scilab.org/Strange-behavior-of-interpln-function-tp4032824p4032827.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. __

[Scilab-users] sometime fail to save a file

2015-09-15 Thread fujimoto2005
In below script,,It sometime fail to execute the line 'save(fileName,y)' with the error message 'save can not open fileName' where fileName is the specific name depending i. But after stop, I can execute that line by selecting it and executing with echo . The value of i which makes error changes

Re: [Scilab-users] sometime fail to save a file

2015-09-16 Thread fujimoto2005
Hello, I am sure there is no error in the script because selecting that line to execute works with no error just after error happened in the run of whole script. Actually I load a same file, renew value of y and before save the file. So the error might be due to loading and saving a same file in

Re: [Scilab-users] sometime fail to save a file

2015-09-16 Thread fujimoto2005
Hello, I am sure there is no error in the script because selecting that line to execute works with no error just after error happened in the run of whole script. Actually I load a same file, renew value of y and save the file with renewed value. So the error might be due to loading and saving

Re: [Scilab-users] sometime fail to save a file

2015-09-17 Thread fujimoto2005
please try this script for i=1 :100 y=i^3 save('test.dat','y') end -- View this message in context: http://mailinglists.scilab.org/sometime-fail-to-save-a-file-tp4032831p4032853.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

Re: [Scilab-users] sometime fail to save a file

2015-09-17 Thread fujimoto2005
Hello,all Both solutions are fine!! The reason why I want to save every time, I want to keep the result. Renewal of y's value depends on the other condition and when renewal process is skipped the same file is accessed rapidly. (Actually this phenomena began to happen after I replace my old PC wi

[Scilab-users] get the intersect x and y

2015-09-19 Thread fujimoto2005
I want to get the indices of vector x which satisfied x==y(j) for some j where x and y are row vectors. I am using z=[] for i=1 :size(y,2) z=[z,find(x==y(j)) end If there is a simpler code which use find method please teach me. Best regards. Fujimoto -- View this message in cont

Re: [Scilab-users] get the intersect x and y

2015-09-19 Thread fujimoto2005
Hello Samuel Thnks a lot. This is exactry what I want. Is there any function f(a,b) which return ka where [x,ka,kb]=intersect(a,b). I want to get only ka. Best regards Fujimoto -- View this message in context: http://mailinglists.scilab.org/Re-get-the-intersect-x-and-y-tp4032872p4032873.h

Re: [Scilab-users] get the intersect x and y

2015-09-19 Thread fujimoto2005
Hello Thanks a lot. Best regrds Fujimoto -- View this message in context: http://mailinglists.scilab.org/Re-get-the-intersect-x-and-y-tp4032872p4032876.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___

[Scilab-users] Change display x axis as %

2015-09-19 Thread fujimoto2005
Hello, First please load the attached data file 'test.dat'. Then run the below script. In the script, x has values from 0.091 to 0.15. I want to set % expression. Before 'pause', the graph display x ticks with the values from 0.091 to 0.15 rightly. But after 'resume' command to continue the run, 0.

[Scilab-users] "msprintf" in the NIghty build of Scilab 6.0 fails

2015-10-25 Thread fujimoto2005
"msprintf" in scilab-master-1445614374 (64-bit) fails for vector input. Please try the following script. x=[1:10]/100 msprintf("%.1f%%\n",x*100) "Scilab 6.0 master" succeeded to generate vector outputs. But 1445614374 failed. It generate only the first output "1.0%". How can I genarate vector ou

[Scilab-users] Shrinkage of hyper-matrix happen again

2015-10-27 Thread fujimoto2005
I heard the shrinkage problem of the hyper-matrix with the last dimension of 1 element in scilab 5.5.2 has been fixed in scilab 6. I confirmed the first version of scilab 6 has fixed it. But it seems to re-happen in the nightly build scilab-master-1445614374 (64-bit). Please try the following scr

[Scilab-users] link-pasting into MS Word documnets

2015-11-05 Thread fujimoto2005
Is there any ways to paste the scilab graphic into MS word documents linked with the source file such as scg files or eps files? I want the diagram embedded in the word documents to reflect the change of the original source files. Best regards -- View this message in context: http://mailingli

[Scilab-users] long legend

2015-11-13 Thread fujimoto2005
When the strings of the legend is too long, is it possible to display in 2 lines by legend(stringPart1+'a line feed code'+stringPart2)? -- View this message in context: http://mailinglists.scilab.org/long-legend-tp4033087.html Sent from the Scilab users - Mailing Lists Archives mailing list arc

Re: [Scilab-users] long legend

2015-11-14 Thread fujimoto2005
Hello Rafael Guera This is a great solution!! Thanks a lot. Best regards -- View this message in context: http://mailinglists.scilab.org/long-legend-tp4033087p4033090.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___

[Scilab-users] getting the first column number of each row

2015-11-29 Thread fujimoto2005
I want to get the first column number of each row with %T. Now I use loop as follows. x=rand(10,10); for i=1 :10 y(i)=min(find(x(i,:)>0.5); end Is there any way to get y without using 'for end' loop because it will take a time when row number is large . Best regards. -- View this me

Re: [Scilab-users] getting the first column number of each row

2015-11-30 Thread fujimoto2005
Hi,Angel and JA I can get the solutions. Thanks a lot for your helps. Best regards. -- View this message in context: http://mailinglists.scilab.org/getting-the-first-column-number-of-each-row-tp4033132p4033136.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at N

[Scilab-users] unable to set style for histplot

2015-12-14 Thread fujimoto2005
I use scilab 6.0.0 alpha 2. The following script is the sample code of the help file on 'histplot'. But it can't set the style as the help page. The result is the default style. Is this the bug or is there any ways to work rightly? Best ragrds. d = grand(1000,1,"bin", 6, 0.5); c =

Re: [Scilab-users] unable to set style for histplot

2015-12-18 Thread fujimoto2005
DearSerge Steer. Thanks for your reply. Actually I am using solely scilab 6.0 for analytical purpose and unable to back scilab 5.2. I think this is the bug of scilab 6.0 and I will report Buzila. Best regards. -- View this message in context: http://mailinglists.scilab.org/unable-to-

[Scilab-users] Conditional random variable

2016-01-23 Thread fujimoto2005
Is there any function generating random variable X with a standard normal density conditional on a range (a,b] where 0http://mailinglists.scilab.org/Conditional-random-variable-tp4033320.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. __

[Scilab-users] extracting elements of a matrix

2016-01-23 Thread fujimoto2005
Let X be a m×n matrix and f(i) is a column index for the ith row. I want to get a m×1 vector y where y(i)=X(i,f(i)) for 1<=i<=m. Is there any method to get y other than the following code? for i=1:m y(i)=X(i,f(i)); end Best regards -- View this message in context: http://mailinglists

  1   2   >