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
