I need some help with a small mathlab project

1 view (last 30 days)
Hello, i've never worked with matlab before... i have 0 knowledge of it and i need to make a project in it. I need to make a program that draws a face, and it chages emotions when i press a button , and also chages skin color ( white,black,yellow) ... i'm in the last year and i have a lot of work to do , thats why i've posted here. If someone is kind to help me i'd very much apriciate it . Thank you !!!
  1 Comment
Steven Lord
Steven Lord on 13 Dec 2016
If you post what you've done to try to solve this problem and ask a specific question you may receive some suggestions about how to move forward.
If you're not sure where to begin with MATLAB, see the resources for learning MATLAB in this Answer and this Answer.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 13 Dec 2016
Edited: Image Analyst on 13 Dec 2016
How about you use menu() to let the user select the emotion. Then you pre-create images, like draw them in Photoshop or collect them off the web. Then depending on what button they click, you use imread() and imshow() to display the chosen emotion image?
button = menu('Pick emotion', 'Happy', 'Sad');
if button == 1
img = imread('happy.png');
elseif button == 2
img = imread('sad.png');
end
imshow(img);
  2 Comments
Anghel Alexandru
Anghel Alexandru on 13 Dec 2016
That would be great and easier to do if i just create de images, but i think the images need to be drawn by the software, like a simple smiley face than a frowny face and so on . :(
Image Analyst
Image Analyst on 14 Dec 2016
Then you need section 5 of the FAQ where it shows you how to draw simple shapes like ellipses and arcs. http://matlab.wikia.com/wiki/FAQ#toc

Sign in to comment.

Categories

Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!