A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

plus d'un an il y a

A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

plus d'un an il y a

A résolu


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

plus d'un an il y a

A résolu


Find The area of the square
Given that the length of the side of a square is x, find the area.

plus d'un an il y a

A résolu


Total energy

plus d'un an il y a

A résolu


Distance Travelled by Vehicle

plus d'un an il y a

A résolu


Slope intercept application
Find y given slope (m), x, and y intercept (b).

plus d'un an il y a

A résolu


Circle : Square

plus d'un an il y a

A résolu


Area of a rectangle
FInd the area of a rectangle with a length L and width W. Round to the nearest integer.

plus d'un an il y a

A résolu


area of a square
find the generic solution for an area of a square

plus d'un an il y a

A résolu


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

plus d'un an il y a

A résolu


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

plus d'un an il y a

A résolu


Inner product of two vectors
Find the inner product of two vectors.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

plus d'un an il y a

A résolu


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

plus d'un an il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

plus d'un an il y a

A résolu


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

plus d'un an il y a

A résolu


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

plus d'un an il y a

A résolu


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

plus d'un an il y a

A résolu


EZ5
EZ5

plus d'un an il y a

A résolu


EZ7
EZ

plus d'un an il y a

A résolu


EZ8
EZ

plus d'un an il y a

A résolu


EZ9
EZ

plus d'un an il y a

A résolu


EZ6

plus d'un an il y a

A résolu


EZ4

plus d'un an il y a

Charger plus