public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Previously-functional Octave software routine now mysteriously failing - Please help!
@ 2023-07-17 21:27 Bryan VanSchouwen
  2023-07-17 21:43 ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan VanSchouwen @ 2023-07-17 21:27 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 1553 bytes --]

Hello.

I just tried performing a correlation matrix calculation with
Cygwin's Octave software (having successfully performed this calculation
previously on other similar data sets) using the following commands within
Cygwin:
*****(start of commands)*****
[vansc@LAPTOP-OHN2RCVM
~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$
octave
GNU Octave, version 5.2.0
Copyright (C) 2020 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-cygwin".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> load dm
octave:2> cdmt = cor(dm.')
octave:3> save dm.octave
*****(end of commands)*****


However, when I tried executing the "cdmt = cor(dm.')" command, I got the
following error message:
octave:2> cdmt = cor(dm.')
error: 'cor' undefined near line 1 column 8
octave:2>

For reference, I have attached a copy of the input "dm" matrix data file
that I was trying to use in the calculations within Octave (see attached
file).

Do you have any idea what is going on here, and if there is a way to fix it
(or work around it)??

[-- Attachment #2: dm --]
[-- Type: application/octet-stream, Size: 3410 bytes --]

30.6896 30.735 30.7686 30.7088 30.7552
32.1882 32.3436 32.4486 32.256 33.0056
31.7248 31.9414 32.143 31.7982 32.4742
31.3488 31.5806 31.7682 31.42 31.7172
31.2522 31.6938 32.069 31.4012 32.4352
29.8682 30.3588 30.699 30.0184 30.6506
32.1956 32.531 32.8064 32.2888 32.7522
30.6874 30.8482 30.6306 30.7824 30.9772
31.0672 31.0626 31.1094 31.0562 31.1564
30.4786 30.5312 30.5314 30.5224 30.3842
32.1936 32.2874 32.3704 32.2202 32.366
34.0392 34.034 33.9924 34.0372 34.0214
32.7012 32.6238 32.5464 32.6814 32.5584
30.8504 30.8962 31.028 30.8606 30.9776
30.6224 30.7178 30.8026 30.654 30.7602
30.9284 31.0252 31.1802 30.9554 31.1544
32.523 32.457 32.2682 32.482 32.1326
32.009 32.049 32.0754 32.0398 32.096
30.2386 30.4038 30.7254 30.2964 30.592
30.1228 29.9942 29.7254 30.1004 29.826
31.4254 31.5758 31.722 31.4612 31.7178
33.7368 33.8462 33.8856 33.7838 33.798
33.374 33.3938 33.361 33.3996 33.325
32.6114 32.5054 32.5066 32.5622 32.4574
33.1954 33.1552 33.1596 33.1526 33.1474
31.527 31.481 31.465 31.4614 31.4528
32.3668 32.3714 32.3698 32.3574 32.3502
33.7474 33.8658 33.8878 33.8636 33.8884
32.96 33.543 33.9168 33.4284 33.8514
33.0182 33.3166 33.4484 33.21 33.334
31.7316 31.5718 31.4658 31.6264 31.4944
32.2638 32.1572 32.046 32.154 32.019
28.8128 28.4396 28.6132 28.5346 28.8006
33.4956 33.349 33.5242 33.351 33.5902
32.1198 32.313 32.3872 32.234 32.3092
34.3476 34.5134 34.7158 34.3724 34.6492
33.6738 33.721 33.7278 33.6766 33.704
32.4758 32.5202 32.5508 32.5012 32.5386
31.0114 31.0674 31.0694 31.0518 31.0552
27.5352 27.4576 27.462 27.4728 27.4662
30.8462 30.7958 30.7458 30.8164 30.7434
32.895 32.8818 32.9108 32.8524 32.8636
33.3462 33.2484 33.2482 33.2578 33.2854
32.1654 31.9702 31.898 32 31.9746
32.9588 32.7796 32.841 32.8618 32.9148
35.4332 35.4368 35.4082 35.4686 35.4332
34.2348 34.3404 34.292 34.2734 34.255
30.401 30.3684 30.3476 30.3698 30.3648
31.6292 31.6152 31.5996 31.5966 31.591
32.8138 32.8246 32.85 32.8316 32.8502
33.5422 33.537 33.5576 33.5908 33.5868
34.1052 34.0966 34.1322 34.1386 34.1592
33.9214 33.7682 33.7828 33.6582 33.6448
29.1244 28.8812 28.7858 29.3486 29.3586
33.2312 33.3652 33.3636 33.5782 33.6116
31.472 31.517 31.497 31.5356 31.4914
32.08 32.1258 32.1734 32.1214 32.146
32.909 32.9974 32.9962 32.9346 32.9796
32.4708 32.3746 32.278 32.454 32.305
29.9338 30.0966 30.217 30.0232 30.19
31.041 30.941 30.9056 30.8954 30.8888
33.843 34.279 34.3076 34.2272 34.4398
30.1492 30.4244 30.9796 30.1502 30.8196
28.9084 28.9826 29.6242 28.8016 29.5234
31.6344 31.408 31.3608 31.4756 31.4946
31.9038 31.679 31.7558 31.6432 31.7282
34.5646 34.6488 34.7154 34.5608 34.6182
34.7248 34.715 34.7214 34.7082 34.696
34.3832 34.414 34.4218 34.4004 34.4034
32.3664 32.3858 32.3924 32.3786 32.3836
33.7988 33.761 33.7488 33.77 33.7612
33.346 33.4122 33.4556 33.401 33.4392
33.67 33.623 33.6258 33.6616 33.6448
34.061 34.042 34.1988 34.0246 34.1588
32.9424 33.3586 33.4378 33.1504 33.2566
32.9736 32.9424 32.745 32.907 32.844
32.509 32.5862 32.354 32.627 32.3496
31.421 31.136 30.603 31.3728 30.8298
31.3154 31.2522 31.1598 31.3332 31.237
30.1974 30.2334 29.6798 30.1996 29.969
29.4328 29.2312 28.6382 29.3878 29.1344
29.7144 29.5204 29.0654 29.6364 29.1662
31.9612 32.1182 32.0258 32.013 32.3024
31.9332 31.4396 31.0774 31.8504 31.4852
33.1528 33.159 33.1546 33.1754 33.2404
32.0066 32.0884 32.187 32.0226 32.0662
31.4934 31.5342 31.5834 31.507 31.541
33.114 33.134 33.1716 33.115 33.1394

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Previously-functional Octave software routine now mysteriously failing - Please help!
  2023-07-17 21:27 Previously-functional Octave software routine now mysteriously failing - Please help! Bryan VanSchouwen
@ 2023-07-17 21:43 ` Takashi Yano
  2023-07-18  3:30   ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Yano @ 2023-07-17 21:43 UTC (permalink / raw)
  To: cygwin; +Cc: Bryan VanSchouwen

On Mon, 17 Jul 2023 17:27:37 -0400
Bryan VanSchouwen wrote:
> Hello.
> 
> I just tried performing a correlation matrix calculation with
> Cygwin's Octave software (having successfully performed this calculation
> previously on other similar data sets) using the following commands within
> Cygwin:
> *****(start of commands)*****
> [vansc@LAPTOP-OHN2RCVM
> ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$
> octave
> GNU Octave, version 5.2.0
> Copyright (C) 2020 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.
> 
> Octave was configured for "x86_64-pc-cygwin".
> 
> Additional information about Octave is available at https://www.octave.org.
> 
> Please contribute if you find this software useful.
> For more information, visit https://www.octave.org/get-involved.html
> 
> Read https://www.octave.org/bugs.html to learn how to submit bug reports.
> For information about changes from previous versions, type 'news'.
> 
> octave:1> load dm
> octave:2> cdmt = cor(dm.')
> octave:3> save dm.octave
> *****(end of commands)*****
> 
> 
> However, when I tried executing the "cdmt = cor(dm.')" command, I got the
> following error message:
> octave:2> cdmt = cor(dm.')
> error: 'cor' undefined near line 1 column 8
> octave:2>
> 
> For reference, I have attached a copy of the input "dm" matrix data file
> that I was trying to use in the calculations within Octave (see attached
> file).
> 
> Do you have any idea what is going on here, and if there is a way to fix it
> (or work around it)??

I do not really understand what you want to do, but
corr() or corrcoef(), not cor()?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Previously-functional Octave software routine now mysteriously failing - Please help!
  2023-07-17 21:43 ` Takashi Yano
@ 2023-07-18  3:30   ` Brian Inglis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2023-07-18  3:30 UTC (permalink / raw)
  To: cygwin; +Cc: Bryan VanSchouwen

On 2023-07-17 15:43, Takashi Yano via Cygwin wrote:
> On Mon, 17 Jul 2023 17:27:37 -0400
> Bryan VanSchouwen wrote:
>> Hello.
>>
>> I just tried performing a correlation matrix calculation with
>> Cygwin's Octave software (having successfully performed this calculation
>> previously on other similar data sets) using the following commands within
>> Cygwin:
>> *****(start of commands)*****
>> [vansc@LAPTOP-OHN2RCVM
>> ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$
>> octave
>> GNU Octave, version 5.2.0
>> Copyright (C) 2020 John W. Eaton and others.
>> This is free software; see the source code for copying conditions.
>> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
>> FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.
>>
>> Octave was configured for "x86_64-pc-cygwin".
>>
>> Additional information about Octave is available at https://www.octave.org.
>>
>> Please contribute if you find this software useful.
>> For more information, visit https://www.octave.org/get-involved.html
>>
>> Read https://www.octave.org/bugs.html to learn how to submit bug reports.
>> For information about changes from previous versions, type 'news'.
>>
>> octave:1> load dm
>> octave:2> cdmt = cor(dm.')
>> octave:3> save dm.octave
>> *****(end of commands)*****
>>
>>
>> However, when I tried executing the "cdmt = cor(dm.')" command, I got the
>> following error message:
>> octave:2> cdmt = cor(dm.')
>> error: 'cor' undefined near line 1 column 8
>> octave:2>
>>
>> For reference, I have attached a copy of the input "dm" matrix data file
>> that I was trying to use in the calculations within Octave (see attached
>> file).
>>
>> Do you have any idea what is going on here, and if there is a way to fix it
>> (or work around it)??
> 
> I do not really understand what you want to do, but
> corr() or corrcoef(), not cor()?

Is the OP getting confused between cov() and corr()?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-18  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17 21:27 Previously-functional Octave software routine now mysteriously failing - Please help! Bryan VanSchouwen
2023-07-17 21:43 ` Takashi Yano
2023-07-18  3:30   ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).