Community Profile

# Daniele Mascali

Last seen: Today Active since 2017

All

#### Content Feed

View by

Extracting only real numbers from a vector containing both real and complex values
Try this: real(A(imag(A) == 0))

oltre un anno ago | 1

| accepted

Correlation Coefficient of two 3-D matrices
Considering A and B your two matrices, you could use the following code: %reshape each matrix SIZE = size(A); A_2d = reshape(...

oltre un anno ago | 1

| accepted

How do I loop through a structure field which contains multiple arrays?
If you want to make your last attempt work, you might use eval: eval(['plot(subjects.sessions.trials(i).data.angles.',AngleName...

oltre 3 anni ago | 0

| accepted

Question

Edges of scatter plot don't respect layers
When using scatter plot, e.g.: scatter(X,Y,17,CUSTOMCOLORMAP,'filled','MarkerEdgeColor',[0 0 0],'marker','o','linewidth',0.1)...

oltre 3 anni ago | 0 answers | 0

### 0

How to write all data of a cell array into one big list?
If A is your cell array, you might try: [A{:}]

oltre 3 anni ago | 1

| accepted