필터 지우기
필터 지우기

How do I do task 4?

조회 수: 2 (최근 30일)
Natalia Wong
Natalia Wong 2015년 12월 3일
편집: Jan 2015년 12월 6일
I really don't know where to begin in task 4. Pls help and I am new to Matlab
Thanks
  댓글 수: 6
Natalia Wong
Natalia Wong 2015년 12월 4일
I mean when the user inputs the colour, how does the program check the colours entered are corrrect? The program must have a specific sequence of answers??
Natalia Wong
Natalia Wong 2015년 12월 4일
it's not that i didnt attempt but my mind goes blank. If I keep trying i cann take hours and not get anything. which is not productive

댓글을 달려면 로그인하십시오.

답변 (2개)

Guillaume
Guillaume 2015년 12월 4일
"The program must have a specific sequence of answers": Yes, the code to do that is even already provided in the template you've uploaded.
"how does the program check the colours entered are corrrect": Straightforward comparison for the colours in the correct place. ismember and a little bit of arithmetic for the colours in the wrong place.

Jan
Jan 2015년 12월 4일
편집: Jan 2015년 12월 6일
Do you drink coffee? Then this is the right time to sit down and drink a cup of it. Tea would do the job also.
You got all you need to solve this assignment by your own. You can read the Getting Started chapter of Matlab's documentation at first, if you are not familiar with this language. Did you see the "Matlab onramp" already?
The forum will not solve this homework for you, because then you will stuck in the following homework in the same way. It is your task to solve this and you will be successful. Simply try it and ask specific question. Post here, what you have tried so far and explain what happens when you run the code.

카테고리

Help CenterFile Exchange에서 Calendar에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by