Community Profile

photo

Brad


33 total contributions since 2013

I'm currently a doctoral student at UC San Diego, conducting research on the neural network properties of memory formation. Using a mixture of neurobiological and computational programming tools, I study and model memory and synaptic potentiation.
Professional Interests: neural networks, synaptic potentiation, memory, learning, brownian motion, particle diffusion, particle tracking

Contact

Brad's Badges

  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 2
  • GitHub Submissions Level 3
  • First Submission
  • Thankful Level 1
  • Solver

View details...

Contributions in
View by

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

alrededor de 2 meses ago

Solved


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

alrededor de 2 meses ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

12 meses ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

más de 1 año ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

más de 1 año ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

más de 1 año ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

más de 1 año ago

Submitted


macmem
view mac ram memory usage in console

más de 2 años ago | 0 downloads |

Thumbnail

Answered
Minimal example where you run two loops simultaneously, and programmatically stop/switch a for-loop or while-loop or update the information inside those loops, while they are executing.
The problem is solved now using a timer method. If you're interested, I left notes in the <https://gist.github.com/subroutines/5...

alrededor de 3 años ago | 1

| accepted

Question


Minimal example where you run two loops simultaneously, and programmatically stop/switch a for-loop or while-loop or update the information inside those loops, while they are executing.
I have a question related to parallel computing, how to run two loops simultaneously, and how to programmatically stop a for loo...

alrededor de 3 años ago | 2 answers | 0

2

answers

Submitted


subroutines/PolyDraw
Draw polygons on a figure using a mouse and return the 2D coordinates

más de 3 años ago | 2 downloads |

Thumbnail

Submitted


subroutines/con
add a messenging console to a figure

más de 4 años ago | 1 download |

Thumbnail

Submitted


subroutines/xmlmesh
xmlmesh is a Matlab function to format triangulated mesh data for xml file output.

más de 4 años ago | 1 download |

Thumbnail

Submitted


subroutines/actograph
actograph is a matlab function for plotting circadian rhythm actograms

más de 4 años ago | 3 downloads |

Thumbnail

Submitted


subroutines/NeuroFIT
Cell / Neuron Fluorescent Imaging Toolbox for Matlab

más de 4 años ago | 1 download |

Thumbnail

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

casi 5 años ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

casi 5 años ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

casi 5 años ago

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 ...

casi 5 años ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

casi 5 años ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

casi 5 años ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

casi 5 años ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

casi 5 años ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

casi 5 años ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

casi 5 años ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

casi 5 años ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

casi 5 años ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

casi 5 años ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

más de 5 años ago

Submitted


circus() - just a simple circle function to generate circle info for plotting
give circus a radius and it returns circumference coordinates to plot

casi 6 años ago | 2 downloads |

Thumbnail

Load more