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

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

[Octave-bug-tracker] [bug #64555] corr produces input validation error w


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #64555] corr produces input validation error with two inputs having different number of columns
Date: Wed, 16 Aug 2023 09:41:04 -0400 (EDT)

Follow-up Comment #4, bug #64555 (project octave):

correction.  input error on my part. it seems changing the size to a row check
does fix the error. will run a few more checks to be sure.  



>> corr(rand(13,4),rand(13,1))
ans =

   0.2624
   0.2377
   0.2568
   0.1727

>> corr(rand(13,4),rand(13,2))
ans =

   0.712223   0.148490
  -0.401667  -0.400632
   0.068554   0.174803
  -0.262668  -0.220688




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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