문제를 풀었습니다


polar inertia
given locations of a set of unit masses on complex plane, find polar moment of inerta about the origin. for example output 4 if ...

9년 초과 전

문제를 풀었습니다


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

9년 초과 전

문제를 풀었습니다


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

9년 초과 전

문제를 풀었습니다


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

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년 초과 전

문제를 풀었습니다


Basic commands - What platform are you using?
Please ask matlab waht platform are you using.

9년 초과 전

문제를 풀었습니다


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

9년 초과 전

답변 있음
3D grouped bar graph
I think the only way is to group data into one matrix (bar2 groups data row-wise) figure(1) bar3([y1,y2],'grouped')

9년 초과 전 | 0

답변 있음
Randomly scramble letters in a single word
No need of while. If you want to permute word letters with forced use of a loop, extract one-by-one the letters from word withou...

9년 초과 전 | 1

답변 있음
How to find unique elements in a vector without using unique or find?
Use an histogram based approach (works only for positive integers) %get M random numbers from 1 to N M=10; N=25; ...

9년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Create an 8-color version of an image
This problem was inspired by a tweet I saw from @MATLAB regarding <http://www.mathworks.com/matlabcentral/fileexchange/37816-the...

9년 초과 전

문제를 풀었습니다


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

9년 초과 전

문제를 풀었습니다


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

9년 초과 전

문제를 풀었습니다


Find out characteristics equation of given matrix.
Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2] ...

9년 초과 전

문제를 풀었습니다


Number of primes
Count the number of primes less than 'n'.

9년 초과 전

문제를 풀었습니다


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Calculate cross product
Make function for cross product a=[1 3 2]; b=[2 4 1]; y=function(a,b) y=[-5 3 -2]

9년 초과 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

9년 초과 전

문제를 풀었습니다


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

9년 초과 전

문제를 풀었습니다


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

9년 초과 전

문제를 풀었습니다


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

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년 초과 전

문제를 풀었습니다


Halder function
Find the halder function value of a number

9년 초과 전

문제를 풀었습니다


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

9년 초과 전

문제를 풀었습니다


expand intervals vol.2
Similar to problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528>. This is a more general case, when bounds ...

9년 초과 전

문제를 풀었습니다


Approximate e
Given a and n, compute and approximation to f = a * e ^ n, without the use of exp, string operations, or floating point numbers....

9년 초과 전

문제를 풀었습니다


Detect pair of equal values in a Matrix
A 2D matrix of 2 rows and N columns with random integer numbers. A = [3 1 2 4 6 6 7; 7 3 2 1 5 2 4] ...

9년 초과 전

답변 있음
How to mirror matrix on the diagonal?
In the case described before it is: A=[1 2 3;4 5 6;7 8 9] rot90(A,2)' which gives: A= 1 2 3 4 5 6 ...

9년 초과 전 | 4

문제를 풀었습니다


Does this dress make me look fat
For the input string "Does xyz make me look fat" output the string "No, xyz does not make you look fat"

9년 초과 전

더 보기