MATLAB code improvement

I need this code altered due to a new EMG recording system. I have the original code attached. I need the ENG data to be acquired and plotted as 5 separate plots.

Plot 1 = electrode 1

Plot 2 = electrode 2

Plot 3 = electrode 3

plot 4 = electrode 4

plot 5 = a snapshot of electrode 4, based on incoming signal from a device

I want the y axis to be fixed for each subplot of -1 to +1. The x axis should go from 0 to the max # of samples taken (set b4 scripts starts)

Plot 5 will be the most complex. I need it to update and display a snapshot of the signal from electrode 4 each time stimulus is delivered to the subject. "Device2" is a nidaq usb-6009 DAQ card that will be receivng input (+ 5 volts via a BNC cable) that tells MATLAB when the stimulation machine has fired. I need this input to drive plot 5. Every time this input is seen, I want plot 5 to plot 200 ms of data surrounding that moment (data is sampled at 1000Hz). This snapshot will stay up until the next time the device fires and send another signal to the DAQcard. I would like plot5 to be updated with the new windows of 200 ms. the 200ms windows should be the 50ms before the incoming signal and 150ms after. I also want the 3 previous windows kept on the same plot, only in a different color from the latest signal. I also want the plot to calculate and display the min to max size (amplitude) of the EMG signal we are measuring. See Data set for an example. These are called MOTOR EVOKED POTENTIALS. and are the signal we are trying to examine.

I have attached a simple EMG acquistion script I use and a more complex one. The more complex ("TMS_Force....) script uses a force sensor to drive the plotting. You can ignore and remove any force sensor related data acquisition and plotting from the code. Feel free to use as much of the original code as you want. I only need this to record EMG, save it to a file (name specified in by user in code before it starts). I would also like the user to specify the length of recording, in seconds, in the code as well. See code for specific.

Device3 = the EMG data channels. There will be 4 channels of data.

Device2 = the usb6009 that should receive incoming pulses every time the device fires (has 4 channels. 0,1,2,3, please use 1). The 1st 4 plots should be continuous, never updating or changing, just showing the data (EMG) in real time.

I have attached a sample of the data so you know what it looks like.

If you have any Qs, please let me know. This is an urgent job, so a $50 bonus will be paid if it can be done in 24 hours from accepting job. I can work with coder to troubleshoot the code online ASAP.

As this is a simple job, NO BIDS >$150 WILL BE ACCEPTED. This is a first project to see how well we work together. If the work is good, there will be many more projects to come.

Evner: Databehandling, Matlab and Mathematica, Software Arkitektur

Se mere: matlab code emg signal, emg matlab code, matlab based, x-axis, system sensor, qs job online, project code online, ms project online free, how to code online, free code online, fired from a job, data coder job online, code online free, code online c#, c++ code online, c# code online, c code online, acquisition windows, max in matlab, matlab online, usb color, signal matlab, Signal and system, QS, online data input job

Om arbejdsgiveren:
( 0 bedømmelser ) bervely hills, United States

Projekt ID: #4038420

7 freelancere byder i gennemsnit $151 på dette job


Hi there, I can do it

$150 USD in 5 dage
(18 bedømmelser)

Hi, My name is Toto. I am a matlab GUI/NON gui programmer. I have download and try your code and sample file. But, I am confused when running the m file. I think I give the wrong input parameter and get the error mess Flere

$120 USD in 2 dage
(18 bedømmelser)

I can help u.

$100 USD på 1 dag
(1 bedømmelse)

Hi, We have reviewed your entire project details posted for MATLAB Code Improvements and you need alterations in the code due to new EMG recording system, we have seen your original code in the attached file and wou Flere

$245 USD in 25 dage
(1 bedømmelse)

We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. www.<b><i>Removed by Admin for breaching our Terms and Conditions</i></b>.io

$140 USD på 1 dag
(0 bedømmelser)

Hi, Please see the PMB

$200 USD in 3 dage
(0 bedømmelser)

I have expertise in code optimization.

$100 USD in 3 dage
(0 bedømmelser)