photo

Noah Chrein


Actif depuis 2015

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Vectorizing a recursive for-loop
Hey, I need help vectorizing this for-loop. In general, I need help vectorizing a for-loop with a term that references it's prev...

plus de 9 ans il y a | 1 réponse | 1

1

réponse

Question


using find on each column of a matrix independently
Hello, I would like to use the find function on each row independently in a vectorized way. for example, I want to find the f...

plus de 9 ans il y a | 3 réponses | 0

3

réponses

Question


Take a lineout of a matrix, defined by a function
Let M be an m by n matrix, let f:(1:m)->(1:n) how can I create a vector that contains all the points that f hits? Example:...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


Manipulating cell arrays based on index
how can I manipulate the elements of an array of cells based on index? for a double array, I can just do this: >> j = zeros...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Question


Arrayfun with a function that takes multiple inputs
say I have an array that I want to run a function over each of its elements, I could easily do this with arrayfun(@f,v) where f ...

plus de 9 ans il y a | 4 réponses | 0

4

réponses

Question


access elements of a vector output in one line
say I have some function output = f(vars), and output is a vector. how can I, in one line, access elements of this vector? ex...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Question


Manipulating Matrix elements based on their index without using a for loop.
Can I do simple manipulations on each matrix element based on its index without having to run a for loop? for example, say I ...

plus de 9 ans il y a | 2 réponses | 0

2

réponses