[Scilab-users] Xcos Scilab 6.0.1

2018-06-10 Thread André FS
Hello guys.

I am building a model in Xcos (Scilab 6.0.1) and I am facing some problems
that I am not sure if they are bugs or misuse from my side.

* When a select a piece of the model and turn it to a superblock (right
click -> selection to superblock), after playing the simulation I got a
message error on console which says "invalid index". Then I realized that
all the edges (lines) linking the blocks were like "doubled". Deleting all
of them and redoing the links made it work well;

* The block *Expression* from the pallette "user defined functions"
requires that I create dummy variables u1, u2, u3, ... on my context of
variables. I thought it would be unecessary.

--
André Ferreira da Silva
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Coding for a 3D Klein Bottle

2018-06-10 Thread Lester Anderson
Thanks Samual! This is all good learning practice. Cheers, Lester

On 12:19, Sun, 10 Jun 2018 Samuel Gougeon,  wrote:

> Hello Lester,
>
> The code was just missing many dots (* => .*, ^ = .^), to make operators
> working in an elementwise way (see attachement).
> Fixing that makes the expected picture:
>
> This could make a nice demo, in the *Graphics => More surfaces*  section.
>
> Regards
> Samuel
>
>
> Le 10/06/2018 à 12:51, Lester Anderson a écrit :
>
> Hello all,
>
> I have been testing the latest version of Scilab (6.0.1) and have been
> looking at data visualisation of non-orientatable surfaces (e.g. Moebius,
> Klein Bottle etc.).
>
> The Moebius strip was not hard to figure out, but I am having issues with
> the Klein Bottle.I have attched the code as is so far, uses the parametric
> equations from https://en.wikipedia.org/wiki/Klein_bottle, for the 3D
> immersion of the bottle.
>
> As a test, I used the old software Derive 6 to run the equations and it
> plots the bottle as correct. If anyone has pointers on this code that would
> be helpful.
>
> Still learning Scilab!
>
> Thanks
> Lester
>
>
> ___
> users mailing 
> listusers@lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users
>
>
> ___
> 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


Re: [Scilab-users] Coding for a 3D Klein Bottle

2018-06-10 Thread Samuel Gougeon

Hello Lester,

The code was just missing many dots (* => .*, ^ = .^), to make operators 
working in an elementwise way (see attachement).

Fixing that makes the expected picture:

This could make a nice demo, in the /Graphics => More surfaces/  section.

Regards
Samuel


Le 10/06/2018 à 12:51, Lester Anderson a écrit :

Hello all,

I have been testing the latest version of Scilab (6.0.1) and have been 
looking at data visualisation of non-orientatable surfaces (e.g. 
Moebius, Klein Bottle etc.).


The Moebius strip was not hard to figure out, but I am having issues 
with the Klein Bottle.I have attched the code as is so far, uses the 
parametric equations from https://en.wikipedia.org/wiki/Klein_bottle, 
for the 3D immersion of the bottle.


As a test, I used the old software Derive 6 to run the equations and 
it plots the bottle as correct. If anyone has pointers on this code 
that would be helpful.


Still learning Scilab!

Thanks
Lester


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users





Klein.sce
Description: application/scilab-sce
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Coding for a 3D Klein Bottle

2018-06-10 Thread Lester Anderson
Hello all,

I have been testing the latest version of Scilab (6.0.1) and have been
looking at data visualisation of non-orientatable surfaces (e.g. Moebius,
Klein Bottle etc.).

The Moebius strip was not hard to figure out, but I am having issues with
the Klein Bottle.I have attched the code as is so far, uses the parametric
equations from https://en.wikipedia.org/wiki/Klein_bottle, for the 3D
immersion of the bottle.

As a test, I used the old software Derive 6 to run the equations and it
plots the bottle as correct. If anyone has pointers on this code that would
be helpful.

Still learning Scilab!

Thanks
Lester


Klein.sce
Description: Binary data
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users