[Scilab-users] Scliab 6.0.x compilation problem (jogl2)

classic Classic list List threaded Threaded
12 messages Options
Emmanuel Delaleau Emmanuel Delaleau
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Scliab 6.0.x compilation problem (jogl2)

I am trying to compile a Scilab 6.0.0 or 6.0.1 under GNU/Linux (Debian
9) and I obtain a message that I cannot solve:

The message is:

checking jogl2... no
configure: error: Could not find or use the Java package/jar jogl2 used
by Scilab 3D rendering - Version 2.0 (looking for package
javax.media.opengl.glu.GLUnurbs)

However I have packages related to jogl installed :

sudo apt install libjogl2-java libjogl2-java-doc libjogl2-jni
libjogl2-toolkits

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libjogl2-java is already the newest version (2.3.2+dfsg-5).
libjogl2-java-doc is already the newest version (2.3.2+dfsg-5).
libjogl2-jni is already the newest version (2.3.2+dfsg-5).
libjogl2-toolkits is already the newest version (2.3.2+dfsg-5).

What could I do ? Thank

Emmanuel

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
M. Nomiya M. Nomiya
Reply | Threaded
Open this post in threaded view
|

Re: Scliab 6.0.x compilation problem (jogl2)

Hello,

In the Message;

  Subject    : [Scilab-users] Scliab 6.0.x compilation problem (jogl2)
  Message-ID : <[hidden email]>
  Date & Time: Sun, 29 Apr 2018 18:37:36 +0200

[ED] == Emmanuel Delaleau <[hidden email]> has written:

ED>  I am trying to compile a Scilab 6.0.0 or 6.0.1 under GNU/Linux (Debian 9) and I
ED>  obtain a message that I cannot solve:

ED>  The message is:

ED>  checking jogl2... no
ED>  configure: error: Could not find or use the Java package/jar jogl2 used by
ED>  Scilab 3D rendering - Version 2.0 (looking for package
ED>  javax.media.opengl.glu.GLUnurbs)

ED>  However I have packages related to jogl installed :

ED>  sudo apt install libjogl2-java libjogl2-java-doc libjogl2-jni libjogl2-toolkits

ED>  Lecture des listes de paquets... Fait
ED>  Construction de l'arbre des dépendances
ED>  Lecture des informations d'état... Fait
ED>  libjogl2-java is already the newest version (2.3.2+dfsg-5).
ED>  libjogl2-java-doc is already the newest version (2.3.2+dfsg-5).
ED>  libjogl2-jni is already the newest version (2.3.2+dfsg-5).
ED>  libjogl2-toolkits is already the newest version (2.3.2+dfsg-5).

ED>  What could I do ? Thank

Could you show the result, like this;

$ rpm -ql jogl2-2.3.1-5.25

/usr/lib64/java/jogl2.jar
/usr/lib64/jogl2
/usr/lib64/jogl2/jogl2.jar
/usr/lib64/jogl2/libjogl_cg.so
/usr/lib64/jogl2/libjogl_desktop.so
/usr/lib64/jogl2/libjogl_mobile.so
/usr/lib64/jogl2/libnativewindow_awt.so
/usr/lib64/jogl2/libnativewindow_x11.so
/usr/lib64/jogl2/libnewt.so
/usr/share/doc/packages/jogl2
/usr/share/doc/packages/jogl2/CHANGELOG.txt
/usr/share/doc/packages/jogl2/LICENSE.txt
/usr/share/doc/packages/jogl2/README.txt

and

$ rpm -ql gluegen2-2.3.1-9.24

/usr/lib64/java/gluegen2-rt-natives.jar
/usr/lib64/libgluegen2-rt.so
/usr/share/doc/packages/gluegen2
/usr/share/doc/packages/gluegen2/LICENSE.txt
/usr/share/java/gluegen2-rt.jar

Regards,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Emmanuel Delaleau Emmanuel Delaleau
Reply | Threaded
Open this post in threaded view
|

Re: Scliab 6.0.x compilation problem (jogl2)

Dear Masaru Nomiya, thank you for your response. See result below (I am
under Debian and I use dpkg instead of rpm) :


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

delaleau@ed-lapt:~$ dpkg -L libjogl2-java
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libjogl2-java
/usr/share/doc/libjogl2-java/README.Debian
/usr/share/doc/libjogl2-java/changelog.Debian.gz
/usr/share/doc/libjogl2-java/changelog.gz
/usr/share/doc/libjogl2-java/copyright
/usr/share/java
/usr/share/java/jogl2-2.3.2.jar
/usr/share/maven-repo
/usr/share/maven-repo/org
/usr/share/maven-repo/org/jogamp
/usr/share/maven-repo/org/jogamp/jogl
/usr/share/maven-repo/org/jogamp/jogl/jogl-all
/usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2
/usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.pom
/usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian
/usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.pom
/usr/share/java/jogl2.jar
/usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.jar
/usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.jar

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

delaleau@ed-lapt:~$ dpkg -L libgluegen2-rt-java
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libgluegen2-rt-java
/usr/share/doc/libgluegen2-rt-java/changelog.Debian.gz
/usr/share/doc/libgluegen2-rt-java/copyright
/usr/share/java
/usr/share/java/gluegen2-rt-2.3.2.jar
/usr/share/maven-repo
/usr/share/maven-repo/org
/usr/share/maven-repo/org/jogamp
/usr/share/maven-repo/org/jogamp/gluegen
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.pom
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.pom
/usr/share/java/gluegen2-rt.jar
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar
/usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.jar

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Le 30/04/2018 à 04:38, Masaru Nomiya a écrit :

> Hello,
>
> In the Message;
>
>    Subject    : [Scilab-users] Scliab 6.0.x compilation problem (jogl2)
>    Message-ID : <[hidden email]>
>    Date & Time: Sun, 29 Apr 2018 18:37:36 +0200
>
> [ED] == Emmanuel Delaleau <[hidden email]> has written:
>
> ED>  I am trying to compile a Scilab 6.0.0 or 6.0.1 under GNU/Linux (Debian 9) and I
> ED>  obtain a message that I cannot solve:
>
> ED>  The message is:
>
> ED>  checking jogl2... no
> ED>  configure: error: Could not find or use the Java package/jar jogl2 used by
> ED>  Scilab 3D rendering - Version 2.0 (looking for package
> ED>  javax.media.opengl.glu.GLUnurbs)
>
> ED>  However I have packages related to jogl installed :
>
> ED>  sudo apt install libjogl2-java libjogl2-java-doc libjogl2-jni libjogl2-toolkits
>
> ED>  Lecture des listes de paquets... Fait
> ED>  Construction de l'arbre des dépendances
> ED>  Lecture des informations d'état... Fait
> ED>  libjogl2-java is already the newest version (2.3.2+dfsg-5).
> ED>  libjogl2-java-doc is already the newest version (2.3.2+dfsg-5).
> ED>  libjogl2-jni is already the newest version (2.3.2+dfsg-5).
> ED>  libjogl2-toolkits is already the newest version (2.3.2+dfsg-5).
>
> ED>  What could I do ? Thank
>
> Could you show the result, like this;
>
> $ rpm -ql jogl2-2.3.1-5.25
>
> /usr/lib64/java/jogl2.jar
> /usr/lib64/jogl2
> /usr/lib64/jogl2/jogl2.jar
> /usr/lib64/jogl2/libjogl_cg.so
> /usr/lib64/jogl2/libjogl_desktop.so
> /usr/lib64/jogl2/libjogl_mobile.so
> /usr/lib64/jogl2/libnativewindow_awt.so
> /usr/lib64/jogl2/libnativewindow_x11.so
> /usr/lib64/jogl2/libnewt.so
> /usr/share/doc/packages/jogl2
> /usr/share/doc/packages/jogl2/CHANGELOG.txt
> /usr/share/doc/packages/jogl2/LICENSE.txt
> /usr/share/doc/packages/jogl2/README.txt
>
> and
>
> $ rpm -ql gluegen2-2.3.1-9.24
>
> /usr/lib64/java/gluegen2-rt-natives.jar
> /usr/lib64/libgluegen2-rt.so
> /usr/share/doc/packages/gluegen2
> /usr/share/doc/packages/gluegen2/LICENSE.txt
> /usr/share/java/gluegen2-rt.jar
>
> Regards,
>
> ---
> ┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
> ┃\/彡
> ┗━━┛ "Bill! You married with Computers.
>            Not with Me!"
>           "No..., with money."
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
M. Nomiya M. Nomiya
Reply | Threaded
Open this post in threaded view
|

