Community Profile

photo

Yue


Univ. of California

2012 年からアクティブ

統計

  • Thankful Level 1

バッジを表示

Content Feed

表示方法

質問


Getting first element of a function output
Hi everyone, I am trying to get the value of the first element of an output of a function. For example, The output of my fun...

12年弱 前 | 3 件の回答 | 6

3

回答

質問


Add each row in a matrix with corresponding element in a vector?
Hi, I have a matrix, say M = [ 1 1; 2 2; 3 3] and a vector V = [1;2;3], where V(1) adds to M(1,:) and V(2) adds to M(2,:), et...

約12年 前 | 2 件の回答 | 0

2

回答

質問


Would passing value to functions be fater than using global variable?
I have a data set *D* of around 5000 data cases. I need to write a iterative function which reads D each iteration (No changes w...

約12年 前 | 1 件の回答 | 0

1

回答