Community Profile

Professional Interests: quantitative finance, statistics

Contact

Top 10% contributor

This reply is very late, but I hope it can help users who get to this thread by searching. Experimenting with mfilename in scrip...

0

Answered 3 months ago

That's what good typography, common sense, and logic tells me. If I have a vector [3.14, 6.28, 7.50], the use of two decimal dig...

0 Answers

Asked 1 year ago

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

Solve this!

2 years ago

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

Regardless of input, output the string 'yes'.

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

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

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

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

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

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