,str,2,5)
Adrien
On 22/05/2014 17:33, Philipp Mühlmann wrote:
I just checked the help page
http://help.scilab.org/docs/5.3.3/en_US/xstringl.html
The last example deals with strings in LaTeX format.
Does this help?
Cheers,
Phil
2014-05-22 17:54 GMT+02:00 Adrien Vogt-Schilb :
Hi
Does an
Thanks that works
On 22/05/2014 10:25, Paul Bignier wrote:
Hello Adrien,
You may use the "data field :)
xstring(1,1,"Hello")
the_string = gce();
the_string.data = [1,2] // new position
Regards,
Paul
On 05/22/2014 04:11 PM, Adrien Vogt-Schilb wrote:
Dear al
Can i move
Hi
Does anyone have an example fo using xstringl with Latex-rendered strings?
Thanks
Adrien
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 22/05/2014 11:36, Adrien Vogt-Schilb wrote:
On 21/05/2014 18:07, Samuel Gougeon wrote:
Le 21/05/2014 23:52, Adrien Vogt-Schilb a écrit :
On 21/05/2014 17:27, Adrien Vogt-Schilb wrote:
Samuel, all
is there a way to display the axes and the ticks in the top of
the shaded
areas?
Sorry I
On 21/05/2014 18:07, Samuel Gougeon wrote:
Le 21/05/2014 23:52, Adrien Vogt-Schilb a écrit :
On 21/05/2014 17:27, Adrien Vogt-Schilb wrote:
Samuel, all
is there a way to display the axes and the ticks in the top of the
shaded
areas?
Sorry I was reacting to the following code:
Do you
Dear al
Can i move a string once i have displayed it?
I 'd like to do something like
xstring(1,1,"Hello")
the_string = gce();
...
the_string.position = [1,2] //new position
Best
Adrien
___
users mailing list
users@lists.scilab.org
http://lists.
On 21/05/2014 17:27, Adrien Vogt-Schilb wrote:
Samuel, all
is there a way to display the axes and the ticks in the top of the shaded
areas?
Sorry I was reacting to the following code:
Herebelow is an example with any number of curves.
Cheers
Samuel
--
// area()
y = [1 5 3
Samuel, all
is there a way to display the axes and the ticks in the top of the shaded
areas?
--
View this message in context:
http://mailinglists.scilab.org/Equivalent-of-matlab-area-plot-tp2618761p4030553.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble
is appreciated.
Thanks!
Richard
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb
Consultant (World Bank) and PhD Candidate (Cired)
1 202 473 7980
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
possible to issue Scilab command to display the text
variable in one of Scinotes or Scipad tabs?
Thanks and regards,
Rafael G.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb
Consultant
On 12/05/2014 03:25, Dang, Christophe wrote:
Hello,
De la part de Adrien Vogt-Schilb
Envoyé : jeudi 8 mai 2014 23:44
I've got weighted data and i'd like to plot an histogram
You are a talented scilaber so I guess you already digged in the usual sources.
Maybe you can cheat on you
-simultaneous-eqs-with-dynamic-boundaries-tp4030445.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt
boundaries-tp4030445.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb
Consultant (World Bank) a
Dear all,
I've got weighted data and i'd like to plot an histogram
For instance, income distribution from people within revenue segments.
Any idea?
--
Adrien Vogt-Schilb
Consultant (World Bank) and PhD Candidate (Cired)
1 202 473 7980
___
ha
instead produces a figure in my computer, not sure if it is the figure
you want
for j = 1:npt
drawlater();
ha.children(1).data = [sin(t(1:j));cos(t(1:j)); t(1:j)]';
drawnow();
end;
--
Adrien Vogt-Schilb
PhD Student (Cired)
___
u
zero). Is there a way to tell Scilab if this gets beyond
a limit to round off at zero say?
Sure this is an easy one!
Cheers
Lester
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/
On 28/01/2014 16:43, Stefan Du Rietz wrote:
On 2014-01-28 09:54, Adrien Vogt-Schilb wrote:
On 28/01/2014 09:41, Stefan Du Rietz wrote:
On 2014-01-27 22:43, Serge Steer wrote:
Le 27/01/2014 19:05, Stefan Du Rietz a écrit :
Under pause, you cannot
The page does not mention "pause"
http://wiki.scilab.org/howto/global%20and%20local%20variables
sorry, o busy to file a bug
--
Adrien Vogt-Schilb
PhD Student (Cired)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.o
age explains what Serge means i believe.
Adrien
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb
PhD Student (Cired)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
have you tried exporting the plots in a vectorial format?
you can use driver or xs2pdf, xs2eps and other functions.
You can also resize your plots before exporting them in png.
Hope this helps
-- Adrien Vogt-Schilb PhD
OK, for the record, the bar function
does that...
more info here:
http://mailinglists.scilab.org/fine-bar-graph-formatting-td3787340.html
On 23/01/2014 11:32, Adrien Vogt-Schilb wrote:
Hi
Do you know how to mak
Hi
Do you know how to mak bar grahps in scilab ?
Like this one.
Does anybody have a function ready, maybe based on rectangles or
something?
Best regards
--
Adrien Vogt-Schilb
PhD Student (Cired
oops
On 21/01/2014 13:50, jasper van baten wrote:
The null space is returned by the function kernel,
Best wishes,
Jasper.
On 1/21/2014 13:38, A Khorshidi wrote:
Hi;
Is there an equivalent for the Matlab function "null" in Scilab?
Thank you
Mehran
_
___
le of your messgae,I guess you might want ot have a look
at the function isempty
A=[];
if isempty(A)
disp("kowabunga")
end
--
Adrien Vogt-Schilb
PhD Student (Cired)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
sing empty matrices []
foo= 2*(1:3);
foo(2) = []
foo =
2.6.
--
Adrien Vogt-Schilb
PhD Student (Cired)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
/document them, contribute your own better
functions.
Cheers
Adrien
--
Adrien Vogt-Schilb
PhD Student (Cired)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org
On 19/12/2013 15:17, Adrien Vogt-Schilb wrote:
function y = map_fun(P,T,f)
sP = size(P, "c")
sT = size(T, "c")
P_= P'*ones(1, sT)
T_ = ones(sP, 1)*T
y = f(P_,T_)
endfunction
function y=somme(a,b)
y=a+b
endfunction
function y=power(a,b)
Same thing without formating:
function y = map_fun(P,T,f)
sP = size(P, "c")
sT = size(T, "c")
P_= P'*ones(1, sT)
T_ = ones(sP, 1)*T
y = f(P_,T_)
endfunction
function y=somme(a,b)
y=a+b
endfunction
function y=power(a,b)
y=a.^b
endfunction
P = linspace(3,30,7)
T = li
! !
!5 1 498.83063 248832 1.241D+08 6.192D+10 3.089D+13 1.541D+16 !
! !
!7.5 1 1105.8847 1222981 1.352D+09 1.496D+12 1.654D+15 1.829D+18 !
! !
!10 1 2020.9159 4084101 8.254D+09 1.668D+13 3.371D+16 6.812D+19 !
! !
!12.5 1 3283.6015 10782039 3.540D+10 1.163D+14 3.817D+17 1.253D+21 !
! !
!15 1 492
Hi
Maybe the config file is broken.
Try deleting the content of
C:\Users\[USERNAME]\AppData\Roaming\Scilab\scilab-5.4.1
(or similar) and run scilab again
On 15/12/2013 14:04, brunjak wrote:
Hello
I've been working with scilab 5.4.1 64 Bit and Windows 7 professional for
several moths with no
is email in error, please contact the sender and delete the
email from your system. If you are not the named addressee you should not
disseminate, distribute or copy this email.
___________
users mailing list
users@lists.scilab.org
http://
d addressee you should not
disseminate, distribute or copy this email.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb
PhD Student (Cired) and Consultant (The World Bank)
1 202 473 79 80
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
lab.org/Is-there-any-way-to-supress-th-plot-output-tp4027647.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Ad
s,
Peter
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb
PhD Student (Cired) and
For the record, the following page:
http://bugzilla.scilab.org/show_bug.cgi?id=12228 explains how to
configure Scilab such that [ESC] clears the current line in the console.
On 29/08/2013 09:20, Adrien Vogt-Schilb wrote:
Ctrl+U Works. Thank you very much!
On 29/08/2013 07:15, jasper van
Ctrl+U Works. Thank you very much!
On 29/08/2013 07:15, jasper van baten wrote:
Ctrl+U
Best wishes,
Jasper.
On 8/28/2013 18:44, Adrien Vogt-Schilb wrote:
Hi everyone
Is there a way to clear the crrent line in th console? In most
consoloes, [ESC] does that, but not in scilab
Hi everyone
Is there a way to clear the crrent line in th console? In most
consoloes, [ESC] does that, but not in scilab
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Hi everyone
Is there a way to clear the crrent line in th console? In most
consoloes, [ESC] does that, but not in scilab
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org
an-toolbox/).
Apparently there is a xtopen function.
HTH,
Mathieu
Le 23/08/2013 21:48, Adrien Vogt-Schilb a écrit :
Hi
Does anybody know a toolkit or any other way to read a .dta file with
scilab?
Cheers
___
users mailing list
users@lists.scila
Hi
Does anybody know a toolkit or any other way to read a .dta file with
scilab?
Cheers
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
the bug does not happen in scilab 5.3.3 win64.
Ezequiel, did you try to rename the argument "param" to something else?
like "myparam". Maybe "param" is used internaly by some scilab function
On 05/08/2013 16:27, Ezequiel Soule wrote:
clear
function f=fiso(var,intP,param)
fiazo=var(1);
xt=v
On 26/07/2013 22:42, Serge Steer wrote:
Le 26/07/2013 21:55, Stefan Du Rietz a écrit :
Hi,
if there is no figure, gcf() should return an empty handle, shouldn't
it? Now you get a handle to a new default figure, which is opened.
That is the expected (and actual) response from scf().
Is this a
cilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
ibution de cet e-mail est
strictement interdite.
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error, please contact the sender and delete the
email from your
you cannot.
But you can provide the function directly with the name of your
variable, and transform te name of the variable into the variable by
evaluating it...
function f(nameofvar1,nameofvar2)
var1 = evstr(nameofvar1)
var2 = evstr(nameofvar2)
disp(nameofvar1 + " + "+ nameofva
iling Lists Archives mailing list archive at
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
line containing "1i".
Denis
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 16/05/2013 14:20, Stéphane Mottelet wrote:
Hello,
Le 13/05/13 16:38, Adrien Vogt-Schilb a écrit :
Hi
It is possible, just use
subplot(321)
subplot(322)
subplot(323)
subplot(324)
and then
subplot(313)
then you get margins that are not homogeneous (this is ugly), as you
can see it in the
://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 13/04/2013 02:49, Michael Dunn wrote:
Hi. Are there any resources or tutorials or references out there that
would be helpful to a newbie to SciLab filtering functions? I just
want to filter some data -- at this point, I don't even care what kind
of filter -- just want to learn how!
At fir
% and the additional path is appended.
But the error message for EMF export is the same: it asks again to
install Ghostscript.
Best regards
Denis
*De :*users-boun...@lists.scilab.org
[mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb
*Envoyé :* vendredi 12 avril 2013
path is appended.
But the error message for EMF export is the same: it asks again to
install Ghostscript.
Best regards
Denis
*De :*users-boun...@lists.scilab.org
[mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb
*Envoyé :* vendredi 12 avril 2013 14:53
*À :* Internat
Hi
The "copy to clipboard" function is now known to be broken in sci 5.4:
http://bugzilla.scilab.org/show_bug.cgi?id=11648
For the other problem, do you know if the path to ghosscript is included
in your environment variable PATH ?
if you have no idea what this means, try the following two l
re executing it.
The user can also modify Scilab source code to get Scilab display
whatever Scilab is allow to read. If Scilab can execute it, Scilab can
display it. This is completely unavoidable.
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
__
Hi guys
Do you know it htere is an equivalent of Dynare working for Scilab?
--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Maybe xs2png or xs2pdf are what you are looking for?
On 07/04/2013 02:31, Frank Testa wrote:
Dear Scilab:
I have created a window with figure() and populated it with text and
edit controls using uicontrol(). I would like to print a screenshot of
the window but toprint() and printfigure() bo
.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb (Cired)
+33 (0) 6 78 54 73 77
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
This is just to thank the development team.
--
Adrien Vogt-Schilb (Cired)
+33 (0) 6 78 54 73 77
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 13/03/2013 13:01, Adrien Vogt-Schilb wrote:
Samuel once provided a solution to this:
For the record: actually it was Antoine, and he provided a function.
Could still be deposited to fileexchange. Antoine would you allow your
function to be posted? Do you happen to have a more recent
.html
If you have time, the best would be to make a generic function and post
is to fileexchange...
Kind regards
--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo
Hi
did you try strsplit ?
On 07/03/2013 15:31, samuel.en...@unn.edu.ng wrote:
Dear sir,
Suppose I have the matrix shown below.
Names = ['samuel Ogbonna Enibe',
'James Peter';
'WIlson Stone Wilberforce Joshua';
'Moses'];
I would like to extract
hi
my mistake
the function name is csvTextScan
http://help.scilab.org/docs/5.4.0/en_US/csvTextScan.html
On 05/03/2013 11:06, Carrico, Paul wrote:
Thanks .. but is it in an Atoms package ? I failed in finding it on
the web site and the function seems not to be defined in Scilab (5.4.0)
Paul
On 27/02/2013 14:25, Stéphane Mottelet wrote:
Le 26/02/13 17:45, Adrien Vogt-Schilb a écrit :
hi
is there any reasons why I can't type from a console:
scilab myfile.sce
and expect scilab to execute myfile.sce and redirect output to the
standard output?
I can almost to that with
scila
okay
On 26/02/2013 17:55, Sylvestre Ledru wrote:
On 26/02/2013 17:45, Adrien Vogt-Schilb wrote:
hi
is there any reasons why I can't type from a console:
scilab myfile.sce
It is this way for legacy reasons. We could change that for Scilab 6.
and expect scilab to execute myfile.sc
s ofr
scilab-cli -e exec('#1');quit
or something
--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Hi
why not using:
xtitle('foobar', '$x \times '+string(scale)+'$');
?
--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
ompile again the .sci/.sce to create new .bin files),
otherwise it will use the atomsExtract.bin that was packaged with the
version.
Simon
On 02/20/2013 12:56 PM, Adrien Vogt-Schilb wrote:
Dear Simon
In my case,
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreati
te
Support & Development Engineer
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
http://www.scilab-enterprises.com
_______
users m
iling list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 73 83
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 08/02/2013 11:02, Calixte Denizet wrote:
Hi Adrien,
About vectorial export in 5.3: we used a thirdparty library (gl2ps)
which used an opengl trick to make the export, so huge graphics could
to lead to crash.
In 5.4, we completely rewrite the vectorial exporter (we removed
gl2ps) and huge g
Hi Calixte
It seems that this issue will take some time to be fixed then. Moreover,
if I understand well, Scilab 6 will use a completely different approach
to graphics?
I'd like to use Scilab 5.3.3 meanwhile as a workaround, but I can't
because my new machine runs Windows 8. I can launch scila
On 07/02/2013 16:41, Dang, Christophe wrote:
Hello
Styles and width in particular are not respected.
I personally export as SVG
and then edit the picture with Inkscape,
which can export a PDF.
Of course this does not solve the problem,
but can be a turn around.
Regards
hi
thx for you tric
OK, this last issue is unrelated, and can be solved by running scilab as
an admin.
i still have my original problem
On 07/02/2013 16:17, Adrien Vogt-Schilb wrote:
Hi again,
I also tried to print my figure to see (from the GUI), and that's what
it says:
oldgcbo = gcbo; end
ssController.doPrivileged(Native Method)
at sun.print.RasterPrinterJob.printDialog(Unknown Source)
at org.scilab.modules.gui.bridge.CallScilabBridge.printFigure(Unknown
Source)
while executing a callback
On 07/02/2013 16:01, Adrien Vogt-Schilb wrote:
Hi
When I try to export a figure in ps, pd
Hi
When I try to export a figure in ps, pdg or svg with scilab, the output
file does not match my figure. Styles and width in particular are not
respected.
The png file attaches (via xs2png) works fine, the pdf does not
Any suggestions?
Thanks
-->getdebuginfo
ans =
!Memory in use:
guy guys
mkdir does what you want
does not issue a warning when the dir already existed, instead returns a
status that you can ignore:
-->mkdir foo
ans =
1.
-->mkdir foo
ans =
2.
-->mkdir foo
ans =
2.
-->mkdir "this%µ£¨$^? wont work"
ans =
0.
help mkdir
ki
On 22/01/2013 12:13, Carrico, Paul wrote:
Hi All
How can I protect Scilab source code for a third part (development in
progress) ?
Typically it concerns a sub-routine I've been developping ...
Regards
Paul
Hi
As far as i know, you cannot. This is because nothing is really compiled
in scilab
Hi
can you rpovide the full code that makes the bug ?
in your example, for instance, t_z is not defined
On 18/01/2013 05:11, AntonSeab wrote:
Hi,
I'm finding the following behaviour puzzling. When running the following
code that has one typing error 'lambda(t-t_z)' instead of 'lambda*(t-t_z)'
You can also have a look at
help csv_read
which as an optional argument "substitute" designes for these type of
cases I believe
On 10/01/2013 09:30, Serge Steer wrote:
You can substitute the "*" using Scilab
t=mgetl('your file');
t=strsubst(strsubst(t," *" ," 0 ")," S "," 0 ")
Le 09/01/2013
On 04/01/2013 15:12, Samuel Gougeon wrote:
Hello Adrien,
Le 04/01/2013 14:16, Adrien Vogt-Schilb a écrit :
i'd like to call a function inside myscript.sce which would return
the line in the file myscript.sce where the function is called.
Does that exist?
Yes, you might use where() i
hi
i have a file, myscript.sce
i'd like to call a function inside myscript.sce which would return the
line in the file myscript.sce where the function is called.
Does that exist?
happy new year
--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 *
On 19/12/2012 11:17, Lamy Alain wrote:
Hi,
Does anyone know how to perform efficiently an operation like :
u .^k
with:
u = [u1, u2, ..., un] // ui : real numbers
and:
k = [k1; k2; kp] // ki : positive integers
The result being :
[ u1^k1, u2^k1, ..., un^k1;
u1^k2, u2^k2, ..., un^k2;
...
On 04/12/2012 17:51, Jens Simon Strom wrote:
Hello Adrien,
Thanks for your answer. Your example is fine on my installation too except some
bouncing and hopping now and then. In my case - using your approach - these
disturbances are more severe. One gets nervous when watching the animation.
Fortun
On 04/12/2012 17:25, Paul Carrico wrote:
Dear all,
Is there an equivalent to "err" when using csvRead ? I'm looking to a
way to test if the file exists (or not) previous to read it with csvRead
Thanks
Paul
From "mopen" help file :
[fd, err] = mopen(file [, mode, swap ])
___
On 04/12/2012 17:21, Jens Simon Strom wrote:
In version 5.3 I have written a script which produces an animated plot of a
magnetic field showing approx. 70 oscillating and rotating arrows. The arrows
are generated by the command 'arrows' in a loop. I used the 'pixmap' and the
'show_pixmap()' comma
On 02/12/2012 19:06, Jens Simon Strom wrote:
Thank you Adrien,
I tried your approach before because it works with optim. It fails. The reason
is that "x" is a variable of fminsearch which interferes with "my" x.
The consequence is that one has to choose variables that are not defined in
fminsear
On 02/12/2012 09:33, Jens Simon Strom wrote:
Hello Scilab experts,
This script functions:
function SAQ=!f(p), SAQ=sum( ( p(1)+p(2)*xi-yi ).^2 ), endfunction
xi=1:1000 ;
yi=2*xi+3;
popt=fminsearch(!f,[0;0])
If I replace yi by y everywhere the script functions too as expected.
If I replace xi b
On 26/11/2012 20:33, Rodrigo Thomas wrote:
Hello,
I'm having a problem to solve complex ordinary differential equations
like (a simplified one):
dx/dt = i*x.
I tried to use:
-->function xdot=f(x,t)
-->xdot=%i*x
-->endfunction
-->x0=[1;0];
-->t0=0;
-->t=linspace(0,10,100);
-->y=ode(x0,t0,t,f
1)+1):(8*i),:)));
if(search>0)then
D(i,1)=1;
else
D(i,1)=0;
end
end
*De :*users-boun...@lists.scilab.org
[mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb
*Envoyé :* jeudi 22 novembre 2012 15:54
*À :* International users mailing list for Scilab.
*Objet :* Re: [Sc
On 22/11/2012 15:48, Paul Carrico wrote:
Dear All,
On the above example, it should be possible to select a sets of rows,
should not ? if so how please ?
Thanks
Paul
Hi
Didn't understand your question, have a look at this:
A=[1:10]'*2
rows = [1;6;2]
B=zeros(A)
B(rows) = A(rows)
hop
On 05/11/2012 14:45, Paul Carrico wrote:
All,
Thanks for the feedback ...
... a basic plot shows the curve is monotonic (see attachment) ; I should plot
a 3D curve in order to study the influence of the exponents for example to
verify there's one and only one root ...
... I've to code a fast
Hi
I would code the function, then plot it, then use fsolve
On 05/11/2012 13:13, Paul Carrico wrote:
Dear all,
This a stupid question, but how can I solve directly in, Scilab an
equation such as :
0.403*X^(-0.121) + 60.5*X^(-0.73) -- 0.1839 = 0
?
Is-it necessary to code a function ? fr
hI
This is interpreted as 1.0/[2 3 4] (yes it is combersome)
you want to use:
1.0./[2 3 4]
or
1 ./[2 3 4] //mind the space before the dot
you can also use [2 3 4].^-1
note that
[2 3 4]*[0.0689;0.1034;0.1379] = 1
also note the orientation of each matrix (row or column)
On 19/10/2012
Hi
Are you sure that you are using Scilab 5.3.3 ?
On 28/09/2012 15:30, bkgoodamn wrote:
I am very new to Scilab, using version 5.3.3 (Windows) and trying to
import csv data. Everything I try always returns:
Undefined variable: read_csv
I have tried things such as:
B = read_csv(TMPDIR + '/foo.c
On 26/09/2012 19:42, Paul Carrico wrote:
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 8 9]
n= 1000
fori = 1 : n
On 25/09/2012 15:36, haasejos wrote:
hallo,
I try to change a directory by using:
*[a,b,c] = dos('cd C:\Documents and Settings\haasejos\Desktop\' , '-echo');*
hi
as far as I understand, there are two reasons this does not work
first, there are spaces in the path you give to cd, so you should
Hi
Does anyone have a 1D-solver coded?
Compared to fsolve, a 1D solver could store every try x and every
y=f(x), and then just use interpln to guess a zero (would work only for
monotonous functions, but this is what i need)
Thx
--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 *73 77
97 matches
Mail list logo