解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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.

8年弱 前

解決済み


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?

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

解決済み


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

8年弱 前

さらに読み込む