Community Profile

photo

Jiahang Li


Last seen: 10 mois il y a Actif depuis 2018

Information and computing science student in China. I started playing Cody on 27th February 2018. MATLAB is my favorite tool in learning.

Statistiques

  • Quiz Master
  • Project Euler I
  • Explorer
  • First Review
  • ASEE Challenge Master
  • Scholar
  • Cody Problems in Japanese Master
  • Leader
  • CUP Challenge Master
  • Speed Demon
  • Creator
  • Commenter

Afficher les badges

Content Feed

Afficher par

A résolu


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

presque 4 ans il y a

A résolu


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

presque 4 ans il y a

A résolu


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

presque 4 ans il y a

A résolu


Find 0 in array
Given array find where there 0 is.

presque 4 ans il y a

A résolu


ZigZag - 01
Given a matrix, return the elements that are on the Z form of the matrix. For example - a=[1,2,3; 4,5,6; 7,8,9] ...

presque 4 ans il y a

A résolu


Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número. Algunos ejemplos para ayudarte serían: El número 125 tie...

presque 4 ans il y a

A résolu


Anagram
Given two strings, check whether they're anagrams to each other or not.

presque 4 ans il y a

A résolu


Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

environ 4 ans il y a

A résolu


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

environ 4 ans il y a

A résolu


Create tangent function out of sine function only
Please don't use cosine and tangent functions

environ 4 ans il y a

A résolu


Create tangent function out of cosine only
Please don't use tangent and sine functions

environ 4 ans il y a

A résolu


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

environ 4 ans il y a

A résolu


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 ...

environ 4 ans il y a

A résolu


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

environ 4 ans il y a

A résolu


New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

environ 4 ans il y a

A résolu


Creating a code via test suite :)
Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle

environ 4 ans il y a

A résolu


Primes Checker
Given variable inputs Check if they are prime numbers

environ 4 ans il y a

A résolu


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 1 3 6 9; 0 0 1 3 6; 0 0 0 1...

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

environ 4 ans il y a

A résolu


Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274

environ 4 ans il y a

A résolu


Product of all elements in an array
Compute the product of all elements in an array.

environ 4 ans il y a

A résolu


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

environ 4 ans il y a

A résolu


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

environ 4 ans il y a

A résolu


Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

environ 4 ans il y a

A résolu


Check for keywords
If the entered string is a MATLAB keyword, return true else false

environ 4 ans il y a

A résolu


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

environ 4 ans il y a

A résolu


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

environ 4 ans il y a

A résolu


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

environ 4 ans il y a

A résolu


Cofactor
Given a matrix, find the cofactor of the element in 'i'th row and 'j'th column.

environ 4 ans il y a

Charger plus