help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave crashes everytime when executing matrix initialisation


From: avlas
Subject: Re: Octave crashes everytime when executing matrix initialisation
Date: Sun, 03 Jun 2018 09:30:58 -0400

El diumenge, 3 de juny de 2018, a les 7:23:13 EDT, Martin Sorch va escriure:

  Hello,
  unfortunately Octave crashes everytime when I enter the following command:
  Phi = [[1.995^-2 -1]; [1.985^-2 -1];[1.783^-2 -1;[1.064^-2 -1];[0.388^-2
  -1];[0.127^-2 -1];[0.0373^-2 -1];[0.0204^-2 -1];[0.0052^-2 -1]]
  
  Right after submitting this line nothing happens, the terminal seems to
  freeze. When pressing ctrl+c the program crashes. I suppose it should
  not behave like this.
  Kind Regards
  
  
There is "]" missing, try:


  Phi = [[1.995^-2 -1]; [1.985^-2 -1];[1.783^-2 -1];[1.064^-2 -1];[0.388^-2
  -1];[0.127^-2 -1];[0.0373^-2 -1];[0.0204^-2 -1];[0.0052^-2 -1]]

Ctrl+C crash is fixed in Octave 4.4 as far as I know. What version are you 
using?

....
a.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]