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

alrededor de 3 años hace | 0

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas