A résolu


Largest Prime Number
Given a matrix X, find the largest prime number in X.

environ 11 ans il y a

A résolu


Determine the length of a string of characters
Determine the length of a string of characters

environ 11 ans il y a

A résolu


Area of a circle
Find the value for area of the circle if diameter is given

environ 11 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

environ 11 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

environ 11 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

environ 11 ans il y a

A résolu


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

environ 11 ans il y a

A résolu


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

environ 11 ans il y a

A résolu


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

environ 11 ans il y a

A résolu


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

environ 11 ans il y a

A résolu


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

environ 11 ans il y a

A résolu


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

environ 11 ans il y a

A résolu


Rounding
Round 10.67 and make 'y' equal to that number.

environ 11 ans il y a

A résolu


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

environ 11 ans il y a

A résolu


Complex number
For complex number c=a+bi, write code that will add a and b together.

environ 11 ans il y a

A résolu


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

environ 11 ans il y a

A résolu


Do operation as per given string
Do operation as per given string Example: '3*5' then answer must be 15; '3+5' then answer must be 8; '35' then answer ...

environ 11 ans il y a

A résolu


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

environ 11 ans il y a

A résolu


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

environ 11 ans il y a

A résolu


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

environ 11 ans il y a

A résolu


Add two different item as shown in example
Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

environ 11 ans il y a

A résolu


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

environ 11 ans il y a

A résolu


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

environ 11 ans il y a

A résolu


ASCii Code
Using Matlab get the ASCii for '?'

environ 11 ans il y a

A résolu


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

environ 11 ans il y a

A résolu


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

environ 11 ans il y a

A résolu


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

environ 11 ans il y a

A résolu


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

environ 11 ans il y a

A résolu


Variable Assignment
Complete the ? part by assigning myExamScore with 100.

environ 11 ans il y a

A résolu


Box!
Given a box, find the volume of the cube. With each side = a.

environ 11 ans il y a

Charger plus