Gelöst


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

mehr als 3 Jahre vor

Gelöst


Sum two matrices
Take two incoming matrices, and sum them

mehr als 3 Jahre vor

Gelöst


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

mehr als 3 Jahre vor

Gelöst


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

mehr als 3 Jahre vor

Gelöst


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

mehr als 3 Jahre vor

Gelöst


Crate a vector of logarithmically spaced
Create a vector of logarithmically spaced from 10^0 to 10^x with n sample Example: if x=4 and n=3 Answer must be=[1 100 10...

mehr als 3 Jahre vor

Gelöst


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

mehr als 3 Jahre vor

Gelöst


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

mehr als 3 Jahre vor

Gelöst


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

mehr als 3 Jahre vor

Gelöst


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

mehr als 3 Jahre vor

Gelöst


Square
square root of x

mehr als 3 Jahre vor

Gelöst


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4]

mehr als 3 Jahre vor

Gelöst


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

mehr als 3 Jahre vor

Gelöst


cube of number
find cube of number

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

mehr als 3 Jahre vor

Gelöst


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

mehr als 3 Jahre vor

Gelöst


Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

mehr als 3 Jahre vor

Gelöst


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

mehr als 3 Jahre vor

Gelöst


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

mehr als 3 Jahre vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

mehr als 3 Jahre vor

Gelöst


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

mehr als 3 Jahre vor

Gelöst


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

mehr als 3 Jahre vor

Gelöst


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

mehr als 3 Jahre vor

Mehr laden