Community Profile

Contact

Professional Interests: neuroscience, programming

Top 5% contributor

Really?! I've wondered how they try to enforce licensing when they distribute the source code for anything that isn't a MEX file...

27136 views

Responded 6 years ago

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

Solve this!

1 year ago

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

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

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

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

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

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

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

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

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

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

Reverse the given string. Example input = 'reverse' output = 'esrever'

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

Okay. I've got that one available too. Their versions of the Neural Net Toolbox differ only in a single increment of the revisio...

7907 views

P.S. Eh, I kind of made it sound more arbitrary or quirky than it is. There's actually good reason to design it the way they did...

If it's the same as it is in 2010a... If I recall correctly, you don't actually have to call divideind (unless you do to pass s...

Yes, this is particular not to Macs, but presumably to the Unix offspring. It's been a constant annoyance for me in 64-bit Linux...

7005 views

fCols = 1:2:2*N-1; % aka odds vCols = 2:2:2*N; % aka evens fv = zeros(M,2*N); fv(:,fCols) = f; fv(:,vCols) = v; ...which yo...

6972 views

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries