Find Jobs
Hire Freelancers

matlab code

£10-20 GBP

Terminado
Publicado hace más de 5 años

£10-20 GBP

Pagado a la entrega
I. 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. 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.
ID del proyecto: 18319173

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I have worked with EEG and ECG signals before. 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. 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
£18 GBP en 1 día
4,9 (45 comentarios)
5,7
5,7

Sobre este cliente

Bandera de UNITED KINGDOM
London, United Kingdom
0,0
0
Forma de pago verificada
Miembro desde dic 8, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.