Community Profile

photo

Yue


Univ. of California

3 total contributions since 2012

Contact

Yue's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


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...

environ 9 ans ago | 2 answers | 4

2

answers

Question


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...

environ 9 ans ago | 2 answers | 0

2

answers

Question


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...

environ 9 ans ago | 1 answer | 0

1

answer