Resuelto


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

alrededor de 8 años hace

Resuelto


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

alrededor de 8 años hace

Resuelto


kmph to mph converter
Convert the speed in miles/hour to km/hour.

alrededor de 8 años hace

Resuelto


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

alrededor de 8 años hace

Resuelto


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

alrededor de 8 años hace

Resuelto


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

alrededor de 8 años hace

Resuelto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

alrededor de 8 años hace

Resuelto


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

alrededor de 8 años hace

Resuelto


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

alrededor de 8 años hace

Resuelto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

alrededor de 8 años hace

Resuelto


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

alrededor de 8 años hace

Resuelto


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

alrededor de 8 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

alrededor de 8 años hace

Resuelto


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

alrededor de 8 años hace

Resuelto


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

alrededor de 8 años hace

Resuelto


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

alrededor de 8 años hace

Resuelto


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

alrededor de 8 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.

alrededor de 8 años hace

Resuelto


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

alrededor de 8 años hace

Resuelto


find whether it is prime or not
For a given number find if its prime

alrededor de 8 años hace

Resuelto


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

alrededor de 8 años hace

Resuelto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

alrededor de 8 años hace

Resuelto


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

alrededor de 8 años hace

Resuelto


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

alrededor de 8 años hace

Resuelto


Find remainder when x is divided by 3
Find remainder when x is divided by 3

alrededor de 8 años hace

Resuelto


first element of matrix
find the first elements of a column matrix

alrededor de 8 años hace

Resuelto


multiply an array by its position number
You have given an array. Multiply an array by its position number

alrededor de 8 años hace

Cargar más