Community Profile

# warnerchang

Last seen: 1 day ago Active since 2021

Never be afraid to try something new

Programming Languages:
MATLAB
Spoken Languages:
English

#### Content Feed

View by

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 days ago

Solved

Chebyshev polynomials of the 1st Kind
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Chebyshev_polynomials Chebyshev polynomial of the...

3 months ago

Solved

Legendre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Legendre_polynomials Legendre polynomial>. *Ex...

3 months ago

Solved

Laguerre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Laguerre_polynomials Laguerre polynomial>. *Ex...

3 months ago

Solved

Hermite Polynomials
Return the _n_-th <http://en.wikipedia.org/wiki/Hermite_polynomials Hermite polynomial> of the physicists' type. Assume that ...

3 months ago

Solved

Diophantine Equations (Inspired by Project Euler, problem 66)
Consider the quadratic Diophantine equation of the form: x^2 – Dy^2 = 1 When D=13, the minimal solution in x is 649^2 – 13...

3 months ago

Solved

Ackermann's Function
Ackermann's Function is a recursive function that is not 'primitive recursive.' <http://en.wikipedia.org/wiki/Ackermann_fun...

3 months ago

Solved

Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

3 months ago

Solved

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

3 months ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

3 months ago

Solved

Converts numbers into characters
Converts numbers into characters

3 months ago

Solved

Find the max element of the array
Find the max element of the array

3 months ago

Solved

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3 months ago

Solved

to the 2 all elements
to the 2 all elements

3 months ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

3 months ago

Solved

Double all elements in the array
Duplicate all elements in the array

3 months ago

Solved

calculate the length of matrix
input 1 array, calculate the length

3 months ago

Solved

Draw a '0' in a one matrix!

3 months ago

Solved

Draw a '4' in a zero matrix!

3 months ago

Solved

Draw a '6' in a zero matrix!

3 months ago

Solved

Draw a '9' in a zero matrix!

3 months ago

Solved

Draw a '7' in a zero matrix!

3 months ago

Solved

Draw a '8' in a zero matrix!

3 months ago

Solved

Draw a '3' in a zero matrix!

3 months ago

Solved

Draw a '2' in a zero matrix!

3 months ago

Solved

Draw a '5' in a zero matrix!

3 months ago

Solved

Draw a '1' in a zero matrix!

3 months ago

Solved

Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

3 months ago

Solved

Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

3 months ago