문제를 풀었습니다


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

3년 초과 전

문제를 풀었습니다


Bruh
Return 'bruh'.

3년 초과 전

문제를 풀었습니다


Construct a string from letters and counts
Given two input arrays like this: [5,3,1] ['a','b','c'] Output a string that contains each letter the specified num...

3년 초과 전

문제를 풀었습니다


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

3년 초과 전

문제를 풀었습니다


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

3년 초과 전

문제를 풀었습니다


raise 1/3
Raise a number to 1/3 power.

3년 초과 전

문제를 풀었습니다


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

3년 초과 전

문제를 풀었습니다


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

3년 초과 전

문제를 풀었습니다


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

3년 초과 전

문제를 풀었습니다


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

3년 초과 전

문제를 풀었습니다


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

3년 초과 전

문제를 풀었습니다


Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

3년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

3년 초과 전

문제를 풀었습니다


Find the Pattern 10

3년 초과 전

문제를 풀었습니다


Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...

3년 초과 전

문제를 풀었습니다


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

3년 초과 전

문제를 풀었습니다


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

3년 초과 전

문제를 풀었습니다


Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

3년 초과 전

문제를 풀었습니다


prime test 2
enter the only non prime,non composite number

3년 초과 전

문제를 풀었습니다


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

3년 초과 전

문제를 풀었습니다


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

3년 초과 전

문제를 풀었습니다


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

3년 초과 전

문제를 풀었습니다


kmph to mph converter
Convert the speed in miles/hour to km/hour.

3년 초과 전

문제를 풀었습니다


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

3년 초과 전

문제를 풀었습니다


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

3년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.14
Solve 3^x = 17

3년 초과 전

문제를 풀었습니다


Variable_Addition
be able to add any variable to the number one

3년 초과 전

문제를 풀었습니다


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

3년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

3년 초과 전

문제를 풀었습니다


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

3년 초과 전

더 보기