解決済み


square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

11年以上 前

解決済み


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

11年以上 前

解決済み


Find all of the odd integers in a vector between the intergers 1 and 10.
Given vector of integers 1:10 [1 2 3 4 5 6 7 8 9 10]

11年以上 前

解決済み


the function, the box of boxer briefs, being twice the amount being manufactured twice as much x
return y as the function multiplied by x twice

11年以上 前

解決済み


How to make y half of x
Making y equal to x/2.

11年以上 前

解決済み


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

11年以上 前

解決済み


square root
Find the square root (y) of an input (x).

11年以上 前

解決済み


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

11年以上 前

解決済み


Array of Ones
Create a 100 X 100 array of ones.

11年以上 前

解決済み


Alkane
Given a number, x, that is equal to the number of carbons in an alkane, find, y, the number of hydrogens in the alkane.

11年以上 前

解決済み


Find the Sum of r and t.
Find the sum r^2 + t^2

11年以上 前

解決済み


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

11年以上 前

解決済み


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

11年以上 前

解決済み


Sum of integers numbers
Sum of the numbers from 1 to 100

11年以上 前

解決済み


Matlab Basics II - Create a 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] make sure to round UP when n is a...

11年以上 前

解決済み


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

11年以上 前

解決済み


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

11年以上 前

解決済み


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

11年以上 前

解決済み


solve for y that is half as much as three less than one tenth of x
function y = half(x) y = (x * .1); end

11年以上 前

解決済み


Interior angles
Find the sum of interior angles for polygon of x sides.

11年以上 前

解決済み


prime test 2
enter the only non prime,non composite number

11年以上 前

解決済み


Im a lonely single male who spent most of his time doing computer science instead of picking up chicks.
Im a lonely single male who spent most of his time doing computer science instead of picking up chicks. Help me get girls please...

11年以上 前

解決済み


just a try
put x=x^2

11年以上 前

解決済み


design a magic matrix without using the command magic.
Like magic(4) = 16 3 2 13;5 10 11 8;9 6 7 12;4 15 14 1

11年以上 前

解決済み


Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

11年以上 前

問題


just a try
put x=x^2

11年以上 前 | 2 | 525 個のソルバー

解決済み


Create a block diagonal matrix
A block diagonal matrix is a square matrix that can be written as A = [a 0 0 0 0 b 0 0 0 0 c 0 ...

11年以上 前

解決済み


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

11年以上 前

解決済み


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

11年以上 前

解決済み


Remove the Zero
Given an array n, remove all zeros

11年以上 前

さらに読み込む