Community Profile

photo

Benjamin D'Anjou


Last seen: 8 mesi fa Attivo dal 2019

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


Matlab parfor uses fewer cores than the allocated number of cores
I'm running a parallel Matlab (R2020a) job on a single node of a remote cluster. Each node of the cluster has 2 processors with ...

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Comparing the performance of colon, loop, and cell indexing
I will first state the problem and then ask my question. PROBLEM I have this code where repeatedly multiply a vector by a squa...

quasi 4 anni fa | 2 risposte | 1

2

risposte

Domanda


Why is calling a superclass constructor after a use of the object not allowed?
I have a subclass "subclass" of two classes "classA" and "classB", which are in turn subclasses of "superclass". Here is the cla...

quasi 5 anni fa | 3 risposte | 2

3

risposte

Risposto
Storing functions in classdef files
In the end I decided to store both myFunction.m and the @-folder in another path folder that has the same name as the class: pa...

quasi 5 anni fa | 0

Domanda


Storing functions in classdef files
I have an object-oriented Matlab project with several classes. I store each class definition in a @-folder within a folder pathF...

quasi 5 anni fa | 3 risposte | 0

3

risposte

Domanda


Why does linspace create row instead of column?
In Matlab, array indexing is column based. For instance A = [1,2;3,4]; % My matrix A b = A(:); % This is a column vector b = [...

quasi 5 anni fa | 1 risposta | 0

1

risposta