[Scilab-users] XCOS crashes when period of cscope made smaller than 0.1

2017-10-02 Thread rusty148
Hello, I am trying to simulate PID in xcos using an user defined function. Here is my function function [y]= tito(a) y(1)=a(1)+a(2); endfunction And the layout is depicted in the picture attached Whenever I am making the period in

[Scilab-users] I NEED HELP WITH SCILAB (I'M IN A HURRY)

2017-10-02 Thread blanckaway
I'M NEW AT THIS. I HAVE TO DO THESE TWO EXERCISES NEVER LESS THAN 24 HOURS AND I AM 12 AND I CAN NOT ACHIEVE ANYTHING. HELP 1. Using the fact that in Scilab an inequality such as 2 3 ≤ ≤x has a logical value that becomes numerical value (0 or 1) by involving it in arithmetic calculations, genera

Re: [Scilab-users] numderivative Heart function

2017-10-02 Thread Rafael Guerra
Salut, 1. Define: z = H(x, y). 2. Differentiate analytically to obtain the gradient g = (gx,gy) = (dH/dx, dH/dy) 3. Use same contour method as before to plot |g| = 0 PS: as derivative has singularity along x=0; need to define grid appropriately to avoid it. Bonne chance Rafael -Original

[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: