Community Profile

photo

royk


8 total contributions since 2018

royk's Badges

  • Thankful Level 2

View details...

Contributions in
View by

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

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

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

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

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

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

2 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