Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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.

más de 10 años hace

Resuelto


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.

más de 10 años hace

Resuelto


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.

más de 10 años hace

Resuelto


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

casi 11 años hace

Resuelto


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.

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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.

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Cargar más