Find Jobs
Hire Freelancers

matlab code sp

£10-20 GBP

Completed
Posted over 5 years ago

£10-20 GBP

Paid on delivery
WRITE Mablab code to perform the following tasks (be careful to follow the exact sequence of steps) and COMMENT your code properly: For each file/trial (i.e., each VEP signal) do the following. Repeat 800 times automatically to process ALL the files. [Suggestion: use for loops with fgetl to read the filenames from ca800.txt.] 1. Load a VEP signal (size 64x256) from a .mat file. automatically and correctly loading the 800 VEP signals 2. Compute the VEP signal with reference to channel CZ, which is channel 16. That is, subtract channel CZ from each channel. After that, remove channel CZ and the three reference channels, which are X (channel 32), nd (channel 63), and Y (channel 64). From now on, you have 60 channels to process in each trial. 3. Set the mean of each channel to zero (i.e., remove the mean of the signal from each channel). 4. Use PCA to reduce the noise (mainly ongoing EEG noise) from each VEP signal. Use 95% variance measure to select the appropriate number of principal components. You may use Matlab functions pca and pcares. 3 5. Since P300 responses are band-limited to 8 Hz, filter the VEP signal using an appropriate bandpass filter with passband from 2 Hz to 8 Hz and with stop frequencies at 0.5 Hz and 12 Hz (You should try different edge frequencies later, observe the results, and explain their effects). Set the minimum attenuation in the stopband to Rs=15 dB and passband ripple Rp=1 dB. You could use either IIR or FIR filter. If you decide to use IIR filter, you may use Matlab function buttord or ellipord to choose the filter order and filtfilt to implement the filter. If you use FIR filter, you may use Matlab functions kaiserord and fir1 to design the filter and conv to implement the filter. 6. Compute the P300 peak amplitude and the corresponding latency time for each channel. You should have one amplitude value and one latency value for each channel (you may use one matrix for amplitude and one for latency). The P300 peak can be identified as the largest positive peak (there could be several peaks) in the period of 300-600 ms (find the corresponding sample points) after the stimulus onset (the start of a trial). If there are no peaks in this time period, set the P300 peak amplitude and latency to zero. After the above loops (for all the VEP signals), do the following: 1. Calculate the average P300 amplitude and latency time of the alcoholic subjects in each channel (i.e., from the first 400 files) and the average P300 amplitude and latency time of the non-alcoholic subjects in each channel (i.e., from the last 400 files). 2. Compare the average P300 amplitudes of alcoholic subjects and non-alcoholic subjects in all the 60 channels using plot. 3. Compare the average P300 latencies of alcoholic subjects and non-alcoholic subjects in all the 60 channels using plot.
Project ID: 18318698

About the project

3 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Expertise in MATLAB with a substantial background in data processing I have completed various protects related this field as you can view my profile for completed projects. I can provide you your complete task in decided time frame with quality work. We can discuss further details in the message box Regards
£23 GBP in 1 day
5.0 (66 reviews)
5.0
5.0
3 freelancers are bidding on average £26 GBP for this job
User Avatar
Hi. My name is Uzair.I did my masters in Electrical Engineering. I have done my thesis in biomedical signal processing and Machine learning. I have more than 3 years of experience in Python/MATLAB specially in Machine learning/Deep Learning, Image processing and Signal processing. I have knowledge and understanding of state of the art machine learning algorithms like SVM, neaural networks as well as basic algos like KNN and clustering. I have also worked with sklearn and keras in PYTHON. I have experience with tensorflow,Keras,Pytorch and a ot of other ML libraries. I have recently organized a bootcamp on AI and machine learning in my university. Due to my vast coding experience , I can handle your project with quality work. Kindly share some more details so that I can offer the exact solution to your problem. Regards
£23 GBP in 3 days
4.9 (48 reviews)
5.7
5.7
User Avatar
Hello sir I can do your job please share information if you want to work with me. I will provide you the best output
£33 GBP in 1 day
5.0 (3 reviews)
1.0
1.0

About the client

Flag of UNITED KINGDOM
london, United Kingdom
5.0
1
Payment method verified
Member since Dec 8, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.