Risolto


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

circa 4 anni fa

Risolto


Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

circa 4 anni fa

Risolto


The twelve days of Christmas
Traditionally there are twelve days of Christmas to celebrate ("Twelvetide"), typically starting with Christmas Day (25 December...

circa 4 anni fa

Risolto


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

circa 4 anni fa

Risolto


Compare two strings.
Compare two strings, whether they are equal or not.

circa 4 anni fa

Risolto


Values in Array
How many values are in the array

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

circa 4 anni fa

Risolto


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

circa 4 anni fa

Risolto


Mile to Kilometer
x is mile and y is km

circa 4 anni fa

Risolto


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

circa 4 anni fa

Risolto


Percentage
There is x liter water and y gram => z is percentage of salt in water

circa 4 anni fa

Risolto


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

circa 4 anni fa

Risolto


Number Power
Raise a number to itself.

circa 4 anni fa

Risolto


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

circa 4 anni fa

Risolto


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

circa 4 anni fa

Risolto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

circa 4 anni fa

Risolto


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

circa 4 anni fa

Risolto


Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

circa 4 anni fa

Risolto


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

circa 4 anni fa

Risolto


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

circa 4 anni fa

Risolto


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

circa 4 anni fa

Risolto


Reverse the Matrix
Given a Matrix A, reverse it. Such that, last element of A becomes 1st and vice versa. for example: Input = [1 2 3;4 5 ...

circa 4 anni fa

Risolto


Sideways sum
Given natural number calculate its _population count_.

circa 4 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

circa 4 anni fa

Risolto


Multiply pi
Multiply pi with x!

circa 4 anni fa

Risolto


Divide pi
Divide pi by x!

circa 4 anni fa

Risolto


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

circa 4 anni fa

Risolto


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

circa 4 anni fa

Carica altro