I'm porting some matlab functions to scilab. The cool thing is that there is a conversion toolbox that make things very easy.
The problem is I did not find the counter part to the syms function, and the symbolic toolbox in general. (I'd like a port of the Control System Toolbox too, i'm still searching for some functions I'd may need).
...
I have created dll in VC++2008, I linked Dll in my software SCILAB 5.1, and now i have an error Execution part. what is the syntax to follow exeute that function.
...
hi. i am new to scilab. can somebody please tell me how to convert this c++ code to scilab code? thanks!
#include <stdio.h>
#include <math.h>
int main (void)
{
double c= 12.5; // kg/s
double g = 9.8; // m/s
double m = 68.1; // kgs
double vt[200]; // velocity ...
Hi there,
I'am talking about this example of a Scilab<->C wrapper: http://www.scilab.org/doc/intro/node89.html.
The strange part is this one:
int intsfoubare(fname)
char *fname;
{
....(some code)
}
It is some kind of function defintion but I really don't understand what the char *fname is good for also just fname as par...
How to find solution to overdetermined systems in Macsyma, Scilab, Octave?
...
hello!
my project is to create a program that will test whether a number is prime or not. the code is ready. but when i enter a 19 digit prime for example, the code immediately outputs "composite". i'm quite sure it is because it treats the last few digits of the number as zeroes. is there a way to store more than 16 digits in scilab?
...
What is the meaning of a dollar symbol ($) in SciLab?
EDIT:
What I meant was dollar symbol used in indexing lists. I assumed that's the single use of it.
...
Hi,
a friend of mine uses SCILAB for doing his mathematicall "homework" for his studies and he told me, that it should be possible to use Java source code diretly in SCILAB.
The background is that I presented my current Java project and I would like to plot this in 3D, but I haven't done graphical output so far. And he proposed to let ...
hello
i'm a computer systems engineering undergraduate student, i just want to know what advantages MATLAB has over SCILAB and vice versa other than that SCILAB is freeware.
i mean from a computer engineer point of view.
thanks
...
hi,
I am trying to set up SCILAB's javasci ineclipse for the whole day, but it's not working and I don't know, what they want to tell me with http://www.scilab.org/product/man/compile_and_run_javasci.html
in included the javasci.jar in the properties/libraray so that eclipse knows the special comands but afterwards it desn't work.
I co...
I need to perform lots of evaluations of the form
X(:,i)' * A * X(:,i) i = 1...n
where X(:,i) is a vector and A is a symmetric matrix. Ostensibly, I can either do this in a loop
for i=1:n
z(i) = X(:,i)' * A * X(:,i)
end
which is slow, or vectorise it as
z = diag(X' * A * X)
which wastes RAM unacceptably when X has a lot of...
Hi. I'm using Scilab and I'm trying to make a function like the following:
function p = binary_search(myf,a,b)
The target is to make a binary_search to find such p that: myf(p) = 0 in [a,b].
I want to do someting like this:
root = binary_search("x^3 - 10",1,2)
Where the first string is a definition of a function.
The only way I f...
How to find integrals from limits -infinity to +infinity in SCILAB ? ( Expression to be integrated are not directly integratable )
...
I am using scilab to do some simple simulation. The outcome will a number of plot and graph. What is the easiest way to capture these outputs and publish them into a pdf or ps file?
Hopefully it is simple to do that I can include the boilerplate code into my scilab script itself?
...
I'm having an incomprehensible problem in Scicoslab in the last few days.
I've been writing some communication blocks (to send data to an external application) for scicos in C and then wrap them with it's own code. The problem is that, even if the code is working (I've checked every output possible), scicos gives me this error message: s...
I'm trying to draw sigmoid function using this code on scilab, but the result I got is not from the equation. what's wrong with my code?
x = -6:1:6;
y = 1/(1+%e^-x)
y =
0.0021340
0.0007884
0.0002934
0.0001113
0.0000443
0.0000196
0.0000106
0.0000072
0.0000060
0.0000055
0.0000054
0.0000053
0.0000053
http://...
I'd like to replicate an NxM matrix into an NxMx3 matrix, i.e. have 3 copies of the input matrix in the third dimension. How do I do that?
...
greetings and apologies if this is a repost (i searched this site, and i believe its not a repost, though)
I work with scilab, but during a project, scilab has to deal with a large number of variables.
I was wondering if i can do the following
var_list = who_user();
for _var_ = var_list do
if _var_ is global then
writetofile(huma...