문제를 풀었습니다


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

6년 초과 전

문제를 풀었습니다


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

6년 초과 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

6년 초과 전

문제를 풀었습니다


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

6년 초과 전

문제를 풀었습니다


Determine if a row vector has NaN
Determine if a row vector x has NaN

6년 초과 전

문제를 풀었습니다


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

6년 초과 전

문제를 풀었습니다


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

6년 초과 전

문제를 풀었습니다


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

6년 초과 전

문제를 풀었습니다


Find remainder when x is divided by 3
Find remainder when x is divided by 3

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

6년 초과 전

문제를 풀었습니다


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

6년 초과 전

문제를 풀었습니다


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

6년 초과 전

문제를 풀었습니다


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

6년 초과 전

문제를 풀었습니다


Is there a GPU Device?
Return true if there is a supported GPU device available on the Cody computer.

6년 초과 전

문제를 풀었습니다


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

6년 초과 전

문제를 풀었습니다


find whether it is prime or not
For a given number find if its prime

6년 초과 전

문제를 풀었습니다


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

6년 초과 전

문제를 풀었습니다


Decimal Comparison
*Background* A utility of particular interest to Cody and other MATLAB ventures is comparing the equality of two numbers. In ...

6년 초과 전

문제를 풀었습니다


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

6년 초과 전

문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

6년 초과 전

문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

6년 초과 전

문제를 풀었습니다


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

6년 초과 전

문제를 풀었습니다


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

6년 초과 전

더 보기