Edgar Guevara is currently a CONACYT research fellow at CIACYT-UASLP. His research areas are optical imaging, functional connectivity, spectroscopy and biomedical signal processing. His current research interests are in non-invasive medical diagnosis. His past work includes research in epilepsy, cardiovascular disease, spinal cord injury and white matter injury in newborns. He is a member of the Mexican National System of Researchers (as Level I). He received his PhD degree in Biomedical Engineering at École Polytechnique de Montréal in 2014, with a special mention of the jury.

https://sites.google.com/site/edgarguevara/

Submitted

guevaracodina/sers

Estimates surface-enhanced Raman spectroscopy (SERS) enhancement factor.

2 months ago | 5 downloads |

Submitted

guevaracodina/vancouver

Implementation of the Vancouver Raman Algorithm

2 months ago | 6 downloads |

Solved

Find a subset that divides the vector into equal halves

Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

7 months ago

Solved

Make a run-length companion vector

Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

8 months ago

Solved

Given a window, how many subsets of a vector sum positive

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

8 months ago

Solved

How many trades represent all the profit?

Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

8 months ago

Solved

Counting Money

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

8 months ago

Solved

Which doors are open?

There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

8 months ago

Solved

De-dupe

Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

8 months ago

Solved

Balanced number

Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

8 months ago

Solved

How long is the longest prime diagonal?

Stanislaw Ulam once observed that if the counting numbers are <http://en.wikipedia.org/wiki/Ulam_spiral arranged in a spiral>, t...

8 months ago

Solved

Select every other element of a matrix

Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

8 months ago

Problem

Select every other element of a matrix

Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

8 months ago | 0

Solved

Remove all the words that end with "ain"

Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

8 months ago

Solved

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

8 months ago

Submitted

Secret Santa

Tool to organize a secret santa, gift exchange generator.

3 years ago | 2 downloads |

Submitted

Slit-scan video processing

Create weird, wobbly, wonderful effects on a video, using slit-scan technique.

3 years ago | 1 download |

Solved

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

3 years ago

Responded

Re: Got a message from matlab: E:\Matlab_tutorial\compecon2011\cetools\psi.m has the same name as a MATLAB builtin

3 years ago | 2137 views

Solved

Replace NaNs with the number that appears to its left in the row.

Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

3 years ago

Solved

Roll the Dice!

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

3 years ago

Solved

Pangrams!

A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

3 years ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3 years ago

Submitted

Finite Difference Beam Propagation Method

Gaussian pulse propagated in free space using FDBPM

3 years ago | 26 downloads |

Submitted

Finite Differences Beam Propagation Method in 3-D

3-D Simulation of a gaussian pulse propagated in free space

3 years ago | 35 downloads |

Solved

Find the longest sequence of 1's in a binary sequence.

Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

3 years ago

Solved

Nearest Numbers

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

3 years ago

Solved

Return the largest number that is adjacent to a zero

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

3 years ago

Submitted

FFT Beam Propagation Method

Implementation of the FFT BPM in different optical waveguides and free space

3 years ago | 57 downloads |