Rocketshiporion ♫ 09:15, 17 March 2011 (UTC) Reply Rocketshiporion ♫ 08:54, 17 March 2011 (UTC) Reply I figured it out myself - I have to use format long. ![]() How do I get it to display the numbers in full? Thanks again. ^ notation worked, but now it outputs the fifty numbers in the format from 2.0000e+000 to 2.8147e+014. Nimur ( talk) 07:01, 17 March 2011 (UTC) Reply Thanks - the. More information on this at the Octave Manual - Arithmetic Operations section or this Octave Info Page on operators syntax, from Freie Universität Berlin. Octave uses vector syntax to make element-wise operations explicitly different than vector-operations. ^ notation, which performs element-wise exponentiation. However, the manual tells ^ means exponentiation, so no clue from there. ![]() Well, since exponentiation doesn't require A to be square ^ must mean something different. Rocketshiporion ♫ 01:43, 17 March 2011 (UTC) Reply What am I doing incorrectly, and how do I fix it? Thanks. ![]() I tried using the following codeīut I keep getting the error message error: for x^A, A must be square. I'm new to Octave, and I'm trying to calculate powers of two from 1 to 50.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |