
Martin C.
University of Toronto CS master's student.
martincarrington.com
Statistiques
RANG
11 664
of 281 574
RÉPUTATION
4
CONTRIBUTIONS
0 Questions
5 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
8 004 of 19 052
RÉPUTATION
102
CLASSEMENT MOYEN
5.00
CONTRIBUTIONS
1 Fichier
TÉLÉCHARGEMENTS
3
ALL TIME TÉLÉCHARGEMENTS
357
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Content Feed
A résolu
Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...
plus de 3 ans il y a
A résolu
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
plus de 3 ans il y a
A résolu
I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...
plus de 3 ans il y a
A résolu
Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...
plus de 3 ans il y a
A résolu
MinMax mapping
Given a matrix, map all the elements within a given interval. For example, a=[ 2 5 10] mapped in the interval [1,2] ...
plus de 3 ans il y a
A résolu
Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...
plus de 3 ans il y a
A résolu
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"]; ...
plus de 3 ans il y a
A résolu
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. ...
plus de 3 ans il y a
A résolu
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. ...
plus de 3 ans il y a
A résolu
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)
plus de 3 ans il y a
A résolu
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...
plus de 3 ans il y a
A résolu
$10,000 sequence
Find the nth term of the Hofstadter–Conway sequence and its chaotic cousin. <https://en.wikipedia.org/wiki/Hofstadter_sequenc...
plus de 3 ans il y a
A résolu
Sum! Sum! Sum!
Calculate the sum of the sequence up to nth term >> a,aa,aaa,aaaa,... 2,22,222,2222,... [for a=2]
plus de 3 ans il y a
A résolu
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...
plus de 3 ans il y a
A résolu
Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...
plus de 3 ans il y a
A résolu
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...
plus de 3 ans il y a
A soumis
ez (easy) plotter
MATLAB app that makes plotting functions easy and fun
plus de 3 ans il y a | 3 téléchargements |

A résolu
Question 1
Implement a function named q1 with one input argument named n. This function should return the multiplication of all odd numbers...
plus de 3 ans il y a
A résolu
Basic electricity in a dry situation
⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...
plus de 3 ans il y a
A résolu
Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.
plus de 3 ans il y a
A résolu
execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23
plus de 3 ans il y a
A résolu
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 ...
plus de 3 ans il y a
A résolu
Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number
plus de 3 ans il y a
A résolu
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...
plus de 3 ans il y a
A résolu
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....
plus de 3 ans il y a
A résolu
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...
plus de 3 ans il y a
A résolu
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...
plus de 3 ans il y a