
From:  edAqa mortoray 
Subject:  Re: Symbolic expand function doesn't always do anything 
Date:  Mon, 13 Sep 2004 21:15:54 +0200 
Useragent:  Mozilla Thunderbird 0.6 (X11/20040502) 
Benjamin Sapp wrote:
1. You can perform your example from ginsh in octave by surroundingeach exact number with quotes and vpa(). For example on my computer: octave:47> expand( (xvpa("1"))^vpa("3"))
I suspected as much it was a problem with not inretrepting the integers as integers, but I couldn't find any function that would give me an integer.
Okay, I'll try this, or the gino approach and see which is more cumbersome. My problem is obviously that I'm using a variable for the exponent x^k, but k is for sure an integer value.
 edAqa mortoray Idea Architect http://disemia.com/  Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html 
[Prev in Thread]  Current Thread  [Next in Thread] 