문제를 풀었습니다


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

대략 5년 전

문제를 풀었습니다


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

대략 5년 전

문제를 풀었습니다


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

대략 5년 전

문제를 풀었습니다


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

대략 5년 전

문제를 풀었습니다


Box
Give the volume of a box, x is equal to the body diagonal.

대략 5년 전

문제를 풀었습니다


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

대략 5년 전

문제를 풀었습니다


Determine the area of square if length of the diagonal is given

대략 5년 전

문제를 풀었습니다


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

대략 5년 전

문제를 풀었습니다


Find the Pattern 1

대략 5년 전

문제를 풀었습니다


Upper case and lower case!

대략 5년 전

문제를 풀었습니다


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

대략 5년 전

문제를 풀었습니다


Sum multiples

대략 5년 전

문제를 풀었습니다


Find the slope

대략 5년 전

문제를 풀었습니다


Median computation (★)
Given a vector of values, compute the median. The median is defined as the middle value in a set of *sorted* data. Thus, if ...

대략 5년 전

문제를 풀었습니다


Binary Inversion
Given the unsigned 8-bit integer x, return the number y which is the binary inversion of x. For example if x is 5, y should b...

대략 5년 전

문제를 풀었습니다


calculate Compound Intrest
Calculate Compound Intrest for given data

대략 5년 전

문제를 풀었습니다


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

대략 5년 전

문제를 풀었습니다


Find Sine Function

대략 5년 전

문제를 풀었습니다


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

대략 5년 전

문제를 풀었습니다


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

대략 5년 전

문제를 풀었습니다


i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

대략 5년 전

문제를 풀었습니다


Check capital letters
Check if each first letter of a string is a capital letter. for example: 'This Is Ok' gives a true answer and 'This Is not Ok' ...

대략 5년 전

문제를 풀었습니다


Vector of digits (★★)
Given a positive integer x, construct a vector y with all the digits of x in the order of appearance in x. Thus, if x = 172...

대략 5년 전

문제를 풀었습니다


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

대략 5년 전

문제를 풀었습니다


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

대략 5년 전

문제를 풀었습니다


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

대략 5년 전

문제를 풀었습니다


calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

대략 5년 전

문제를 풀었습니다


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

더 보기