Re: Scliab 6.0.x compilation problem (jogl2)

Hello,

In the Message;

  Subject    : Re: [Scilab-users] Scliab 6.0.x compilation problem (jogl2)
  Message-ID : <[hidden email]>
  Date & Time: Mon, 30 Apr 2018 10:16:55 +0200

[ED] == Emmanuel Delaleau <[hidden email]> has written:

ED>  Dear Masaru Nomiya, thank you for your response. See result below (I am under
ED>  Debian and I use dpkg instead of rpm) :

ED>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ED>  delaleau@ed-lapt:~$ dpkg -L libjogl2-java
ED>  /.
ED>  /usr
ED>  /usr/share
ED>  /usr/share/doc
ED>  /usr/share/doc/libjogl2-java
ED>  /usr/share/doc/libjogl2-java/README.Debian
ED>  /usr/share/doc/libjogl2-java/changelog.Debian.gz
ED>  /usr/share/doc/libjogl2-java/changelog.gz
ED>  /usr/share/doc/libjogl2-java/copyright
ED>  /usr/share/java
ED>  /usr/share/java/jogl2-2.3.2.jar
ED>  /usr/share/maven-repo
ED>  /usr/share/maven-repo/org
ED>  /usr/share/maven-repo/org/jogamp
ED>  /usr/share/maven-repo/org/jogamp/jogl
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.pom
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.pom
ED>  /usr/share/java/jogl2.jar
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.jar
ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.jar

ED>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ED>  delaleau@ed-lapt:~$ dpkg -L libgluegen2-rt-java
ED>  /.
ED>  /usr
ED>  /usr/share
ED>  /usr/share/doc
ED>  /usr/share/doc/libgluegen2-rt-java
ED>  /usr/share/doc/libgluegen2-rt-java/changelog.Debian.gz
ED>  /usr/share/doc/libgluegen2-rt-java/copyright
ED>  /usr/share/java
ED>  /usr/share/java/gluegen2-rt-2.3.2.jar
ED>  /usr/share/maven-repo
ED>  /usr/share/maven-repo/org
ED>  /usr/share/maven-repo/org/jogamp
ED>  /usr/share/maven-repo/org/jogamp/gluegen
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.pom
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.pom
ED>  /usr/share/java/gluegen2-rt.jar
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar
ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.jar

As you might know, gulegen2 and jogl2 ara key factors for building
scilab 6.0.x.

You don't have gluegen2-rt.so, do you?

This is strange. Without gluegen2-rt.so, you can't compile scilab.

Another problem. Do as follows;

# mkdir /usr/lib64/java
# ln -s /usr/share/java/jogl2.jar /usr/lib64/java

Regards,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Emmanuel Delaleau Emmanuel Delaleau
Reply | Threaded
Open this post in threaded view
|

Re: Scliab 6.0.x compilation problem (jogl2)

I have all jogl2 and gluegen2 packages included in Debian/stable
installed and still the same error message.



Le 30/04/2018 à 13:22, Masaru Nomiya a écrit :

