Community Profile

photo

arsenic 陈


Northeastern University

Last seen: 11 days ago Active since 2020

One apprentice code farmer, please help me, memeda

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Commenter
  • Promoter
  • Community Group Solver
  • Solver

View badges

Content Feed

View by

Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

16 days ago

Solved


Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

1 month ago

Solved


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

1 month ago

1

answer

Solved


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

1 month ago

Solved


Box
Give the volume of a box, x is equal to the body diagonal.

1 month ago

Solved


Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

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

1 month 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;...

1 month ago

Solved


Converts numbers into characters
Converts numbers into characters

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


to the 2 all elements
to the 2 all elements

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


Draw a '0' in a one matrix!

1 month ago

Solved


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

1 month ago

Solved


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

1 month ago

Solved


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 month ago

Solved


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

1 month ago

Solved


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

1 month ago

Solved


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

1 month ago

Solved


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

1 month ago

Solved


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

1 month ago

Solved


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

1 month ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 months ago

Answered
matrix calculation for matrix
a = zeros(400,5); b = ones(1,5) for i = 10:10:400 a(i,:) = b; end

2 months ago | 0

| accepted

Solved


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

2 months ago

Load more