Feeds
質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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...
約2年 前 | 1 件の回答 | 0
1
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
3年弱 前 | 0
質問
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...
3年弱 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
3年弱 前 | 0
| 採用済み
質問
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 ...
3年弱 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 1 件の回答 | 0
