Community Profile

photo

Jiang Senmiao


Last seen: 5 mois il y a Actif depuis 2021

Shanghai, Athens, Orjestad. Passed the exam by solving a lot of problems on Cody.

Pronouns:
He/him

Statistiques

  • Cody Problems in Japanese Master
  • Draw Letters
  • Community Group Solver
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Commenter
  • Promoter
  • Solver
  • Explorer

Afficher les badges

Content Feed

Afficher par

A résolu


Find Logic 23

5 mois il y a

A résolu


Find Logic 22

5 mois il y a

A résolu


Find Logic 21

5 mois il y a

A résolu


Find Logic 20

5 mois il y a

A résolu


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

5 mois il y a

A résolu


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

5 mois il y a

A résolu


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

5 mois il y a

A résolu


Converts numbers into characters
Converts numbers into characters

5 mois il y a

A résolu


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

5 mois il y a

A résolu


to the 2 all elements
to the 2 all elements

5 mois il y a

A résolu


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

5 mois il y a

A résolu


Draw a '0' in a one matrix!

5 mois il y a

A résolu


Convert from integer to binary
if true % decimalToBinaryVector(x) end

presque 2 ans il y a

A résolu


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

environ 3 ans il y a

A résolu


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

environ 3 ans il y a

A résolu


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

environ 3 ans il y a

A résolu


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

environ 3 ans il y a

A résolu


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

environ 3 ans il y a

A résolu


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

environ 3 ans il y a

A résolu


Divide pi
Divide pi by x!

environ 3 ans il y a

A résolu


Multiply pi
Multiply pi with x!

environ 3 ans il y a

A résolu


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

environ 3 ans il y a

A résolu


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

environ 3 ans il y a

A résolu


A Simple Tide Gauge with MATLAB
*&#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767* You are standing in a few inches of sea water on a beach. You a...

environ 3 ans il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

environ 3 ans il y a

A résolu


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

environ 3 ans il y a

A résolu


Mersenne Primes vs. All Primes
A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...

environ 3 ans il y a

A résolu


Mersenne Primes
A Mersenne prime is a prime number of the form M = 2^p - 1, where p is another prime number. For example, 31 is a Mersenne prim...

environ 3 ans il y a

A résolu


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

environ 3 ans il y a

A résolu


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

environ 3 ans il y a

Charger plus