Community Profile

photo

Eryn Jaramillo


Last seen: 3 days ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Answered
If there are no inputs to a class, how to set defaults as properties of different classes under their respective classes?
In case this helps anyone, I solved my problem by correcting the code as follows. classdef animals < handle properties ...

9 months ago | 0

Question


If there are no inputs to a class, how to set defaults as properties of different classes under their respective classes?
I am new to OOP and would like to know how to set default properties of a class without the class inheriting the subclass proper...

9 months ago | 1 answer | 0

1

answer

Question


How could I code that if the user pushes “Q” then an X will be displayed the the coordinates (1,3)?
I am creating a game of Tic Tac Toe and after someone suggested I use the ginput function, I found [x,y,button]=ginput(n). How c...

3 years ago | 1 answer | 0

1

answer

Question


When using gtext command, can I force the text to be placed in a specific area that nearby where a user places it.
I am creating a program for two players to play a game of Tic Tac Toe. I created the board using axis([0 3 0 3]) and xline, ylin...

3 years ago | 1 answer | 0

1

answer