Community Profile

photo

Yue


Univ. of California

Actif depuis 2012

Statistiques

  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

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

presque 12 ans il y a | 3 réponses | 6

3

réponses

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 12 ans il y a | 2 réponses | 0

2

réponses

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 12 ans il y a | 1 réponse | 0

1

réponse