Community Profile

photo

Lee Chih Jung


Last seen: 2 dagar ago
345 total contributions since 2020

Lee Chih Jung's Badges

  • Commenter
  • Promoter
  • Community Group Solver
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Solver

View details...

Contributions in
View by

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

2 dagar ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

4 dagar ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

4 dagar ago

Solved


Area of rhombus
Calculate the rhombus area

5 dagar ago

Solved


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

5 dagar ago

Solved


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

5 dagar ago

Solved


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

5 dagar ago

Solved


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

5 dagar ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

5 dagar ago

Solved


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

5 dagar ago

Solved


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

5 dagar ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

5 dagar ago

Solved


Transpose of matrix
Transpose of matrix as per test cases

5 dagar ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

5 dagar ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

5 dagar ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

5 dagar ago

Solved


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

5 dagar ago

Solved


square number
Square a number

5 dagar ago

Solved


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

5 dagar ago

Solved


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

5 dagar ago

Solved


only input
Return the output without writing any code into the function.

5 dagar ago

Solved


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

5 dagar ago

Solved


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

5 dagar ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

5 dagar ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

5 dagar ago

Solved


Sum the elements in either diagonal of a square matrix
Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal. (Include all elements that are part ...

5 dagar ago

Solved


square root
Find the square root (y) of an input (x).

5 dagar ago

Solved


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

5 dagar ago

Solved


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

5 dagar ago

Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

5 dagar ago

Load more