문제를 풀었습니다


Dot Product

거의 3년 전

문제를 풀었습니다


10% Discount

거의 3년 전

문제를 풀었습니다


Add 2 Vectors

거의 3년 전

문제를 풀었습니다


Find Sum of array

거의 3년 전

문제를 풀었습니다


Cutoff OF Exam

거의 3년 전

문제를 풀었습니다


Find square of given number
Find Square of any number

거의 3년 전

문제를 풀었습니다


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

거의 3년 전

문제를 풀었습니다


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...

거의 3년 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

거의 3년 전

문제를 풀었습니다


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

거의 3년 전

문제를 풀었습니다


Area of rhombus
Calculate the rhombus area

거의 3년 전

문제를 풀었습니다


y equals x divided by 2
function y = x/2

거의 3년 전

문제를 풀었습니다


non-repitition of numbers in a vector

거의 3년 전

문제


Sequence problem
find the nth term of the sequence: 790 1303 2033 ____ 4366 6095

거의 3년 전 | 1 | 솔버 수: 9

문제를 풀었습니다


Sum the elements in either diagonal of a square matrix
Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal. (Include all elements that are part ...

거의 3년 전

문제를 풀었습니다


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

거의 3년 전

문제를 풀었습니다


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

거의 3년 전

문제를 풀었습니다


Square Patterns in a square matrix

거의 3년 전

문제를 풀었습니다


Determine if input is a perfect number
A perfect number occurs whent the sum of all divisors of a positive integer, except the number itself, equals the number. Examp...

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


Find the repeating elements and repetitions of a row vector.
So let's say that x is a vector, for example, x = [4, 4, 5, 5, 5, 6, 7, 7,8, 8, 8, 8] Now we want to get the following two ve...

거의 3년 전

문제를 풀었습니다


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

거의 3년 전

문제를 풀었습니다


Solving a quadratic equation
Given a, b ​​and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

거의 3년 전

문제를 풀었습니다


Triangle Numbers Below N
This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

거의 3년 전

문제를 풀었습니다


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

거의 3년 전

문제를 풀었습니다


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

거의 3년 전

문제를 풀었습니다


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

거의 3년 전

문제를 풀었습니다


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

거의 3년 전

더 보기