Community Profile

photo

Hao-Wei Hsieh


Last seen: 대략 1년 전 2021년부터 활동

통계

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

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

2년 초과 전

문제를 풀었습니다


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Negative matrix
Change the sign of all elements in given matrix.

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Rounding
Round 10.67 and make 'y' equal to that number.

2년 초과 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

2년 초과 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

2년 초과 전

문제를 풀었습니다


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

2년 초과 전

문제를 풀었습니다


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

2년 초과 전

문제를 풀었습니다


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

2년 초과 전

문제를 풀었습니다


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

2년 초과 전

문제를 풀었습니다


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

2년 초과 전

문제를 풀었습니다


find the value

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

2년 초과 전

문제를 풀었습니다


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

2년 초과 전

문제를 풀었습니다


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

2년 초과 전

문제를 풀었습니다


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2년 초과 전

문제를 풀었습니다


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

2년 초과 전

문제를 풀었습니다


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

2년 초과 전

문제를 풀었습니다


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

2년 초과 전

문제를 풀었습니다


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

2년 초과 전

문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2년 초과 전

문제를 풀었습니다


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

2년 초과 전

문제를 풀었습니다


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

2년 초과 전

문제를 풀었습니다


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

2년 초과 전

문제를 풀었습니다


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

2년 초과 전

문제를 풀었습니다


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

2년 초과 전

더 보기