Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / To be done in MATLABIntroduction Clarrie needs to see different colours to collect COVID red samples

To be done in MATLABIntroduction Clarrie needs to see different colours to collect COVID red samples

Arts

To be done in MATLABIntroduction Clarrie needs to see different colours to collect COVID red samples. You will be provided with a virtual signal of a phototransistor. Based on the guideline which comes with the signal, you need to develop a code which detects the colour of an object. In general you will have four types of signal, red, blue, black and ground. Also, you need to develop a demonstration system in real time. This means you need to read the signal and demonstrate it accordingly in the best possible way.

 

2.1.1 Algorithm Requirements (Must be followed)

1. Virtual signal should be used as the input signal

2. Range of each voltage for each colour should be introduced as a variable with two elements (red= [ minimum maximum])

3. The output result (colour) should be stored as a new variable (colour="red")

4. In every step you need to provide comments and extra information so the next group would understand how you develop your code

5. You have to use "for loop" for reading the input data, "fprintf" for real time demonstration of colour in the command window and two methods of demonstration in your code which show the fluctuations in your signal

----------------------------------------------------------------------------------------------------

PSEUDOCODE I MADE To guide you

Load in input data in real time

 

Set range for the max and minimum

 

Transistor takes the reading

 

determines the voltage and allocated colour

 

use allocated filters to refine the input data (high pass & low pass filter)

 

determine if it is red COVID sample or not

 

if it is red, collect sample and display reading.

 

if it isnt red, then no action but still display reading.

 

Continue repeating until all data has been displayed and all covid red samples collected.

-----------------------------------------------------------------------------------------------------------------

Link to the data

https://drive.google.com/file/d/1x-JFGlM_vjkluatkaEmZU_pSWfYI6DEm/view?usp=sharing

DOWNLAOD THIS AND LOAD INTO MATLAB (PLEASE)

-----------------------------------------------------------------------------------------------------------------

Begin code with

file_1=xlsread('Phototransistor.xlsx')

-----------------------------------------------------------------------------------------------------------------

Hi i would really appreciate it if somebody could help me with this project. Its all hypothetical and we dont have access to a Photo transistor but we have to create code that follows the algorithm requirements and runs.

 

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE