Community Profile

photo

lmqfish


Last seen: 18일 전
16 2018 이후 총 참여 횟수

연락

lmqfish's 배지

  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

12달 전

해결됨


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

2년 이하 전

해결됨


Return area of square
Side of square=input=a Area=output=b

2년 이하 전

해결됨


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2년 이하 전

해결됨


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2년 이하 전

해결됨


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2년 이하 전

해결됨


Add two numbers
Given a and b, return the sum a+b in c.

2년 이하 전

해결됨


Circle/Pentagon Overlap
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

2년 이상 전

해결됨


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

2년 이상 전

해결됨


Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...

2년 이상 전

해결됨


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

2년 이상 전

해결됨


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

2년 이상 전

해결됨


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2년 이상 전

해결됨


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

2년 이상 전

해결됨


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2년 이상 전

해결됨


Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...

2년 이상 전