Community Profile

photo

Alec Poulin


7 total contributions since 2018

Alec Poulin's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


Vectorize many matrix multiplications using the third dimension
I have collections of matrices, say two collections A and B of n matrices each, implemented as cell arrays. I would like to prod...

3 months ago | 1 answer | 0

1

answer

Question


chop doesn't chop very small numbers
I have a small number, say |1e-14|, and I want to chop it to three decimals. In this case, it should give 0. Yet: >> chop(1...

10 months ago | 1 answer | 0

1

answer

Question


Convert cell array of character vectors to evaluable expressions
I have a cell array of character vectors: >> list list = 5×1 cell array {'10^{-4}'} {'10^{-3}'} ...

10 months ago | 2 answers | 0

2

answers

Answered
What frustrates you about MATLAB?
I don't know if these points were said in one of the 128 answers, but these frustrate me: * Pressing |Tab| on the keyboard wr...

10 months ago | 0

Question


imagesc does not take an axis handle as its first argument even if it should
According to the documentation (https://www.mathworks.com/help/matlab/ref/imagesc.html), imagesc should take as an optional firs...

10 months ago | 1 answer | 0

1

answer

Question


Colon-generated arrays with or without brackets
From what I can tell, the arrays a:d:b and [a:d:b] are exactly the same thing. For example, >> [1:3] == 1:3 ans = ...

1 year ago | 1 answer | 0

1

answer

Question


Design choice for iterating over a cell array
I discovered that it was possible to iterate over a cell array in Matlab: for x = {1, "foo", [1,2]} x end ...

1 year ago | 2 answers | 1

2

answers