Community Profile

photo

Daniele Mascali


Last seen: 2 días ago Active since 2017

Statistics

All
  • Personal Best Downloads Level 1
  • GitHub Submissions Level 3
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

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

6 meses ago | 0

| accepted

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

6 meses ago | 1

| accepted

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

más de 2 años 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)...

casi 3 años ago | 0 answers | 0

0

answers

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

casi 3 años ago | 1

| accepted

Answered
How to combine arrays using NaN?
One possible solution: FinalArray = nan(size(A)); FinalArray(find(not(isnan(A)))) = B

casi 3 años ago | 0

| accepted