Re: [Scilab-users] the installation of scilab-6.0.2

2019-02-20 Thread Hermes
Hi Samuel, I thought that checking the installation box of JavaRunTime 1.8, as requested by the installer, was enough. What version of Java should I install? regards Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

Re: [Scilab-users] the installation of scilab-6.0.2

2019-02-19 Thread Hermes
this happened during the installation -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab.org

[Scilab-users] the installation of scilab-6.0.2

2019-02-18 Thread Hermes
ftware. Gracias Hermes -- 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] mean of elements corresponding element is "true"

2018-03-04 Thread Hermes
how about this way: n=10; boolean_M=rand(n,n)>0.5; disp(boolean_M) A=rand(n,n); disp(A); x_V=mean(boolean_M.*A,'r') disp(x_V) Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mail

[Scilab-users] SCILAB ODE solvers: bookes or notes about it.

2018-02-22 Thread Hermes
Hello colleagues, I would like to know if there is a more recent version of the document: *Ordinary Differential Equations with Scilab WATS Lectures Provisional notes Universit'e de Saint-Louis 2004 G. Sallet * Or if I can find the scripts of the examples developed in the document. In the reading

[Scilab-users] Reduce order of differential equations to 1

2018-02-20 Thread Hermes
Hi, exists in Scilaba the function that Reduce order of differential equations to 1 Similar to the function of MATLAB *odeToVectorField* Gracias -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___

Re: [Scilab-users] Scilab closes when I try to execute a code

2018-02-16 Thread Hermes
Hello, this problem was repeated on another PC. -->ver: Scilab Version: 6.0.1.1518683525 Operating System: Windows 7 6.1 Java version: 1.8.0_151 Java runtime information: Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java Virtual Machine information:

Re: [Scilab-users] Scilab closes when I try to execute a code

2018-02-16 Thread Hermes
Running on the console line by line of the code, everything went fine until the code: "y = abs (fft (s));" Closing Scilab again Gracias -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing

[Scilab-users] Scilab closes when I try to execute a code

2018-02-16 Thread Hermes
When I try "save and execute" Scilab closes and does not declare any information. This happens to me with this particular file. I attached the file Reprenons_le_son_sinusoidal_a_440Hz.sce -->ver Scilab

Re: [Scilab-users] How to convert .wav to formula?

2018-02-14 Thread Hermes
another way to get the graph clear; [x,S,bits]=wavread("foo.wav") analyze(x); mclose('all'); How to use the variables of the function analyze:fmin, fmax, rate, points? -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

Re: [Scilab-users] How to convert .wav to formula?

2018-02-14 Thread Hermes
another way to get the graph clear; [x,S,bits]=wavread("foo.wav") analyze(x); mclose('all'); How to use the variables of the weer function analyze:fmin, fmax, rate, points? -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

[Scilab-users] 'ode' returns constant values for the variables

2018-01-23 Thread Hermes
Hello, I try to solve the sisytema with the help of "ode". But I can not find where the error is; in the solution it returns constant values for the variables. I think the error is that I have not correctly declared the dependence of the variable variables "t". The expected solution should allow

Re: [Scilab-users] Find the points of intersection of two curves

2018-01-17 Thread Hermes
Hello Rafael, Thankful for your help. I think that in Scilab's help there should be examples of this type of graphics. Is there a site where you can see a gallery of "pretentious and intrepid" graphics? It would be a great help

Re: [Scilab-users] Find the points of intersection of two curves

2018-01-16 Thread Hermes
The correct graph for the script shown should be the following: my apologies -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___

Re: [Scilab-users] Find the points of intersection of two curves

2018-01-16 Thread Hermes
Hello Rafael, with your proposal the result is as expected. Thank you I have delayed responding because I wanted to arrive to the next step by my means. But without results: I want to achieve the following graph from the data

[Scilab-users] Find the points of intersection of two curves

2018-01-12 Thread Hermes
Hello, How could I improve the accuracy of intersection points? clear; funcprot(0); timer(); function Sys=F(x) x0=x(1);x1=x(2); Sys(1)=x1^2-x0*x1+x0^2-1; Sys(2)=sin(4*x1^2)+sin(5*x0^2); endfunction function D=Draghilev(x) x0=x(1);x1=x(2);x2=x(3);x00=ics(1);x01=ics(2);

