Gelöst


Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I​ where: V is the voltage (in volts) I is the current (in ampere...

3 Tage vor

Gelöst


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

3 Tage vor

Gelöst


Draw a '4' in a zero matrix!

4 Tage vor

Gelöst


Draw a '6' in a zero matrix!

4 Tage vor

Gelöst


Draw a '9' in a zero matrix!

4 Tage vor

Gelöst


Draw a '7' in a zero matrix!

4 Tage vor

Gelöst


Draw a '8' in a zero matrix!

4 Tage vor

Gelöst


Draw a '3' in a zero matrix!

4 Tage vor

Gelöst


Draw a '2' in a zero matrix!

4 Tage vor

Gelöst


Draw a '5' in a zero matrix!

4 Tage vor

Gelöst


Draw a '1' in a zero matrix!

4 Tage vor

Gelöst


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

4 Tage vor

Gelöst


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

4 Tage vor

Gelöst


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

4 Tage vor

Gelöst


NOT
If a not equal to zero, b = true, else, b = false.

4 Tage vor

Gelöst


OR
If a greater than zero or c less than 10, b = true, else, b = false.

4 Tage vor

Gelöst


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

4 Tage vor

Gelöst


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

4 Tage vor

Gelöst


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

4 Tage vor

Gelöst


If-Else
If a more than zero, b = true, else, b = false.

4 Tage vor

Gelöst


If
If a more than zero, then b = true.

4 Tage vor

Gelöst


MATLAB 101: Highest 3 marks
An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks rec...

4 Tage vor

Gelöst


MATLAB 101: Equivalent Resistance Calculator
Calculate the equivalent resistance R_eq for n resistors connected in Series or Parallel.

4 Tage vor

Gelöst


MATLAB 101: Scalar-Vector Multiplication
Write a MATLAB function that takes a numeric array (vector or matrix) v and a scalar multiplier s. The function should return a ...

4 Tage vor

Gelöst


MATLAB 101: Wye to Delta Impedance Converter
n electrical network analysis, transforming a Wye (Y) configuration of impedances (Z1, Z2, Z3) into an equivalent Delta (Delta) ...

4 Tage vor

Gelöst


MATLAB 101: Delta to Wye Impedance Converter
In electrical network analysis, transforming a delta (Delta) configuration of components into a wye (Y) configuration is vital f...

4 Tage vor

Gelöst


MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...

4 Tage vor

Gelöst


MATLAB 101: Hypotenuse Calculator
Write a MATLAB function that accepts the base and height of a right-angled triangle (or arrays of bases and heights) and returns...

4 Tage vor

Gelöst


MATLAB 101: Rectangle Properties
Write a MATLAB function that accepts the length (L) and width (W) of a rectangle and returns two outputs: its area and its perim...

4 Tage vor

Gelöst


MATLAB 101: Area of an ellipse
Write a MATLAB function that accepts these two values a (major axis length), b (minor axis length) as inputs and returns the cal...

4 Tage vor

Mehr laden