Community Profile

photo

Alec Poulin


Last seen: 3 years ago Active since 2018

Statistics

  • Thankful Level 3
  • First Answer

View badges

Content Feed

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

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

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

5 years ago | 2 answers | 0

2

answers

Answered
[DEPRECATED] 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...

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

5 years 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 = ...

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

6 years ago | 2 answers | 1

2

answers