Solved


Make a diamond
Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...

13 days ago

Solved


Find the logic and return the nth number (plus)
This problem is the harder version of Problem 61015 given a sequence of numbers arranged in the following order: A=0,1,3,4,9,1...

13 days ago

Solved


Find the index of nth maximum of a row vector of real numbers
Given a vector of real numbers x, find the index idx of _n_ th maximum value. If nth maximum occurs more than once, return the i...

13 days ago

Solved


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

13 days ago

Solved


Find the nth composite number.
Everyone heard about the nth prime number. Let's try to find out the nth composite. For example , 1 is the first composite, 10 i...

13 days ago

Solved


Find the logic and return the nth number
given a sequence of numbers arranged in the following order: A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,...... Write a function th...

13 days ago

Solved


find the nth fibonacci number
The Fibonacci sequence is defined as follows: give n, find the nth fibonacci number

13 days ago

Solved


Find nth number
The numbers 2 and 7 are called lucky numbers, an integer containing only the digits 2 and 7 is also called lucky number. The pro...

13 days ago

Solved


Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

13 days ago

Solved


Estimate Pi by Monte Carlo method
We can estimate the value of pi with random number by Monte Carlo method. Suppose we have a square of side length of 1 and a q...

13 days ago

Solved


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

13 days ago

Solved


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

13 days ago

Solved


Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

13 days ago

Solved


Box
Give the volume of a box, x is equal to the body diagonal.

13 days ago

Solved


Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

13 days ago

Solved


To convolve two vectors
To convolve two vectors

13 days ago

Solved


string comparision
compare two strings if both are same return 1 else return 0

13 days ago

Solved


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

13 days ago

Solved


Summation of integers

13 days ago

Solved


Your favourite city!
Type your favourite city.

13 days ago

Solved


Bruh
Return 'bruh'.

13 days ago

Solved


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

13 days ago

Solved


Square
square root of x

13 days ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

13 days ago

Solved


Find square of given number
Find Square of any number

13 days ago

Solved


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

13 days ago

Solved


Square root of number
Square root of given number.

13 days ago

Solved


Volume of Cylinder
Find the volume of a cylinder

13 days ago

Solved


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

13 days ago

Load more