help-octave
[Top][All Lists]
Advanced

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

Re: Error installing the symbol package


From: Doug Stewart
Subject: Re: Error installing the symbol package
Date: Sat, 6 May 2017 11:48:21 -0400



On Sat, May 6, 2017 at 11:33 AM, Mike Miller <address@hidden> wrote:
On Sat, May 06, 2017 at 11:25:09 -0400, Doug Stewart wrote:
> I don't know how well the symbolic pkg works on windows.
>
> What vers. of windows do you have?
>
> do you have python installed?

The symbolic package works fine on Windows. The main problem is
installation, due to an ancient version of Perl bundled with the Windows
Octave distribution (Octave runs Texinfo on package installation,
Texinfo is written in Perl).

See https://savannah.gnu.org/bugs/?49839 and the patch I posted there
that can work around this problem (direct link:
https://savannah.gnu.org/bugs/download.php?file_id=39225).

--
mike

here is an example of solving eq.


clear
pkg load symbolic
syms a b x y y1 y2

eq1=y==a*x +b
eq2=y==2*a*x - b
[x1 y2]=solve(eq1,eq2,x,y)

aa=1
bb=1
xx=-3:.1:3;
yy1=aa*xx+bb;
plot(xx,yy1)
hold on 
yy2=2*aa*xx-bb;
plot(xx,yy2)
hold off


results in octave
eq1 = (sym) y = a⋅x + b
eq2 = (sym) y = 2⋅a⋅x - b
x1 = (sym)

  2⋅b
  ───
   a

y2 = (sym) 3⋅b




reply via email to

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