Community Profile

photo

royk


10 total contributions since 2018

royk's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


num2cell at high dimensions - is this a bug?
Matlab help of num2cell(A,[DIM1, DIM2, ...]) says "All DIMn inputs must be an integer with a value from NDIMS(A) to 1." The f...

16 days ago | 0 answers | 0

0

answers

Question


How to call a function only when Matlab is not busy
I have a GUI that needs to run a function if an input file changes. The GUI has a timer that calls a function "checkfiles" to ...

28 days ago | 0 answers | 0

0

answers

Question


Replacing variable names when using func2str of anonymous function
I have an anonymous function, say f=@(x,y) x+y; I can name the function using func2str: func2str(f) ans = '@(x,y)x+y' ...

2 months ago | 1 answer | 0

1

answer

Question


Programatically creating an anonymous function that separates "Variables" and "Parameters"
I have a function MYFUN with several inputs. Say, myfun = @(a,b,c,d) a*1000 + b*100 + c*10 + d In actuality, some of thes...

3 months ago | 3 answers | 2

3

answers

Question


How to get the "zero/blank" element of a given variable?
I have an array VAR of unknown type. When the array is extended, Matlab knowns how to fill in blank ("zero") values of the corre...

3 months ago | 1 answer | 0

1

answer

Question


How to implement MyClass that overloads all methods of a certain naitive class ?
I have a class MyClass that has a numerical property Val. I want the class to overload any/all numerical functions, such that fc...

3 months ago | 2 answers | 1

2

answers

Question


How to make a class object respond to a long stream of event listener callbacks only at the end of the stream of events
I have an object Obj of a handle class MyClass that listens for "Change" event notifications from other objects. Obj runs an "u...

4 months ago | 2 answers | 0

2

answers

Question


How can I find all object of a certain handle class?
I need to find all current object memory instances of a certain handle class "MyClass". I cannot use "findobj" because I do no...

4 months ago | 1 answer | 0

1

answer

Question


Axis fontsize and text fontsize not matching
I am using the code below that shows the same text as axis xlabel and as a text object. These two labels appear in different siz...

1 year ago | 2 answers | 0

2

answers