> Hello,
>
> In the Message;
>
>    Subject    : Re: [Scilab-users] Scliab 6.0.x compilation problem (jogl2)
>    Message-ID : <[hidden email]>
>    Date & Time: Mon, 30 Apr 2018 10:16:55 +0200
>
> [ED] == Emmanuel Delaleau <[hidden email]> has written:
>
> ED>  Dear Masaru Nomiya, thank you for your response. See result below (I am under
> ED>  Debian and I use dpkg instead of rpm) :
>
> ED>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> ED>  delaleau@ed-lapt:~$ dpkg -L libjogl2-java
> ED>  /.
> ED>  /usr
> ED>  /usr/share
> ED>  /usr/share/doc
> ED>  /usr/share/doc/libjogl2-java
> ED>  /usr/share/doc/libjogl2-java/README.Debian
> ED>  /usr/share/doc/libjogl2-java/changelog.Debian.gz
> ED>  /usr/share/doc/libjogl2-java/changelog.gz
> ED>  /usr/share/doc/libjogl2-java/copyright
> ED>  /usr/share/java
> ED>  /usr/share/java/jogl2-2.3.2.jar
> ED>  /usr/share/maven-repo
> ED>  /usr/share/maven-repo/org
> ED>  /usr/share/maven-repo/org/jogamp
> ED>  /usr/share/maven-repo/org/jogamp/jogl
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.pom
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.pom
> ED>  /usr/share/java/jogl2.jar
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.jar
> ED>  /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.jar
>
> ED>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> ED>  delaleau@ed-lapt:~$ dpkg -L libgluegen2-rt-java
> ED>  /.
> ED>  /usr
> ED>  /usr/share
> ED>  /usr/share/doc
> ED>  /usr/share/doc/libgluegen2-rt-java
> ED>  /usr/share/doc/libgluegen2-rt-java/changelog.Debian.gz
> ED>  /usr/share/doc/libgluegen2-rt-java/copyright
> ED>  /usr/share/java
> ED>  /usr/share/java/gluegen2-rt-2.3.2.jar
> ED>  /usr/share/maven-repo
> ED>  /usr/share/maven-repo/org
> ED>  /usr/share/maven-repo/org/jogamp
> ED>  /usr/share/maven-repo/org/jogamp/gluegen
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.pom
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.pom
> ED>  /usr/share/java/gluegen2-rt.jar
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar
> ED>  /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.jar
>
> As you might know, gulegen2 and jogl2 ara key factors for building
> scilab 6.0.x.
>
> You don't have gluegen2-rt.so, do you?
>
> This is strange. Without gluegen2-rt.so, you can't compile scilab.
>
> Another problem. Do as follows;
>
> # mkdir /usr/lib64/java
> # ln -s /usr/share/java/jogl2.jar /usr/lib64/java
>
> Regards,
>
> ---
> ┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
> ┃\/彡
> ┗━━┛ "Bill! You married with Computers.
>            Not with Me!"
>           "No..., with money."
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

Friends:

urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.

Uncorrelated is easy with
vc*((-log(grand(1,5,"def"))).^(1/m)) producing
0.9666848   1.4646143   10.402793   5.9513675   3.3241823
with characteristic velocity vc=7 and modulus m=2.

But I need Weibull deviates with given autocorrelation, say rho=0.80

Literature has dozen of references on the subject which either do not work or I do not know how to code.

Any help here?
Heinz
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

Re: needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

Uniform U(0,1) random deviates with given autocorrelation would be good enough…...


> On 03.05.2018, at 10:57, Heinz Nabielek <[hidden email]> wrote:
>
> Friends:
>
> urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.
>
> Uncorrelated is easy with
> vc*((-log(grand(1,5,"def"))).^(1/m)) producing
> 0.9666848   1.4646143   10.402793   5.9513675   3.3241823
> with characteristic velocity vc=7 and modulus m=2.
>
> But I need Weibull deviates with given autocorrelation, say rho=0.80
>
> Literature has dozen of references on the subject which either do not work or I do not know how to code.
>
> Any help here?
> Heinz

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

Why don't start with a simple autoregressive process ? See e.g.

https://en.wikipedia.org/wiki/Autoregressive_model


Le 03/05/2018 à 11:15, Heinz Nabielek a écrit :

> Uniform U(0,1) random deviates with given autocorrelation would be good enough…...
>
>
>> On 03.05.2018, at 10:57, Heinz Nabielek <[hidden email]> wrote:
>>
>> Friends:
>>
>> urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.
>>
>> Uncorrelated is easy with
>> vc*((-log(grand(1,5,"def"))).^(1/m)) producing
>> 0.9666848   1.4646143   10.402793   5.9513675   3.3241823
>> with characteristic velocity vc=7 and modulus m=2.
>>
>> But I need Weibull deviates with given autocorrelation, say rho=0.80
>>
>> Literature has dozen of references on the subject which either do not work or I do not know how to code.
>>
>> Any help here?
>> Heinz
> _______________________________________________
> users mailing list
> [hidden email]
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

Re: needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

