문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

9년 초과 전

문제를 풀었습니다


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

9년 초과 전

문제를 풀었습니다


Triplicate me
Given an input vector, output a 3n vector with all elements of input vector repeated thrice Example : in->[1 2 3 5] out...

9년 초과 전

문제를 풀었습니다


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Get Cody's screen size
Return an object that helps this problem's test suite return Cody's screen size.

9년 초과 전

문제를 풀었습니다


Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

9년 초과 전

제출됨


hannoi
https://en.wikipedia.org/wiki/Tower_of_Hanoi

9년 초과 전 | 다운로드 수: 1 |

0.0 / 5

제출됨


balance1(x)
if the parenthesis is right

9년 초과 전 | 다운로드 수: 0 |

0.0 / 5

제출됨


eight queens
eight queens

9년 초과 전 | 다운로드 수: 2 |

0.0 / 5

제출됨


multip_prod(varargin)
product of several numbers

9년 초과 전 | 다운로드 수: 1 |

0.0 / 5

제출됨


multip_add(varargin)
calculate sum of several number

9년 초과 전 | 다운로드 수: 0 |

0.0 / 5

문제를 풀었습니다


Writing a function: MaxValue()
Write a local function named MaxValue that returns the maximum of two inputs numA and numB.

9년 초과 전

문제를 풀었습니다


Writing a recursive math function
Complete the recursive function RaiseToPower(). Ex: If userBase is 2 and userExponent is 4, then raisedValue is assigned wit...

9년 초과 전

문제를 풀었습니다


Prime checker
Complete the recursive function to determine if a number is prime. Skeletal code is provided in the PrimeChecker function.

9년 초과 전

문제를 풀었습니다


Number of pennies
Complete the function ConvertToPennies() so that the function returns the total number of pennies given a number of dollars and ...

9년 초과 전

문제를 풀었습니다


Currency conversion
A currency exchange booth offers an exchange rate of 119.771 Japanese yen for 1 US dollar. The currency exchange booth rounds do...

9년 초과 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

9년 초과 전

문제를 풀었습니다


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0.

9년 초과 전

문제를 풀었습니다


Calculate z=x^2+y^2
There are z in (x,y). x=1:10;y=1:10 [x y]=meshgrid(x,y) Calculate x^2+y^2.

9년 초과 전

문제를 풀었습니다


Calculate polynomial equation
Calculate this equation using given x 1+x+x^2+x^3+....x^99 (hint: use polyval)

9년 초과 전

문제를 풀었습니다


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

9년 초과 전

문제를 풀었습니다


Basic commands - How old is your matlab version?
Please make a function, which gives amount of days since release it's version.

9년 초과 전

문제를 풀었습니다


Find index of a string in a cell array
Write a function that finds the index at which the cell array of strings C contains the exact string S. So if C = {'twe...

9년 초과 전

문제를 풀었습니다


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

9년 초과 전

문제를 풀었습니다


how to create zero square matrix with given order?
y-Zero square matrix with given input order x.

9년 초과 전

문제를 풀었습니다


How to power of a given number&exponent?
How to power of a given number&exponent?

9년 초과 전

문제를 풀었습니다


find number of buses for given to and from lines
find number of buses for given to and from lines

9년 초과 전

문제를 풀었습니다


Make 3d matrix from other matrix
A=[1 1;2 2]; B=[2 2;3 3]; C=[0 0;1 3]; Using given three matrix, make 3 dimensional matrix [D] by stacking.

9년 초과 전

더 보기