Cody

yurenchu

68
Rank
15
Badges
8155
Score
51 – 100 of 2,670

yurenchu received ASEE Challenge Master badge

on 10 Nov 2017

yurenchu submitted a Comment to Problem 44400. 二つのベクトルの要素ごとの積の平均を計算しよう

That's not the correct definition of the concept of "weighted average". Instead, it's rather the average product of two data vectors x and w.

on 9 Nov 2017

yurenchu submitted a Comment to Solution 1328026

But in tests #7 and #8 too, the subscript index is neither a positive integer nor a logical value; so why does it not lead to the same subscript indexing error that invokes the 'catch' statement?

on 9 Nov 2017

yurenchu submitted a Comment to Solution 1328026

However, on closer inspection, I feel there's still something missing in the explanation. If it's merely a matter of failed/absent variable assignment to a comma-separated list, then why does this code still successfully enter into the catch statement in tests #3 and #6 (in which input x is a non-integer number)?

on 8 Nov 2017

yurenchu submitted a Comment to Solution 1328026

Thanks, Peng Liu, for your concise explanation! It greatly helps in improving my understanding of cell variables/comma-separated lists as well as the try-catch function and error handling, which are topics that I still find quite complicated; but your comment explains it very clearly and easily! :-)

on 8 Nov 2017

yurenchu liked Problem 44374. Tautology

on 7 Nov 2017

yurenchu liked Solution 1329554

on 7 Nov 2017

51 – 100 of 2,670