Many thanks. <https://en.wikipedia.org/wiki/Autoregressive_model#Example:_An_AR(1)_process> works fine on an originating normal distribution [where i would not need it, because we have grand(n, "mn", Mean, Cov) in SciLab].

With an initiating U(-0.5, 0,5), however, I get a triangle function, but not a autocorrelated uniform random distribution.

What to do?
Heinz




> On 03.05.2018, at 11:37, Stéphane Mottelet <[hidden email]> wrote:
>
> Why don't start with a simple autoregressive process ? See e.g.
>
> https://en.wikipedia.org/wiki/Autoregressive_model
>
>
> Le 03/05/2018 à 11:15, Heinz Nabielek a écrit :
>> Uniform U(0,1) random deviates with given autocorrelation would be good enough…...
>>
>>
>>> On 03.05.2018, at 10:57, Heinz Nabielek <[hidden email]> wrote:
>>>
>>> Friends:
>>>
>>> urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.
>>>
>>> Uncorrelated is easy with
>>> vc*((-log(grand(1,5,"def"))).^(1/m)) producing
>>> 0.9666848   1.4646143   10.402793   5.9513675   3.3241823
>>> with characteristic velocity vc=7 and modulus m=2.
>>>
>>> But I need Weibull deviates with given autocorrelation, say rho=0.80
>>>
>>> Literature has dozen of references on the subject which either do not work or I do not know how to code.
>>>
>>> Any help here?
>>> Heinz

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

Le 03/05/2018 à 15:49, Heinz Nabielek a écrit :
> Many thanks. <https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/en.wikipedia.org/wiki/Autoregressive_model#Example:_An_AR(1)_process> works fine on an originating normal distribution [where i would not need it, because we have grand(n, "mn", Mean, Cov) in SciLab].
grand(n, "mn", Mean, Cov) allows to generate realizations of a
multi-normal variable, i.e. covariance matrix describes the covariance
between each component  of the (vector) variable.

AR processes are different stuff (random process <> random variable).
For an AR process the non-idependance is w.r.t. to time (discrete or
continuous)

Your wind data is a random process.
> With an initiating U(-0.5, 0,5), however, I get a triangle function, but not a autocorrelated uniform random distribution.
what do you mean by " autocorrelated uniform random distribution" ? Here
your triangle is just the distribution of a sum of two uniform vraiables.

S.

> What to do?
> Heinz
>
>
>
>
>> On 03.05.2018, at 11:37, Stéphane Mottelet <[hidden email]> wrote:
>>
>> Why don't start with a simple autoregressive process ? See e.g.
>>
>> https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/en.wikipedia.org/wiki/Autoregressive_model
>>
>>
>> Le 03/05/2018 à 11:15, Heinz Nabielek a écrit :
>>> Uniform U(0,1) random deviates with given autocorrelation would be good enough…...
>>>
>>>
>>>> On 03.05.2018, at 10:57, Heinz Nabielek <[hidden email]> wrote:
>>>>
>>>> Friends:
>>>>
>>>> urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.
>>>>
>>>> Uncorrelated is easy with
>>>> vc*((-log(grand(1,5,"def"))).^(1/m)) producing
>>>> 0.9666848   1.4646143   10.402793   5.9513675   3.3241823
>>>> with characteristic velocity vc=7 and modulus m=2.
>>>>
>>>> But I need Weibull deviates with given autocorrelation, say rho=0.80
>>>>
>>>> Literature has dozen of references on the subject which either do not work or I do not know how to code.
>>>>
>>>> Any help here?
>>>> Heinz
> _______________________________________________
> users mailing list
> [hidden email]
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

In reply to this post by Heinz Nabielek-3
Le 03/05/2018 à 15:49, Heinz Nabielek a écrit :
> Many thanks. <https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/en.wikipedia.org/wiki/Autoregressive_model#Example:_An_AR(1)_process> works fine on an originating normal distribution [where i would not need it, because we have grand(n, "mn", Mean, Cov) in SciLab].
grand(n, "mn", Mean, Cov) allows to generate realizations of a
multi-normal variable, i.e. covariance matrix describes the covariance
between each component  of the (vector) variable.

AR processes are different stuff (random process <> random variable).
For an AR process the non-idependance is w.r.t. to time (discrete or
continuous)

Your wind data is a random process.
> With an initiating U(-0.5, 0,5), however, I get a triangle function, but not a autocorrelated uniform random distribution.
what do you mean by " autocorrelated uniform random distribution" ? Here
your triangle is just the distribution of a sum of two uniform variables.

S.

> What to do?
> Heinz
>
>
>
>
>> On 03.05.2018, at 11:37, Stéphane Mottelet <[hidden email]> wrote:
>>
>> Why don't start with a simple autoregressive process ? See e.g.
>>
>> https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/en.wikipedia.org/wiki/Autoregressive_model
>>
>>
>> Le 03/05/2018 à 11:15, Heinz Nabielek a écrit :
>>> Uniform U(0,1) random deviates with given autocorrelation would be good enough…...
>>>
>>>
>>>> On 03.05.2018, at 10:57, Heinz Nabielek <[hidden email]> wrote:
>>>>
>>>> Friends:
>>>>
>>>> urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.
>>>>
>>>> Uncorrelated is easy with
>>>> vc*((-log(grand(1,5,"def"))).^(1/m)) producing
>>>> 0.9666848   1.4646143   10.402793   5.9513675   3.3241823
>>>> with characteristic velocity vc=7 and modulus m=2.
>>>>
>>>> But I need Weibull deviates with given autocorrelation, say rho=0.80
>>>>
>>>> Literature has dozen of references on the subject which either do not work or I do not know how to code.
>>>>
>>>> Any help here?
>>>> Heinz
> _______________________________________________
> users mailing list
> [hidden email]
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

Re: needed: SciLab routine for generating Weibull random variables with prior given autocorrelation

In reply to this post by mottelet
thanks.

but still: how construct autocorrelated uniform randoms?

Sent from Heinz Nabielek

> On 03 May 2018, at 17:40, Stéphane Mottelet <[hidden email]> wrote:
>
>> Le 03/05/2018 à 15:49, Heinz Nabielek a écrit :
>> Many thanks. <https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/en.wikipedia.org/wiki/Autoregressive_model#Example:_An_AR(1)_process> works fine on an originating normal distribution [where i would not need it, because we have grand(n, "mn", Mean, Cov) in SciLab].
> grand(n, "mn", Mean, Cov) allows to generate realizations of a multi-normal variable, i.e. covariance matrix describes the covariance between each component  of the (vector) variable.
>
> AR processes are different stuff (random process <> random variable). For an AR process the non-idependance is w.r.t. to time (discrete or continuous)
>
> Your wind data is a random process.
>> With an initiating U(-0.5, 0,5), however, I get a triangle function, but not a autocorrelated uniform random distribution.
> what do you mean by " autocorrelated uniform random distribution" ? Here your triangle is just the distribution of a sum of two uniform vraiables.
>
> S.
>> What to do?
>> Heinz
>>
>>
>>
>>
>>> On 03.05.2018, at 11:37, Stéphane Mottelet <[hidden email]> wrote:
>>>
>>> Why don't start with a simple autoregressive process ? See e.g.
>>>
>>> https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/en.wikipedia.org/wiki/Autoregressive_model
>>>
>>>
>>>> Le 03/05/2018 à 11:15, Heinz Nabielek a écrit :
>>>> Uniform U(0,1) random deviates with given autocorrelation would be good enough…...
>>>>
>>>>
>>>>> On 03.05.2018, at 10:57, Heinz Nabielek <[hidden email]> wrote:
>>>>>
>>>>> Friends:
>>>>>
>>>>> urgently needed: a SciLab routine for generating Weibull random variables with prior given autocorrelation.
>>>>>
>>>>> Uncorrelated is easy with
>>>>> vc*((-log(grand(1,5,"def"))).^(1/m)) producing
>>>>> 0.9666848   1.4646143   10.402793   5.9513675   3.3241823
>>>>> with characteristic velocity vc=7 and modulus m=2.
>>>>>
>>>>> But I need Weibull deviates with given autocorrelation, say rho=0.80
>>>>>
>>>>> Literature has dozen of references on the subject which either do not work or I do not know how to code.
>>>>>
>>>>> Any help here?
>>>>> Heinz
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users