Community Profile

photo

ErikJ GiesenLoo


Last seen: 2 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


How to create struct of cell arrays
Hi all, I have found i can create a struct of empty cell arrays as follows (in R2018b): struct("a", {cell(0)}, "b", {cel...

2 months ago | 1 answer | 0

1

answer

Question


Convert matlab index vector to 2D array based on gaps
Hi all, I am asking to get feedback on my code and see if there are other ways to programme this basic algorithm more efficie...

4 months ago | 1 answer | 0

1

answer

Question


Name of islocalmin algorithm
Hi all, Hopefully this is a simple question. Do any of you know the name of the algorithm used by MATLAB's "islocalmin" functi...

8 months ago | 1 answer | 0

1

answer

Answered
inputparser addOptional seems broken
its always a bit strange to answer your own question, but here's the code to take 1 or 2 optional parameters assert(numel(var...

1 year ago | 0

Question


inputparser addOptional seems broken
It seems that if I use addOptional I cannot skip arguments For example, if I wish to have an optional array but I simply pass a...

1 year ago | 1 answer | 0

1

answer

Answered
Clean way of writing a setter that can set nested private properties
Further responses are welcome this query, but here is one clunky alternative using a helper set_ function that takes in the base...

1 year ago | 0

| accepted

Question


Clean way of writing a setter that can set nested private properties
Is there a clean way to write a setter for private properties/members that can accept nested properties? Something with an API ...

1 year ago | 1 answer | 0

1

answer

Question


Class methods in "private" subfolder
The documentation on classes seems to suggest I can place private functions in a private folder: https://www.mathworks.com/help...

1 year ago | 1 answer | 0

1

answer