Community Profile

Alec Poulin

7 total contributions since 2018

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

1 month ago | 1 answer | 0

1

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

8 months ago | 1 answer | 0

1

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

8 months ago | 2 answers | 0

2

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

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

8 months ago | 1 answer | 0

1

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