解決済み


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

3日 前

解決済み


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

3日 前

解決済み


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

3日 前

解決済み


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

3日 前

解決済み


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

3日 前

解決済み


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

3日 前

解決済み


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

3日 前

解決済み


To convolve two vectors
To convolve two vectors

3日 前

解決済み


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

3日 前

解決済み


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

3日 前

解決済み


Summation of integers

3日 前

解決済み


Your favourite city!
Type your favourite city.

3日 前

解決済み


Bruh
Return 'bruh'.

3日 前

解決済み


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.

3日 前

解決済み


Square
square root of x

3日 前

解決済み


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

3日 前

解決済み


Find square of given number
Find Square of any number

3日 前

解決済み


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.

3日 前

解決済み


Square root of number
Square root of given number.

3日 前

解決済み


Volume of Cylinder
Find the volume of a cylinder

3日 前

解決済み


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

3日 前

解決済み


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

3日 前

解決済み


Double the length of the vector

3日 前

解決済み


Half the length of the vector

3日 前

解決済み


Convert from integer to binary
if true % decimalToBinaryVector(x) end

3日 前

解決済み


Sort rows of a matrix
Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

3日 前

解決済み


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

3日 前

解決済み


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

3日 前

解決済み


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

3日 前

さらに読み込む