Gelöst


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

fast 3 Jahre vor

Gelöst


Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

fast 3 Jahre vor

Gelöst


Circle : Square

fast 3 Jahre vor

Gelöst


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

fast 3 Jahre vor

Gelöst


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

fast 3 Jahre vor

Gelöst


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

fast 3 Jahre vor

Gelöst


Find the remainder - 02
Given an array of integers, find the remainder when the summation of all the elements is divided by N

fast 3 Jahre vor

Gelöst


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

fast 3 Jahre vor

Gelöst


CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

fast 3 Jahre vor

Gelöst


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.

fast 3 Jahre vor

Gelöst


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.

fast 3 Jahre vor

Gelöst


Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

fast 3 Jahre vor

Gelöst


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

fast 3 Jahre vor

Gelöst


Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

fast 3 Jahre vor

Gelöst


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

fast 3 Jahre vor

Gelöst


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

fast 3 Jahre vor

Gelöst


factorial_calc(n)
Write a MATLAB function called factorial_calc(n) that takes a positive integer n as input and calculates the factorial of n. The...

fast 3 Jahre vor

Gelöst


Test

fast 3 Jahre vor

Gelöst


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

fast 3 Jahre vor

Gelöst


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

fast 3 Jahre vor

Gelöst


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

fast 3 Jahre vor

Gelöst


determine if
determine if the elements of a matrix is a nan and return true

fast 3 Jahre vor

Gelöst


find the 'M'
for an input x, return 1 at the location of the letter 'M'

fast 3 Jahre vor

Gelöst


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

fast 3 Jahre vor

Gelöst


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

fast 3 Jahre vor

Gelöst


wipe out!
make all the elements in given x zero.

fast 3 Jahre vor

Gelöst


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

fast 3 Jahre vor

Gelöst


Number Power
Raise a number to itself.

fast 3 Jahre vor

Gelöst


Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

fast 3 Jahre vor

Mehr laden