Re: [Scilab-users] Numderivative and integrate

2017-12-15 Thread Hermes
He, here I put a solution for differentiation in your case we obtain The duration for Numederivative = 1.18248 and for this other: The duration for Numederivative = 0.00125101 the FourMatDiff function could be improved. Is there any function in Scilab to create band Matrices?

Re: [Scilab-users] numderivative Heart function

2017-12-09 Thread Hermes
Thanks Rafael, with your solution the final script, it seems to me more elegant, and it is of the following form: * funcprot(0); function val = Hxy(x,y) val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; endfunction; x = -1:0.01:1; contour2d(x, 2*x, Hxy, [0 0]); replot([-1.415,-1,1.415,1.415]); function

Re: [Scilab-users] numderivative Heart function

2017-12-07 Thread Hermes
Hi, I have interverted x and y in the arguments list of Hxy function (y is the unknown and x the parameter) And I get the expected values. But the graph of the function rotates to the right 90 degrees. How to correct it?

Re: [Scilab-users] numderivative Heart function

2017-12-07 Thread Hermes
I wish in this case that x passes as a parameter: function val = Hxy(x,y) val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; // switched .^ to ^ to handle vectors endfunction; x=0.0; yint1=fsolve(1,list(Hxy,x)) ---> (25/16)*y^2-1 disp(yint1) yint2=fsolve(-1,list(Hxy,x)) disp(yint2) the expected value

Re: [Scilab-users] numderivative Heart function

2017-12-05 Thread Hermes
Hello;in this way we can find the extreme or critical points of the Heart function, in Maple: function val = Heart(x1, x2) val=(1.25*x2-sqrt(abs(x1))).^2+x1.^2-1;endfunction;First function resolved with respect to

Re: [Scilab-users] numderivative Heart function

2017-12-01 Thread Hermes
Help me, why the same function with different procedures to determine the critical points; these differ in the results. What am I not doing correctly or interpreted? * function val = Heart(x1, x2) val=(1.25*x2-sqrt(abs(x1))).^2+x1.^2-1; endfunction; function y = heart_up(x1) y = 4/5 *

Re: [Scilab-users] numderivative Heart function

