|
From: | pcsnow |
Subject: | How to do a negative exponent |
Date: | Tue, 14 Jul 2015 13:33:43 -0700 (PDT) |
x=sym(x) octave:2> f = ((e^x + e^-x)/2)^2 - ((e^x - e^-x)/2)^2 error: subscript indices must be either positive integers or logicals I think I understand the error msg but is there a good way around a negative exponent ? -- View this message in context: http://octave.1599824.n4.nabble.com/How-to-do-a-negative-exponent-tp4671648.html Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |