Take care that the getvalue function is overloaded by Scilab to silently
evaluate and chack the arguments that are given by expression based
variables defined in the Xcos context
Basing your bload dialog on a other function will breaks this behavior...
Serge Steer
INRIA
Le 25/07/2013 10:11
It is not a Scilab problem.
It is better to preserve the plotfr handle in the user_data gui, so even if
plotfr is cleared
it can be retreived.
Moreover I had improved a little your code to makemove more smooth (avoid clf
and udpdate the polyline and axes bounds
Serge Steer
- Mail original
Le 05/07/2013 16:15, charles marchetti a écrit :
Hi
When I try the function classmarkov , It doesnot work. I get the error
message:
the function mat_2_graph doesn t exist.
mat_2_graph is a part of the Metanet module (can be loaded with Atoms)
Is it error from the programm or about the
I am still not sure to really understand your problem
Do you want to be able to contruct the effect of two spherical
(stationnary?) waves at a given points of the 3D space?
Serge Steer
Le 05/07/2013 09:42, kanchan Masade a écrit :
On Fri, Jul 5, 2013 at 12:36 AM, Serge Steer serge.st
What do you mean by simulate interference
Do you want to compute electromagetic wave combinaison at given points
of the space?
Serge Steer
Le 04/07/2013 17:02, kanchan Masade a écrit :
Hello All,
I am very new to Scilab and Matlab.
As a university project, I need to simulate interference
Strange, look at the figure I get...
What version of Scilab are you using?
Serge Steer
Le 14/06/2013 09:30, simi99 a écrit :
that's weird. if I run your script (without any change), I get the following
result: http://mailinglists.scilab.org/file/n4026852/tst2.png
--
View this message
The question is: how do you want to represent complex numbers in your 3D plot? plot3d function only represent the real part...Serge SteerDe: "Ubirajara Marques da Cruz" birac...@cemig.com.brÀ: users@lists.scilab.orgEnvoyé: Vendredi 7 Juin 2013 22:46:37Objet: [Scilab-users] Problems with plot 3d.
of such a data with Scilab?
Yes, just enter your data in a matrix and set the undefined values to %nan
function z=my_surface(x, y),z=x*sin(x)^2*cos(y),endfunction
t=linspace(-%pi,%pi,30);
z=feval(t,t,my_surface);
z(1:15,1:15)=%nan;
clf;contour(t,t,z,20);
Serge Steer
INRIA
Many thanks in advance for help
the solver is stopped when the event
arises and restart just after.
You can generate a discrete command for the switch using a selector
block and an event at time block.
Serge Steer
Le 02/06/2013 05:04, dragaoerrante a écrit :
Hi people. I started using Scilab just some moths ago, so I'm
it contains:
if n is the window number you can do:
delmenu(n,_(?));delmenu(n,_(Edit));delmenu(n,_(Tools));delmenu(n,_(File));
Serge Steer
I would also like to hide (with drawlater?) the creation of a figure
until it is ready. Now I have to watch several different figures until
the correct one
Le 26/03/2013 19:20, TViT a écrit :
Serge and how to use?
Just exec the file before use, it will overload the dct function
Serge Steer
I moved dct.sci to a folder С:\Program
Files\scilab-5.4.0\modules\signal_processing\macros
Has started buildmacros.bat and the file dct.bin has appeared
a string you may use the xstringl function.
Serge Steer
Thanks for help,
Stéphane
Maya Technologies *Stephane BECU*
Tel:+33 4 38 49 59 01
Mobile:
www.maya-technologies.com http://www.maya-technologies.com
*Maya technologies*
La Petite Halle
ZAC Bouchayer Viallet
31, rue Gustave
With Scilab 5.4.0 Windows versions using the MKL library, the dct and
dst function does not work (the associated routines are not present in
the MKL library)
One solution is to use a non MKL version
You can also use the attached Scilab function based on fft (slower)
Serge Steer
Le 26/03/2013
however. It is much more efficient using fft instead of dft.
Serge Steer
clear; clc; xdel;
function y = f(x);
y = sin(x);
endfunction;
n = 200;
x=linspace(0,2*%pi,n);
y=f(x);
mat = [x',y'];
//disp(mat);
//plot2d(x , y);
//xtitle('DATA','n''','y''');
Xf=dft(y,-1);
XfA = abs(Xf)*2/n;
plot2d3
Le 19/03/2013 13:32, Stefan Du Rietz a écrit :
On 2013-03-19 11:43, Serge Steer wrote:
Le 19/03/2013 11:26, Dang, Christophe a écrit :
De la part de Stefan Du Rietz
Envoyé : mardi 19 mars 2013 11:10
But gsort is a built-in function (and very efficient):
I just wonder
If you know the approximate size of the footer in number of bytes (assume N
greater than it) you can try to set the pointer N bytes before the end of file
using the
u=mopen(myfile);
mseek(-N,u,'end')
then read the rest with
mgetl(-1,u)
Serge
- Mail original -
De: Antoine Monmayrant
,Nj,Nk); //Transform D1 into a 3D array
toc
Are you sure of your variance definition? For me if v is a vector the
variance of v is computed by sqrt(sum( (v-mean(v))^2))
Serge Steer
INRIA
Le 12/02/2013 17:10, Stéphane Bécu a écrit :
Hello,
I have much difficulty to optimize my calculation
The identification functions help pages can be found in the CACSD chapter
look at findABCD, findBD, findAC,...
but also imprep2ss, armax, ...
Serge Steer
Le 25/01/2013 18:18, AntonSeab a écrit :
Hi
It would be great if you could point me to some documentation for the
Identification Toolbox
If the initial position of your sphere are randomly set, it can be
normal than you do not have the same number of iteration from one
simulation to an other one.
can you check using
rand(seed,0)
to force identical initial points for your various tests.
Serge Steer
Le 28/01/2013 16:18, Ezequiel
You can substitute the * using Scilab
t=mgetl('your file');
t=strsubst(strsubst(t, * , 0 ), S , 0 )
Le 09/01/2013 22:35, constantina a écrit :
mputl(t,'your file')
Serge Steer
Hello everyone (first of all, sorry 4 my poor english), im newbie in scilab.
Im trying to process data, it includes
- Mail original -
De: constantina geof...@gmail.com
À: users@lists.scilab.org
Envoyé: Jeudi 10 Janvier 2013 14:50:31
Objet: Re: [Scilab-users] How replace symbols and letters in a matrix
Thank u so much Serge it works perfect! but i used an specific file ,
I have
to program an
, gcbo.userdata.string = string(0););
endfunction
fig = figure(0);
test(fig);
Serge Steer
Le 02/01/2013 10:48, Dang, Christophe a écrit :
Hello,
I'm starting with my first graphical user interfaces.
It seems OK until I try to encapsulate it into a function.
Here is a minimal complete example
are right. but Scilab returns the generalized eigenvalues under a
factorized form because some generalized eigenvalue problems may have
eigenvalue at infinity.
Serge Steer
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman
corresponding to doubles
I=(2:3)'.*.ones(1,N/2)+(0:3:3*N-3).*.ones(2,1);
u=mopen('/tmp/foo','w')
mput(T(I),'f',u);
mclose(u);
//read it again as double
u=mopen('/tmp/foo','r');
D=mget(N,'d',u);
mclose(u);
Serge Steer
Thanks for reading,
regards
Phil
--
View this message in context:
http
On 12 December 2012 22:46, Lester Anderson arctica1...@gmail.com
mailto:arctica1...@gmail.com wrote:
Many thanks Serge :) That worked great!
Helps to see how the syntax should work.
Cheers
Lester
On 12 December 2012 22:29, Serge Steer serge.st...@inria.fr
(k-1) //wait a little to slow down the loop if necessary
nx=[r1(k)*cos(t+phi(k));r2(k)*cos(t+phi(k))];
ny=[r1(k)*sin(t+phi(k));r2(k)*sin(t+phi(k))];
e.data=[nx(:) ny(:)];//update arrow coordinates
end
Serge Steer
___
users mailing list
users
,x,y,ibut)
fig=get_figure_handle(win)
set(fig, user_data, struct(myres,x*2))
endfunction
You can then recover the value everywhere using
fig=get_figure_handle(win)
disp(fig.user_data.myres)
Serge Steer
Le 30/11/2012 14:26, walid shouman a écrit :
how can i return the a value from an event
Le 27/11/2012 10:08, michael.bau...@contrib.scilab.org a écrit :
Hi,
Thank you Serge for this interesting script.
Defining a tlist with unnamed fields is indeed an idea which
is quite unusual !
You will find in attachment a modified version, merging your proposal
and my
previous attempt.
On
with a string column formatted as you want, you
may use a tlist
[A, M, J, h, mn, s] = datevec(X(:,3)/1000/24/3600);
out = msprintf(%02d:%02d:%04.1f\n,h, mn ,s)
T=tlist([foo,data,time],X(:,1:2),out)
I hope it will help.
Serge Steer
--
View this message in context:
http://mailinglists.scilab.org
For safe mode you can use tlist with no field names. See the example in the
attached file
Serge Steer
- Mail original -
De: Daniel Penalva dka...@gmail.com
À: International users mailing list for Scilab.
users@lists.scilab.org
Envoyé: Dimanche 25 Novembre 2012 23:04:56
Objet: Re
take care that i.*.ones(j) generates a vector of size 130321^2 which is
near 2^34. With the current Scilab, the array dimensions (ans pointers)
are stored in 32 bits integers. The crash is probably due to a missing
test on dimensions in the kronecker product gateway.
Butindependently of that
you have?
Serge Steer
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Now you can use the add_profiling function.
Serge Steer
Le 19/11/2012 01:43, Iai Masafumi ax a écrit :
Hello,
écrit :
How do I prepare a function for profiling using exec?
The help page of profile says that To use profile the Scilab function
must have been prepared for profiling (see exec
Hello,
I tried your site, with firefox 16.0.2 entering A=1 as input, with
Enable graphic checked I got the message The requested content
cannot ne loaded, Please try again later, with graphic disable nothing
appaers in the output part
Serge Steer
On 10/11/2012 19:55, Saket Choudhary
norm(A)
/
/Serge Steer
/
Le 26/09/2012 19:42, Paul Carrico a écrit :
Dear All,
A funny result for calculating the norm of a tensor ... for ounce a
traditional method (that probably uses vectorization in back stage)
is faster than the norm function ...
Paul
mode(0);
A= [ 1 2 3 ; 4 5 6; 7
101 - 135 of 135 matches
Mail list logo