photo

David Davis


Active since 2016

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Question


How to get objects of different classes to interact
I am currently working with two classes where one object is dependent of the other. Ex: lets say my classes are Bear () and Brus...

7 years ago | 1 answer | 0

1

answer

Answered
Create a Pen class and integrate it into Turtle
In your code you failed to make pen its own class. Pen should be an object like Turtle with its own properties.

7 years ago | 0

Answered
How to integrate a Pen class into a Turtle
your setPen function is wrong. it Should look like this function obj = setPen(obj,pen) obj.pen = pen; e...

7 years ago | 0

Question


MATLAB GUI; after having loaded a .mat file, how do I remove tht data form my workspace to open a different .mat file?
I just started messing with the GUI today and so far I have been pretty successful. I know how to make things such as push butto...

8 years ago | 1 answer | 0

1

answer

Question


convert numbers to english words
I need to make a function that receives an integer input form the user and then gives a string output of the English conversion ...

8 years ago | 1 answer | 0

1

answer

Question


Please help: Cell contents assignment to a non-cell array object.
This is the error message/output: num2word(1234) nDigits = 1 2 3 4 Cell contents assignment to a n...

8 years ago | 2 answers | 0

2

answers