Resuelto


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

casi 5 años hace

Resuelto


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

casi 5 años hace

Resuelto


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

casi 5 años hace

Problema


Easy Sequences 35: Cutting a donut to Semi-prime pieces
The figure below illustrates how a torus (donut shape) can be cut in pieces with only cuts: ...

casi 5 años hace | 0 | 9 solvers

Resuelto


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

casi 5 años hace

Resuelto


Combination logic
Create an algorithm in MATLAB that calculate the combination for the given positive integers n and k as inputs. When k > n, the ...

casi 5 años hace

Resuelto


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

casi 5 años hace

Resuelto


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

casi 5 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

casi 5 años hace

Resuelto


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

casi 5 años hace

Resuelto


square of a number
find square of a given number

casi 5 años hace

Resuelto


cube of number
find cube of number

casi 5 años hace

Resuelto


square root
Find square root of given number

casi 5 años hace

Resuelto


Variable_Addition
be able to add any variable to the number one

casi 5 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

casi 5 años hace

Resuelto


Determine if a row vector has NaN
Determine if a row vector x has NaN

casi 5 años hace

Resuelto


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

casi 5 años hace

Resuelto


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

casi 5 años hace

Resuelto


Test if a number is numeric or not
Test if a number is numeric or not

casi 5 años hace

Resuelto


factorial of a number x
Factorial of a number x

casi 5 años hace

Resuelto


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


Conversion from hours to mili sec
Convert given input in hours to mili seconds

casi 5 años hace

Cargar más