已解决


Values in Array
How many values are in the array

8 years 前

已解决


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

8 years 前

已解决


Getting the row and column location from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get <http://www.mathwo...

8 years 前

已解决


Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

8 years 前

已解决


y equals x divided by 2
function y = x/2

8 years 前

已解决


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

8 years 前

已解决


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

8 years 前

已解决


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

8 years 前

已解决


radius of a spherical planet
You just measured its surface area, that is the input.

8 years 前

已解决


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

8 years 前

已解决


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

8 years 前

已解决


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

8 years 前

已解决


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

8 years 前

已解决


Return area of square
Side of square=input=a Area=output=b

8 years 前

已解决


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

8 years 前

已解决


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

8 years 前

已解决


Square a Number
Given an input x, return y, which is equal to the square of x.

8 years 前

已解决


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

8 years 前

已解决


square number
Square a number

8 years 前

已解决


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

8 years 前

已解决


Square root of a number
Write a code that will output the square root of x.

8 years 前

已解决


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

8 years 前

已解决


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

8 years 前

已解决


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

8 years 前

已解决


Find the sum of n squares
What is the sum of the squares of the first n integers?

8 years 前

已解决


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

8 years 前

已解决


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

8 years 前

已解决


Area of square
Find the area of a square whose diagonal length is given as x.

8 years 前

已解决


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

8 years 前

已解决


square of a number
find square of a given number

8 years 前

加载更多