Community Profile

photo

Daniele Mascali


Last seen: 9 giorni fa Attivo dal 2017

Followers: 0   Following: 0

Statistiche

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

Visualizza badge

Feeds

Visto da

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

circa 3 anni fa | 3

| accettato

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

circa 3 anni fa | 2

| accettato

Risposto
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 5 anni fa | 0

| accettato

Domanda


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 5 anni fa | 0 risposte | 0

0

risposte

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

oltre 5 anni fa | 1

| accettato

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

oltre 5 anni fa | 0

| accettato