Matlab lists
Dec. 1st, 2008 07:13 pmTo implement a cross-validation function, I want to partition my set of data points.
Since the number may not divide evenly, I can't simply turn the vector into a matrix.
Strangely enough, it seems I never needed lists in Matlab before.
Since the number may not divide evenly, I can't simply turn the vector into a matrix.
Strangely enough, it seems I never needed lists in Matlab before.
(no subject)
Date: 2008-12-02 03:28 am (UTC)(no subject)
Date: 2008-12-02 05:25 am (UTC)Would you know of a shorter way to write:
[sum(mses{1}),sum(mses{2}),sum(mses{3}),sum(mses{4}),sum(mses{5})]
? (Note the curly brackets!)
(no subject)
Date: 2008-12-02 05:32 am (UTC)But even then, the only ways I know of finding the column sums of a matrix seem kinda awkward.
(no subject)
Date: 2008-12-02 05:39 am (UTC)