octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible
Date: Tue, 1 Feb 2022 00:47:31 -0500 (EST)

Follow-up Comment #1, bug #61968 (project octave):

One addendum for TWO argument call and non-integer exponents in Matlab
R2021a:


>> f = 2; e = [2, 2.1, 2.2, 2.4, 2.5, 2.8]; y1 = pow2(f,e), y2 = f.*2.^e
y1 = 8     8     8     8     8     8
y2 = 8.0000    8.5742    9.1896   10.5561   11.3137   13.9288



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61968>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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