문제를 풀었습니다


find

거의 6년 전

문제를 풀었습니다


equations

거의 6년 전

문제를 풀었습니다


Unit

거의 6년 전

문제를 풀었습니다


Sum

거의 6년 전

문제를 풀었습니다


Create the vector

거의 6년 전

문제를 풀었습니다


Find out the Gray Code for a Given Binary Number
Find out <http://en.wikipedia.org/wiki/Gray_code Gray Code> for a given binary number Example Binary input 1000 Gray ...

대략 6년 전

문제를 풀었습니다


Create matrix with Gray code
Output "g" should be a matrix of class double, with <http://en.wikipedia.org/wiki/Gray_code Gray reflected binary code>. Inpu...

대략 6년 전

문제를 풀었습니다


Check if a rotated array was originally sorted
Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

대략 6년 전

문제를 풀었습니다


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

대략 6년 전

문제를 풀었습니다


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

대략 6년 전

문제를 풀었습니다


Sorting integers by their digits (Level 1)
Given a vector, v, of positive integers, return a vector, w, by sorting v in ascending order, such that primary sorting is done ...

대략 6년 전

문제를 풀었습니다


Split array into pieces according to corresponding array
An array x of length n has values 1...m with each value appearing at least once. The values are sorted (n>=m). A second...

대략 6년 전

문제를 풀었습니다


Find indices of diagonal elements
Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

대략 6년 전

문제를 풀었습니다


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

대략 6년 전

문제를 풀었습니다


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

대략 6년 전

문제를 풀었습니다


Find Elements in Range
Based on a question on <http://www.mathworks.com/matlabcentral/answers/ MATLAB Answers>. Find all the elements of a vector wh...

대략 6년 전

문제를 풀었습니다


Neither minima nor maxima
Input v is a vector. Return all the elements of v which are not a local minimum or maximum. Example: v = [1 2 3 4 5] Ou...

대략 6년 전

문제를 풀었습니다


Find the position of planet in solarsystem
Write a funtion named *nthplanet* which takes name of the planet as input string and provides the position of the planet, starti...

대략 6년 전

문제를 풀었습니다


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

대략 6년 전

문제를 풀었습니다


How to locate the position of an element in a vector without using the find function
(copy of prob 105 with test for find function) Write a function posX = *locatePos* (x,y) which returns the location o...

대략 6년 전

문제를 풀었습니다


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

대략 6년 전

문제를 풀었습니다


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

대략 6년 전

문제를 풀었습니다


counting sequence
A counting sequence is formed by "counting" the entries in a given sequence.

대략 6년 전

문제를 풀었습니다


sumdigits
function [p1,p2] = goldbach(n) for p1 = 1:n if isprime(p1) p2 = n - p1; if isprime(p2) re...

대략 6년 전

문제를 풀었습니다


find the stepnumber?
you can find the stepnumber.

대략 6년 전

문제를 풀었습니다


how tall are you?
you can find the length wit this code.

대략 6년 전

문제를 풀었습니다


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

대략 6년 전

문제를 풀었습니다


Percentage
There is x liter water and y gram => z is percentage of salt in water

대략 6년 전

문제를 풀었습니다


Polygon Interior Angle Sum
Theorem is (n−2)x180°

대략 6년 전

문제를 풀었습니다


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

대략 6년 전

더 보기