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

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

10 mois il y a

A résolu


Find square of given number
Find Square of any number

10 mois il y a

A résolu


Multiply pi
Multiply pi with x!

10 mois il y a

A résolu


Size

10 mois il y a

A résolu


cube of number
find cube of number

10 mois il y a

A résolu


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

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

10 mois il y a

A résolu


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

10 mois il y a

A résolu


Square root of number
Square root of given number.

10 mois il y a

A résolu


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

10 mois il y a

A résolu


raise 1/3
Raise a number to 1/3 power.

10 mois il y a

A résolu


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

10 mois il y a

A résolu


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

10 mois il y a

A résolu


Sort in descending order.

10 mois il y a

A résolu


divide by 5

10 mois il y a

A résolu


Calculate y=2
Find the value of x so that y=2

10 mois il y a

A résolu


EZ8
EZ

10 mois il y a

A résolu


EZ7
EZ

10 mois il y a

A résolu


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

10 mois il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

10 mois il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

10 mois il y a

A résolu


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

10 mois il y a

A résolu


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

10 mois il y a

A résolu


Create a vector
Create a vector from 0 to n by intervals of 2.

10 mois il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

10 mois il y a

A résolu


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

10 mois il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

10 mois il y a

A résolu


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

10 mois il y a

A résolu


Temperature Conversion 1

10 mois il y a

Charger plus