Community Profile

# Martin C.

##### Last seen: Today
1,132 2016 이후 총 참여 횟수

University of Toronto CS master's student.
martincarrington.com

#### Martin C.'s 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

38분 전

해결됨

Positive Definiteness of a Matrix
Determine if input matrix is positive definite or not.

약 2시간 전

해결됨

Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

약 3시간 전

해결됨

Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner. ...

약 3시간 전

해결됨

Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

약 3시간 전

해결됨

Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

약 3시간 전

해결됨

Coin distribution
Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have. u've coins of - 2000,1000...

약 3시간 전

해결됨

\$10,000 sequence
Find the nth term of the Hofstadter–Conway sequence and its chaotic cousin. <https://en.wikipedia.org/wiki/Hofstadter_sequenc...

2일 전

해결됨

Sum! Sum! Sum!
Calculate the sum of the sequence up to nth term >> a,aa,aaa,aaaa,... 2,22,222,2222,... [for a=2]

2일 전

해결됨

Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número. Algunos ejemplos para ayudarte serían: El número 125 tie...

2일 전

해결됨

Find 0 in array
Given array find where there 0 is.

2일 전

해결됨

Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

2일 전

해결됨

Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

2일 전

제출됨

ez (easy) plotter
MATLAB app that makes plotting functions easy and fun

14일 전 | 다운로드 수: 21 |

해결됨

Question 1
Implement a function named q1 with one input argument named n. This function should return the multiplication of all odd numbers...

3달 전

해결됨

Tribonacci Sequence
Generate the tribonacci sequence upto n

3달 전

해결됨

Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

3달 전

해결됨

Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

3달 전

해결됨

execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

3달 전

해결됨

Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

3달 전

해결됨

Xor of matrix
you have to set exclusive OR of two arrays

3달 전

해결됨

Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

3달 전

해결됨

calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

3달 전

해결됨

Tony's trick for duplicating an mx1 vector n times
Without using repmat, or for loop, or concatenation, create a function to duplicate a vector, v, a specified number of times, n....

3달 전

해결됨

Remove the polynomials that have positive real elements of their roots.
The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the <http://www.ma...

3달 전

해결됨

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

3달 전

해결됨

Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

4달 전

해결됨

Graph is undirected. (s,t) in node pairs. Please, return full storage version of the matrix.(use _full(A)_ ) Input: s...

4달 전

해결됨

Calculate geostrophic current
eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+...

4달 전

해결됨

Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

4달 전