help-octave
[Top][All Lists]
 It seems to be ok when I use the "source" command (tested on linux). >>> cd "/home/beilin/progs/Octave/geodesie_physique/td_altitudes2/corrige" >>> exercice_alti error: `exercice_alti' undefined near line 31 column 1 >>> dir . .. exercice_alti.m >>> source ("exercice_alti.m") 1. Calculer les cotes geopotentielles de A1 et B1 en SI et en UGP. g_C = 9.83064300 m.s-2 cote geopotentielle en C C_C = 4915.707 m2.s-2 C_C = 491.571 UGP C_D = 4915.707 m2.s-2 C_D = 491.571 UGP 2. Calculer la distance BD. C_D-C_B=0.5*(g_B+g_D)*DN or g_D=g_B + dgdH * DN d'ou C_D-C_B = 0.5 * (g_B + g_B + dgdH * DN) * DN dgdH * DN^2 + 2*g_B * DN - 2 * (C_D-C_B)= 0 discriminant : delta = 95.624 Racines : x1 = 6.3380e+06 x2 = 502.65 Dn_BD = 502.652 m >>> exercice_alti error: `exercice_alti' undefined near line 36 column 1 >>> source ("exercice_alti.m") 1. Calculer les cotes geopotentielles de A1 et B1 en SI et en UGP. g_C = 9.83064300 m.s-2 cote geopotentielle en C C_C = 4915.707 m2.s-2 C_C = 491.571 UGP C_D = 4915.707 m2.s-2 C_D = 491.571 UGP 2. Calculer la distance BD. C_D-C_B=0.5*(g_B+g_D)*DN or g_D=g_B + dgdH * DN d'ou C_D-C_B = 0.5 * (g_B + g_B + dgdH * DN) * DN dgdH * DN^2 + 2*g_B * DN - 2 * (C_D-C_B)= 0 discriminant : delta = 95.624 Racines : x1 = 6.3380e+06 x2 = 502.65 Dn_BD = 502.652 m >>> Le 31/08/2010 17:35, John W. Eaton a écrit : ```On 31-Aug-2010, jacques.beilin wrote: | I made two installations on 2 computers , one with oct2mat and the second | without. On the first one I had to apply the command described in the wiki ( | pkg rebuild -noauto oct2mat). After running this command, the plot function | could run correctly. OK. When you are using Octave, you should not have the functions from the oct2mat package that override functions already provided by Octave. Are the above results without oct2mat loaded or installed? What is in the gps_ptiso_52 file? ``` It is the script which calls several functions in order the estimate point coordinates from GPS C/A code observations. ```Does it work if you do source ("gps_ptiso_52.m") ? jwe ``` Jacques ``` ```