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 月 3 日
I am given this template. I really dont know how to start Thanks
Thorsten
Thorsten 2015 年 12 月 3 日
What is your "task 4", and what's the template?
Natalia Wong
Natalia Wong 2015 年 12 月 4 日
Sorry I forgot to click submit attachment
Guillaume
Guillaume 2015 年 12 月 4 日
"I really don't know where to begin". Are you having a laugh? Your assignment clearly describes the steps to follow and gives you which functions to use. The only step that is not described in great details is step 3, because your tutor wants to check that you can design an algorithm.
What you really meant is: "I can't be bothered to think for myself. Can you help me cheat on my assignment"
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 日

0 投票

"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 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

製品

質問済み:

2015 年 12 月 3 日

編集済み:

Jan
2015 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by