Answered
convert categorical to numeric
I converted the categorical data into a char and then used str2num. worked for me :)

3 years ago | 0

Question


square root of pi
I was banging my head against the wall looking for the error in my code, that kept returning "false" when it should have returne...

3 years ago | 1 answer | 0

1

answer

Question


drag and drop in matlab app designer 2020b
We are trying to implement a drag and drop function in the app desinger (version 2020b), similar to what was done here: https...

3 years ago | 1 answer | 0

1

answer

Question


legend with multiple axes using yyaxis
I am creating a plot with two different y axes. the curves are added alternately. for example: yyaxis ...

3 years ago | 1 answer | 0

1

answer

Question


issuing a warning with details
I want matlab to issue a warning, with a lot of details. However, i don't want to flood the command propmt. i thought of issuing...

3 years ago | 1 answer | 0

1

answer

Question


inheriting property and changing access
I have an abstract class 'TA_Component' with a property 'Length'. in general the propery should be set by the user. nI also hav...

3 years ago | 2 answers | 0

2

answers

Question


letting an object name itself
i am working on an object oriented code. i would like every object to have a property 'name' that is identical to it's workspace...

3 years ago | 1 answer | 0

1

answer

Question


create a function while protecting it's code
i am working towards publishing my code. while most of it i hope to publish as an open source code, there is one function that i...

3 years ago | 1 answer | 0

1

answer

Question


passing a variable name to a function
let's say i have several variables, and i want to create a function that changes a variable based on user specification for ins...

3 years ago | 1 answer | 0

1

answer

Question


method accessing it's own object
it seems that a method inside a class definition cannot access it's own object, or at least it doesn't recognize it's own object...

3 years ago | 1 answer | 0

1

answer

Question


pointers in object-oriented matlab programing
I want to create several objects that can "communicate with each other" for instance, let's say i have a class called "child" a...

3 years ago | 2 answers | 0

2

answers