Top 10% contributor
I am working on a GUI for some people in my lab. I can easily read in their data which are multipage tiff files. The process of ...
Asked 2 years ago
I'm trying to register two images taken on two different CCD cameras. I know I can't do this with a simple linear transfor...
I am reading in data from several files. For each file I first read the data into elements in a cell array. This works fine. I ...
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
2 years ago
Regardless of input, output the string 'yes'.
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
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...
Given a and b, return the sum a+b in c.
Given the input n, return true if n is odd or false if n is even.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
I have the following coupled nonlinear PDE's :
1) y''-(dy/dt) = k1*(dC/dt)
I am trying to model one dimensional diffusion with reversible binding. Essentially my situation is A+B <-> AB where thre is a K...