문제를 풀었습니다


A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

7년 초과 전

문제를 풀었습니다


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


A matrix of introverts
You are given a matrix full of numbers who happen to be very shy. Write a MATLAB function that will put a square of zeros aroun...

7년 초과 전

문제를 풀었습니다


Values in Array
How many values are in the array

7년 초과 전

문제를 풀었습니다


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

7년 초과 전

문제를 풀었습니다


exactly?
given two strings of numeric expressions such as '1-7/14' and '11/22+0.2^2', return 1 if they are numerically exactly equal othe...

7년 초과 전

문제를 풀었습니다


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

7년 초과 전

문제를 풀었습니다


Procrustean bed
Given a vector x and an integer n, convert x to a vector of length n by (1) chopping off the end if it is too long, or (2) addin...

7년 초과 전

문제를 풀었습니다


Test if a number is numeric or not
Test if a number is numeric or not

7년 초과 전

문제를 풀었습니다


imaginary results
Return the value of the imaginary number i to the power of input argument n.

7년 초과 전

문제를 풀었습니다


Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

7년 초과 전

문제를 풀었습니다


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

7년 초과 전

문제를 풀었습니다


Concatenate two strings
Its very easy. Just concatenate two strings.

7년 초과 전

문제를 풀었습니다


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

7년 초과 전

문제를 풀었습니다


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

7년 초과 전

문제를 풀었습니다


Calculate volume of box
Calculate the volume of box,hiven its sides

7년 초과 전

문제를 풀었습니다


Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...

7년 초과 전

문제를 풀었습니다


Basic commands - Left division matrix
Please write a function which will left division of A,B Pay attention this is right division: A/B

7년 초과 전

문제를 풀었습니다


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

7년 초과 전

문제를 풀었습니다


count to vector
Return a matrix of numbers of dimension K by N, where K = prod(v), and N=length(v). The rows count from a vector of ones up to v...

7년 초과 전

문제를 풀었습니다


Your favourite city!
Type your favourite city.

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Add two different item as shown in example
Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

7년 초과 전

문제를 풀었습니다


Celsius to Kelvin
Degrees Celsius = Kelvin - 273.15

7년 초과 전

문제를 풀었습니다


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

7년 초과 전

문제를 풀었습니다


Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

7년 초과 전

문제를 풀었습니다


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

7년 초과 전

더 보기