Community Profile

# David Verrelli

927 2015 이후 총 참여 횟수

http://www.research.div1.com.au/
Highest Cody ranking = 42nd (10000 points, in July 2018).

#### David Verrelli's 배지

모두 보기

참여 게시물
보기 기준

해결됨

What score did they give?
Your task in this problem is to figure out the most recent score, |S|, submitted. <<https://upload.wikimedia.org/wikipedia/...

9달 전

해결됨

Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

1년 이상 전

문제

What score did they give?
Your task in this problem is to figure out the most recent score, |S|, submitted. <<https://upload.wikimedia.org/wikipedia/...

1년 이상 전 | 0

해결됨

Create tangent function out of sin and cos
Please don't use tan(x) directly

1년 이상 전

해결됨

How to Concatenate two strings?
How to Concatenate two strings?

1년 이상 전

해결됨

Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

1년 이상 전

해결됨

Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

1년 이상 전

해결됨

Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

1년 이상 전

해결됨

Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

1년 이상 전

해결됨

Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

1년 이상 전

해결됨

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

1년 이상 전

해결됨

Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

1년 이상 전

해결됨

Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

1년 이상 전

해결됨

Get Cody's screen size
Return an object that helps this problem's test suite return Cody's screen size.

1년 이상 전

해결됨

Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

1년 이상 전

해결됨

Circumscribed Pentagon?
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/44368 Problem 44368>, your function will be provided with...

1년 이상 전

해결됨

Calculate numerical integration.
x=0:0.01:1 y=@(x)x.^2 Using given two inputs(x and y), conduct numerical integration in x. (hint: trapz)

1년 이상 전

해결됨

Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

1년 이상 전

해결됨

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

1년 이상 전

해결됨

Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

1년 이상 전

해결됨

Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Input is each coefficient of polynomial. For example, a=[4 ...

1년 이상 전

해결됨

Count given word x in text.
Count how many times given word x repeats in text.

1년 이상 전

해결됨

Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

1년 이상 전

해결됨

Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

1년 이상 전

해결됨

Modified Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

1년 이상 전

해결됨

Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

1년 이상 전

해결됨

Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

1년 이상 전

해결됨

i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

1년 이상 전

해결됨

Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

1년 이상 전

해결됨

Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

1년 이상 전

Load more