Community Profile

photo

张继之


Last seen: 8 maanden ago Active since 2022

Followers: 0   Following: 0

Statistics

  • CUP Challenge Master
  • Community Group Solver
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

12 maanden ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

meer dan een jaar ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

meer dan een jaar ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

meer dan een jaar ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

meer dan een jaar ago

Solved


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

meer dan een jaar ago

Solved


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

meer dan een jaar ago

Solved


Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

meer dan een jaar ago

Solved


Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

meer dan een jaar ago

Solved


Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

meer dan een jaar ago

Solved


Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...

meer dan een jaar ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

meer dan een jaar 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...

meer dan een jaar ago

Solved


Total energy

meer dan een jaar ago

Solved


Potential energy calculation

meer dan een jaar ago

Solved


Kinetic energy calculation

meer dan een jaar ago

Solved


Laws of motion 1

meer dan een jaar ago

Solved


Laws of motion 2

meer dan een jaar ago

Solved


Laws of motion 3

meer dan een jaar ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

meer dan een jaar ago

Solved


Laws of motion 5

meer dan een jaar ago

Solved


Laws of motion 6

meer dan een jaar 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...

meer dan een jaar 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;...

meer dan een jaar ago

Solved


Converts numbers into characters
Converts numbers into characters

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


to the 2 all elements
to the 2 all elements

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Load more