Community Profile

photo

Bruce Raine


Last seen: 16일 전 2010년부터 활동

I like to solve most kinds of maths problems that I come across. I have used MATLAB for around 7 years and really enjoy programming it to solve maths and statistics problems. I hold a Masters degree entitled: Master of Computing and Mathematical Sciences (Hons). Professional Interests: Maths and Programming

통계

All
  • First Answer
  • Likeable
  • Famous
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • Quiz Master
  • Puzzler
  • Promoter
  • Commenter
  • Creator

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

거의 11년 전

문제


Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

거의 11년 전 | 1 | 솔버 수: 91

문제를 풀었습니다


Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

대략 11년 전

문제를 풀었습니다


Find the definite integral of various linear functions
A definite integral had a minimum and maximum limit. When you solve this type of problem you must use both quad and the trapz fu...

대략 11년 전

문제


Find the definite integral of various linear functions
A definite integral had a minimum and maximum limit. When you solve this type of problem you must use both quad and the trapz fu...

대략 11년 전 | 1 | 솔버 수: 51

문제


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

대략 11년 전 | 1 | 솔버 수: 255

문제를 풀었습니다


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

대략 11년 전

문제


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

대략 11년 전 | 2 | 솔버 수: 335

문제를 풀었습니다


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

대략 11년 전

문제


How many days does the cat take to climb out of the hole?
A cat accidentally falls down a hole with sloping but rough sides. It can climb out of the hole of height h metres, but for ever...

대략 11년 전 | 4 | 솔버 수: 76

문제를 풀었습니다


How many days does the cat take to climb out of the hole?
A cat accidentally falls down a hole with sloping but rough sides. It can climb out of the hole of height h metres, but for ever...

대략 11년 전

문제를 풀었습니다


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

대략 11년 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

대략 11년 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

대략 11년 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

대략 11년 전

문제를 풀었습니다


radius of a spherical planet
you just measured its surface area, that is the input.

대략 11년 전

문제를 풀었습니다


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

대략 11년 전

문제를 풀었습니다


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

대략 11년 전

문제를 풀었습니다


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

대략 11년 전

문제를 풀었습니다


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

대략 11년 전

문제를 풀었습니다


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

대략 11년 전

문제를 풀었습니다


Will there be a new leader?
Simply answer the title.

대략 11년 전

문제를 풀었습니다


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

대략 11년 전

문제를 풀었습니다


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

거의 12년 전

문제를 풀었습니다


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

거의 12년 전

문제를 풀었습니다


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

거의 12년 전

문제를 풀었습니다


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

거의 12년 전

문제를 풀었습니다


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

거의 12년 전

문제


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

거의 12년 전 | 12 | 솔버 수: 837

문제를 풀었습니다


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

거의 12년 전

더 보기