문제를 풀었습니다


Draw 'S'
draw S using nxn matrix, where n is odd and greater than 4 S = [1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 1 ...

대략 1년 전

문제를 풀었습니다


Tribute to Ramanujan
The nth taxicab number, denoted as T(n), is defined as the smallest number that can be expressed as a sum of two positive algebr...

대략 1년 전

문제를 풀었습니다


Number Puzzles - 005

대략 1년 전

문제를 풀었습니다


Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

대략 1년 전

문제를 풀었습니다


Find the standard deviation of an array
given an array, find it's standard deviation without using the std() function. Use sample formula (n-1) for standard deviation a...

대략 1년 전

문제를 풀었습니다


Probability of red tulips (at both ends of a row)
I planted tulip bulbs in a row on my flower bed. I thought that I had planted white tulips all. However, later, it turned out t...

대략 1년 전

문제를 풀었습니다


New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

대략 1년 전

문제를 풀었습니다


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

대략 1년 전

문제를 풀었습니다


Low level NaN
I have a dataset. Columns represents different variables. A variable may start with NaN or any double type number. If it start...

대략 1년 전

문제를 풀었습니다


Find the solution of algebraic equation
Find the solution of algebraic equation of the form an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0; ...

대략 1년 전

문제를 풀었습니다


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

대략 1년 전

문제를 풀었습니다


Maximizing Stock Profit
As a stock exchange broker focusing on a single transaction, your goal is to maximize profit by buying a stock at a low price an...

대략 1년 전

문제를 풀었습니다


Perfect shuffle
We call "perfect shuffle" the process of cutting a deck of cards into two equal halves, and then perfectly interleaving them: on...

대략 1년 전

문제를 풀었습니다


Digits eliminate
Complete the function my_f(n,b) to return, for a given integer, the number obtained by removing the digits '0' and 'b'. If there...

대략 1년 전

문제를 풀었습니다


Counting the occurrences of a digit in a book
The printer has printed a book with 'p' pages. How many times did they use the character 'd'? In other words, how many times doe...

대략 1년 전

문제를 풀었습니다


Number Puzzle - 063

대략 1년 전

문제를 풀었습니다


Triangulo Semelhante
Dados dois vetores A = (a1, a2, a3) e B = (b1, b2, b3) sendo referentes a arestas de triangulos. Verifique se os triangulos são ...

대략 1년 전

문제를 풀었습니다


Tipos de Triangulos
Dados os tamanhos dos lados de um triangulos A, B e C. Retorne qual o tipo do triangulo: 'equilátero', 'escaleno' ou 'isósceles'...

대략 1년 전

문제를 풀었습니다


Find mass of single floor in building
A model building has three floors are highlighted in different colours here: Assu...

대략 1년 전

문제를 풀었습니다


Lancer de dés
Ecrire une fonction qui imite le lancer d'un dé, i-e qui renvoie de façon aléatoire un entier entre 1 et 6. Attention cette fon...

대략 1년 전

문제를 풀었습니다


determine skid distance of car
Determine the distance a car skids to a stop given initial velocity (v) and time (t).

대략 1년 전

문제를 풀었습니다


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

대략 1년 전

문제를 풀었습니다


function to compute root mean square of first nn positive odd integers
Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

대략 1년 전

문제를 풀었습니다


Draw a x-by-x matrix 'Denmark flag'(Euro(2020)
Draw a x-by-x matrix 'Denmark flag' using '4' and '1'.(x is odd and bigger than 4) Number 4: Caption S.Kjær and number 1: K.S...

대략 1년 전

문제를 풀었습니다


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

대략 1년 전

문제를 풀었습니다


Cell Source Index
Suppose that C is a cell array whose elements consist of row vectors of elements of the same type. For example, C could be a ce...

대략 1년 전

문제를 풀었습니다


convert the number to binary format & count digits
Convert the given number to the corresponding binary format and count the number of digits in that binary number

대략 1년 전

문제를 풀었습니다


Check for keywords
If the entered string is a MATLAB keyword, return true else false

대략 1년 전

문제를 풀었습니다


The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1, otherwise return 0. eg. input x = [1 2 NaN ; 4 NaN 6] >>> out...

대략 1년 전

문제를 풀었습니다


Number Puzzle - 048

대략 1년 전

더 보기