解決済み


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

4年弱 前

解決済み


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

4年弱 前

解決済み


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

4年弱 前

解決済み


Convert degrees to radians
Given input in degrees, output to radians

4年弱 前

解決済み


Convert radians to degrees
Given input in radians, output to degrees

4年弱 前

解決済み


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

4年弱 前

解決済み


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

4年弱 前

解決済み


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

4年弱 前

解決済み


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

4年弱 前

解決済み


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

4年弱 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

4年弱 前

解決済み


Laws of motion 3

4年弱 前

解決済み


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

4年弱 前

解決済み


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

4年弱 前

解決済み


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

4年弱 前

解決済み


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

4年弱 前

解決済み


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

4年弱 前

解決済み


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

4年弱 前

解決済み


Add 2 Vectors

4年弱 前

解決済み


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

4年弱 前

解決済み


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

4年弱 前

解決済み


Determine the square root
Determine the square root of the value the user has entered, n.

4年弱 前

解決済み


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

4年弱 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

4年弱 前

解決済み


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

4年弱 前

解決済み


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

4年弱 前

解決済み


easy problem
Find the last element of the array

4年弱 前

解決済み


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

4年弱 前

解決済み


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

4年弱 前

解決済み


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

4年弱 前

さらに読み込む