Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Number Puzzles - 005

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Number Puzzle - 063

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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.

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Number Puzzle - 048

etwa ein Jahr vor

Mehr laden