문제를 풀었습니다


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

거의 11년 전

문제를 풀었습니다


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

거의 11년 전

문제를 풀었습니다


calculate Compound Intrest
Calculate Compound Intrest for given data

거의 11년 전

문제를 풀었습니다


Equate
Equate y to x

거의 11년 전

문제를 풀었습니다


check whether it is prime or not
Given a number,check whether it is prime or not. If prime output is true else false

거의 11년 전

문제를 풀었습니다


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

거의 11년 전

문제를 풀었습니다


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

거의 11년 전

문제를 풀었습니다


The Hills Are Alive...
After a long day of coding, you decide to get some fresh air and hike up a nearby hill. The hill isn't very tall, but since you...

거의 11년 전

문제를 풀었습니다


Who am I ?
Who am I ? Write any function that reveals itself under these constraints. Hint: I am combinatorial code, and I don't like stat...

거의 11년 전

문제를 풀었습니다


Toeplitize a matrix
Similar to <http://www.mathworks.com/matlabcentral/cody/problems/3094-hankelize-a-matrix Problem 3094. Hankelize a matrix>, now ...

거의 11년 전

문제를 풀었습니다


Generating random matrix with given probability mass function
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/2356-simulating-the-selection-of-a-state-with-given-probabilit...

거의 11년 전

문제를 풀었습니다


Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...

거의 11년 전

문제를 풀었습니다


Combine Data With Gaps
Combine data sets a and b where the datasets have "gaps" or unique points. Example: Input a = [1,0; 2,1; ...

거의 11년 전

문제를 풀었습니다


Arithmetic/geometric sequence, 50/50
a(1) = 0 a(2) = 1 a(2*N) = sqrt(a(2*N-1)*a(2*N+1)) a(2*N+1) = (a(2*N)+a(2*N+2))/2 given _n_ return _a(n)_

거의 11년 전

문제를 풀었습니다


Hankelize a matrix
Similar to <http://www.mathworks.com/matlabcentral/cody/problems/42501-toeplitize-a-matrix Problem 42501. Toeplitize a matrix>, ...

거의 11년 전

문제를 풀었습니다


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

거의 11년 전

문제를 풀었습니다


Pancake sorting
Sort a stack of pancakes by flipping them using spatula. * There are _N_ pancakes with diameters _1:N_. * Spatula can be ins...

거의 11년 전

문제를 풀었습니다


Calculator spelling - Letters to Numbers
Using the numbers on a calculator, and rotating the display 180 degrees, many words can be spelled. In particular, the following...

거의 11년 전

문제를 풀었습니다


Calculator spelling - Numbers to Letters
Using the numbers on a calculator, and rotating the display 180 degrees, many words can be spelled. In particular, the following...

거의 11년 전

문제를 풀었습니다


Pancake sorting - minimum flips.
Sort a stack of pancakes by flipping them using spatula. * There are _N_ pancakes with diameters _1:N_. * Spatula can be ins...

거의 11년 전

문제를 풀었습니다


combine cells
A cell type variable is created. However it has other cells in itself. we want to integrate them all in a single cell. the conte...

거의 11년 전

문제를 풀었습니다


Repeat string n times - 3
function myOutput = rep_str_3(string1, string2, num1, num2, n) function desiredOutput = rep_str_3('string1', 'STRING2', 0...

거의 11년 전

문제를 풀었습니다


Eliminate Outliers Using Interquartile Range
Given a vector with your "data" find the outliers and remove them. To determine whether data contains an outlier: # Identi...

거의 11년 전

문제를 풀었습니다


Repeat string n times - 2
This is the two variable version of <http://www.mathworks.com/matlabcentral/cody/problems/42482-repeat-string-n-times Repeat str...

거의 11년 전

문제를 풀었습니다


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

거의 11년 전

문제를 풀었습니다


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

거의 11년 전

답변 있음
Simulating the Central Limit Theorem with Non Uniform Distribution in MATLAB
x = mean(rand(100,1000)); hist(x);

거의 11년 전 | 2

문제를 풀었습니다


Repeat string n times
* You will be provided a string (s = 'string1_') * a starting point (num1 = 6) (always bigger than or equal to zero) * and n (...

거의 11년 전

문제를 풀었습니다


Go back n times
You will be given a column vector (such as x = [1; 2; 3; 4; 5; 6; 7; 8]). If (n=3) you will return following; [ 1 NaN NaN Na...

거의 11년 전

문제를 풀었습니다


Best Problem Elections
When I am writing those words, there are 2002 problems on Cody. Many of them are simply wonderful. Do you remember which of them...

거의 11년 전

더 보기