Gelöst


Create a code for XNOR
Given two inputs, output XNOR of those two

23 Tage vor

Gelöst


Number Power
Raise a number to itself.

23 Tage vor

Gelöst


find the value

23 Tage vor

Gelöst


Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

23 Tage vor

Gelöst


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

23 Tage vor

Gelöst


Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

23 Tage vor

Gelöst


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

23 Tage vor

Gelöst


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

23 Tage vor

Gelöst


number play

23 Tage vor

Gelöst


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]

23 Tage vor

Gelöst


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

23 Tage vor

Gelöst


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

23 Tage vor

Gelöst


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

23 Tage vor

Gelöst


Battery Charge Efficiency Calculation
In a Battery Management System (BMS), the efficiency of battery charging can be estimated using the formula: where: is the...

23 Tage vor

Gelöst


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

23 Tage vor

Gelöst


Multiplication
Multiply a and b.

23 Tage vor

Gelöst


Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.

23 Tage vor

Gelöst


Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...

23 Tage vor

Gelöst


X-intercepts of a quadratic.
Find the y value of the quadratic of the function at a point x.

23 Tage vor

Gelöst


PEMDAS

23 Tage vor

Gelöst


Squares
Find the square of x.

23 Tage vor

Gelöst


Subtraction
Subtract a from b.

23 Tage vor

Gelöst


Division
Divide a by b.

23 Tage vor

Gelöst


Addition II
find a+b+c+d

23 Tage vor

Gelöst


Addition
Add together the values of a and b.

23 Tage vor

Gelöst


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

23 Tage vor

Gelöst


How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

23 Tage vor

Mehr laden