2017-11-30 Thread Hermes
Hi Rafael, This is how I have reproduced your guidelines: * funcprot(0); function val = H(x1, x2) val=(1.25*x2-sqrt(abs(x1))).^2+x1.^2-1; endfunction; function m=g(x1,x2) m=[2*x1-(x1.*(1.25*x2-sqrt(abs(x1/abs(x1).^(3/2),2.5*(1.25*x2-sqrt(abs(x1)))]; endfunction function val

Re: [Scilab-users] find a zero of a system of nonlinear functions

2017-11-28 Thread Hermes
The problem that I present is that at times Scilab stops. And they show the next alert: Gracias -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

Re: [Scilab-users] find a zero of a system of nonlinear functions

2017-11-28 Thread Hermes
-- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab.org

Re: [Scilab-users] find a zero of a system of nonlinear functions

2017-11-28 Thread Hermes
I have tried to reproduce what can be read in this document, https://ljk.imag.fr/membres/Bernard.Ycart/mel/ds/ds.pdf , on page 36. I find it interesting to introduce a range as an initial value. I use otras funciones y obtuve los

[Scilab-users] find a zero of a system of nonlinear functions

2017-11-28 Thread Hermes
fsolve I find a zero of a system of nonlinear functions: y = 3 - 10 * x + 2 * x ^ 2 + 3 * x ^ 3 in the range x = -3: 0.01: 3 but fsolve returns as a solution a vector (in the scrip yr) of the same size as x. I have varied the precision tolerance h to several values 1.d-3 to% eps. but I always get

Re: [Scilab-users] The numderivative function

2017-11-20 Thread Hermes
Hi, When I execute the command: exec(SCI+"/modules/optimization/macros/numderivative.sci",-1); I get the following Scilab alert: exec('C:\Draghilev''sMethod_4.sce', -1) at line14 of executed file C:\Draghilev'sMethod_4.sce at line -15 of executed file C:\Draghilev'sMethod_4C.sce exec:

Re: [Scilab-users] The numderivative function

2017-11-19 Thread Hermes
; regards I would very much like to be able to master numderivative. You could guide me to a website where I can read and study the vectorization in Scilab. I still do not feel comfortable with it. Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailin

[Scilab-users] The numderivative function

2017-11-18 Thread Hermes
Hi; The numderivative function consumes a lot of time in the calculations. In the following script I show two options for my "odes" function In one of them I use the numderivative function; and the calculation is extended by 9 minutes. And in the other I use the Jacobian determinant of the

[Scilab-users] The numderivative function consumes a lot of time

2017-11-15 Thread Hermes
Hi; The numderivative function consumes a lot of time in the calculations. In the following script I show two options for my "odes" function In one of them I use the numderivative function; and the calculation is extended by 9 minutes. And in the other I use the Jacobian determinant of the

[Scilab-users] create submatrix

2017-11-15 Thread Hermes
Hola, I have the following matrix a = [1 2 3; 4 5 6] and I want to select all columns except one. I have achieved it in the following way. a (:, [1 3]); a (:, [2 3]); a (:, [1 2]); and in this other way: b = [1 2 3] a (:, [b (b ~ = 1)]); a (:, [b (b ~ = 2)]); a (:, [b (b ~ = 3)]); But I would

Re: [Scilab-users] evaluate matrix in a function

2017-10-13 Thread Hermes
A possible solution, we compare "diffcode_jacobian" and "numderivative". in this case seem to calculate with the same accuracy function val = HH(z) x=z(1); y=z(2); val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; endfunction; function z=f(x) z(1,1:2)=diffcode_jacobian(HH,x)

Re: [Scilab-users] evaluate matrix in a function

2017-10-13 Thread Hermes
1.sce line 47 ) newf: Wrong size for output argument #1: A Scalar expected. 敦慶l: An error occured in '硥捥敆慶䙬' subroutine. * Gracias Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ use

Re: [Scilab-users] evaluate matrix in a function

2017-10-07 Thread Hermes
Hello The H and g functions work. But the diffcode_jacobian (H, r) evaluation does not accept the dot operator. Only redefining the H function (without dot operators) will achieve the results function val = HH(z) x=z(1); y=z(2); val=(1.25*y-sqrt(abs(x)))^2+x^2-1; // switched *.^* to

Re: [Scilab-users] evaluate matrix in a function

2017-10-07 Thread Hermes
Hello The H function works. the other two evaluations I can not solve the problem. function val = H(z) x=z(:,1); y=z(:,2); val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; endfunction; function Sys=g(x) gx=x(:,1); gy=x(:,2); g1=2*gx-(gx *(1.25*gy-sqrt(abs(gx/abs(gx).^(3/2);

Re: [Scilab-users] evaluate matrix in a function

2017-10-07 Thread Hermes
Hello The H function works. the other two evaluations did not solve the problem. function val = H(z) x=z(:,1); y=z(:,2); val=(1.25*y-sqrt(abs(x))).^2+x.^2-1; // switched ^ to .^ to handle vectors endfunction; function Sys=g(x) gx=x(:,1); gy=x(:,2); g1=2*gx-(gx

[Scilab-users] evaluate matrix in a function

2017-10-07 Thread Hermes
; endfunction V=g(r)'; disp(V,"g"); J = diffcode_jacobian(H,r); disp(J, "Jacobian"); Gracias Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.sc

[Scilab-users] evaluate matrix in a function

2017-10-07 Thread Hermes
how do I declare the functions to be able to evaluate a matrix variable(Multiple evaluation of a function). Where the first column corresponds to the first variable of the function. And so on.is only possible within a "for" cycle? how to declare the function to be able to use the operator

[Scilab-users] numderivative Heart function

2017-10-02 Thread Hermes
Hola, I would like to find the values of the function for which its derivative is equal to zero. function val = Heart(x1, x2) val=(1.25*x2-sqrt(abs(x1))).^2+x1.^2-1; endfunction; I've tried it with the numderivative function. Gracias -- Sent from:

[Scilab-users] numderivative Heart

2017-10-02 Thread Hermes
Hola,I would like to find the values of the function for which its derivative is equal to zero.function val = Heart(x1, x2) val=(1.25*x2-sqrt(abs(x1))).^2+x1.^2-1; // switched ^ to .^ to handle vectorsendfunction;I've tried it with the numderivative function.Gracias -- Sent from:

Re: [Scilab-users] Plot Heart Curve in Scilab

2017-09-27 Thread Hermes
ciNote to the Forum scripts and maintain the format of it? Thank you Hermes -- 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] update script to Scilab 6.00

2017-09-26 Thread Hermes
ion is frozen. <http://mailinglists.scilab.org/file/t497622/Graphic_window_number_0.jpg> Gracias Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab

[Scilab-users] Plot Heart Curve in Scilab

2017-09-26 Thread Hermes
Hello, I've been looking at the forum, how to graph the following function: x2=[-2:0.01:2];x1=[-1:0.01:1]; function val = Heart(x1, x2) val=(1.2*x2-sqrt(abs(x1)))^2+x1^2-1; endfunction And I have not found anything to guide me. Please, could you help me?

[Scilab-users] update script to Scilab 6.00

2017-09-19 Thread Hermes
how to update this script to scilab 6.00. I really do not know where and how to substitute ¨pixmap¨ for drawlater and drawnow and get the animation as good as shown on the source website of the script //http://www.ulb.ac.be/polytech/smana/TUTORIAL.htm

Re: [Scilab-users] solve a system of equations in scilab

2017-09-17 Thread Hermes
Thank you Rafael, a million thanks. I had not noticed that mistake, now everything is correct, xec('C:\Users\hermesr\Documents\Scilab Xcos\fsolve_eje19.sce', -1) 1. inc; 0. 0. results 0. 3.553D-15 1.496447 -0.9574371 2. inc; 1. 0. results 1.137D-13

Re: [Scilab-users] solve a system of equations in scilab

2017-09-17 Thread Hermes
I've tried migrating the Maple code to Scilab: And this is how I do it: clear; function Sys=Q(x,z) Sys(1)=(x(1)-2)^2+(x(2)+2)^2+z^2-9; Sys(2)=x(1)^6+x(2)^6+z^6-12; endfunction z=0; [j,v,info]=fsolve([1.5;-0.9],list(Q,z))

Re: [Scilab-users] solve a system of equations in scilab

2017-09-17 Thread Hermes
Hi, Rafael In my case, by setting as initial values [1.5, -0.9] I get: 1.496447 0.9574371 I always get the second positive value, when it is expected to be negative. clear; function Sys=Q(x,z) Sys(1)=(x(1)-2)^2+(x(2)+2)^2+z^2-9; Sys(2)=x(1)^6+x(2)^6+z^6-12; endfunction z=0;

Re: [Scilab-users] solve a system of equations in scilab

2017-09-17 Thread Hermes
Hi, Rafael In my case, by setting as initial values [1.5, -0.9] I get: 1.496447 0.9574371 I always get the second positive value, when it is expected to be negative. clear; function Sys=Q(x,z) Sys(1)=(x(1)-2)^2+(x(2)+2)^2+z^2-9; Sys(2)=x(1)^6+x(2)^6+z^6-12; endfunction z=0;

Re: [Scilab-users] solve a system of equations in scilab

2017-09-17 Thread Hermes
Hello, Please I need your comments. I have tried to solve the system with different initial conditions for fsolve and I always get the same wrong result for the second variable. function Sys=Q(x,z) Sys(1)=(x(1)-2)^2+(x(2)+2)^2+z^2-9; Sys(2)=x(1)^6+x(2)^6+z^6-12; endfunction z=0;

Re: [Scilab-users] solve a system of equations in scilab

2017-09-13 Thread Hermes
graph the function to guide me to select the initial values. something like this: function y = fct1(x) y = sin(x) - .25*x; endfunction fplot2d([-5:.1:5], fct1) show_window() x0 = [-5:5]; [x,v,info]=fsolve(x0, fct1); fplot2d(x', fct1,-1) disp(x,v) Gracias Hermes -- Sent from:

Re: [Scilab-users] xselect () from previous versions of scilab

2017-09-13 Thread Hermes
thanks for your attention It worked Hermes -- 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

[Scilab-users] solve a system of equations in scilab

2017-09-13 Thread Hermes
Hello, How to solve the following system of equations in scilab: U=(x-2)^2+(y-2)^2-z^2-9; V=x^6+y^6+z^6-9; avaluated U and V for z = 0 Gracias -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users

[Scilab-users] xselect () from previous versions of scilab

2017-09-13 Thread Hermes
Hello, What is the function in scilab 6.00 that replaces xselect () from previous versions of scilab? Have a good day Gracias Hermes -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing

[Scilab-users] update Scilab 6.xx from Scilab Branch 6.0 - 32 bits

2017-08-26 Thread Hermes
Please advise when the link is available "Http://downloadarea.scilab.org/download/2017-07-18/scilab-branch-6.0-1500302649.exe" regards Garcias -- View this message in context: http://mailinglists.scilab.org/update-Scilab-6-xx-from-Scilab-Branch-6-0-32-bits-tp4036926.html Sent from the Scilab

Re: [Scilab-users] nonlinear system of equations underdetermined

2017-08-25 Thread Hermes
My apologies run enter before editing. This is the system of interest: the nonlinear system of equations underdetermined fnhttp://mailinglists.scilab.org/nonlinear-system-of-equations-underdetermined-tp4036921p4036922.html Sent from the Scilab users - Mailing Lists Archives mailing list archive

[Scilab-users] nonlinear system of equations underdetermined

2017-08-25 Thread Hermes
How to solve this indeterminate nonlinear system: The nonlinear system of equations underdetermined fnhttp://mailinglists.scilab.org/nonlinear-system-of-equations-underdetermined-tp4036921.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

[Scilab-users] Using the Function fsolve

2017-08-23 Thread Hermes
Hi, I try to reproduce this function found in the following post: http://mailinglists.scilab.org/Simulation-of-static-general-equilbiirum-model-td4031213.html#a4031215 clear; function

Re: [Scilab-users] os superblock

2017-08-22 Thread Hermes Rozsa Iglesias
Hi; How I can help? El 22/08/2017 12:31, "Clément David" <clement.da...@esi-group.com> escribió: Hi, It seems to be a known bug, http://bugzilla.scilab.org/show_bug.cgi?id=15050 could you confirm ? Thanks, -- Clément Le mercredi 02 août 2017 à 23:31 -0700, Hermes a é

[Scilab-users] maintenance version for Scilab 6.0.X for Win32bit

2017-08-21 Thread Hermes
I tried to access the win 32bit link from the "maintenance version for Scilab 6.0.X". And I get the following message: http://downloadarea.scilab.org/download/2017-07-18/scilab-branch-6.0-1500302649.exe *"The webpage cannot be found" HTTP 404 Not Found"* However for win64bit it is available.

[Scilab-users] Problems with "Matlab to Scilab translator" application

2017-08-21 Thread Hermes
ne 140 of function mfile2sci( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\mfile2sci.sci line 153 ) at line 147 of function cb_m2sci_gui ( C:\Program Files\scilab-6.0.0\modules\m2sci\macros\cb_m2sci_gui.sci line 163 ) Undefined variable: _str2code Any suggestions? Thank you, GRACIAS

Re: [Scilab-users] XCOS and RK45 Runge-Kutta 4(5)

2017-08-18 Thread Hermes
-- View this message in context: http://mailinglists.scilab.org/XCOS-and-RK45-Runge-Kutta-4-5-tp4036893p4036895.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at

Re: [Scilab-users] XCOS and RK45 Runge-Kutta 4(5)

2017-08-18 Thread Hermes
response and help. Hermes Note: attached image where I compare the two models. <http://mailinglists.scilab.org/file/n4036894/Comparacion_de_Solve%28integrate%29aDE.jpg> Gracias -- View this message in context: http://mailinglists.scilab.org/XCOS-and-RK45-Runge-Kutta-4-5-tp4036893p4

[Scilab-users] XCOS and RK45 Runge-Kutta 4(5)

2017-08-17 Thread Hermes
? For your attention and future comments Gracias, Hermes <http://mailinglists.scilab.org/file/n4036893/Runge_Kutta_4%285%29_Rk45_1.jpg> -- View this message in context: http://mailinglists.scilab.org/XCOS-and-RK45-Runge-Kutta-4-5-tp4036893.html Sent from the Scilab users - Mailing Lists Ar

Re: [Scilab-users] vectorfind() upgrade [SEP]

2017-08-17 Thread Hermes
Hi Samuel, Good morning, please guide me how to update scilab so I can use the update function: vectorfind. I have writw access to Scilab installation directory Gracias -- View this message in context: http://mailinglists.scilab.org/Scilab-users-vectorfind-upgrade-SEP-tp4036885p4036889.html