Community Profile

photo

Benjamin D'Anjou


Last seen: 8 months ago Active since 2019

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 2 answers | 1

2

answers

Question


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

5 years ago | 3 answers | 2

3

answers

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

5 years ago | 0

Question


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

5 years ago | 3 answers | 0

3

answers

Question


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

5 years ago | 1 answer | 0

1

answer