Gelöst


MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...

7 Tage vor

Gelöst


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

7 Tage vor

Gelöst


MATLAB 101: Area of a circle
Write a MATLAB function named circle_area that accepts the radius r as an input and returns the area of the circle.

7 Tage vor

Gelöst


MATLAB 101: Tribonacci Sequence
Each number in the Tribonacci series is the sum of the three preceding ones. Sequence: 0, 0, 1, 1, 2, 4, 7, 13, 24, 44, ... Writ...

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

7 Tage vor

Gelöst


Compute the reduced totient
The totient function counts numbers less than n that are relatively prime to n. The reduced totient function, or Carmichael lamb...

7 Tage vor

Gelöst


Count divisors of n!
The factorial of 5, or 5! = 120, has 16 divisors: 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, and 120. How many does n!...

8 Tage vor

Gelöst


Calculate the h-index (revisited)
H-index is a powerful tool for quantifying the scientific contribution of a researcher. The H-index is defined as follows (fro...

27 Tage vor

Gelöst


Count the even numbers in a multiplication table
A multiplication table that has products of numbers from 1 to 10 has 75 even numbers among the products. Write a function to c...

27 Tage vor

Gelöst


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

28 Tage vor

Gelöst


Draw '\'
Can you draw the sign '\' by zeros and ones? NOTICE: Be x-by-x matrix.

28 Tage vor

Gelöst


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

28 Tage vor

Gelöst


Get The Square Root Of Number Power (^) Three
Get the Square Root of number Power (^) Three.

28 Tage vor

Gelöst


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

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

28 Tage vor

Gelöst


Basic Algebra III
Get the Cube Root of the number n.

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

28 Tage vor

Gelöst


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

28 Tage vor

Gelöst


Rhombus
Get the area of the Rhombus using it's Diagonals.

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

28 Tage vor

Gelöst


Basic Physics VI
Fing the Kinetic Energy (KE) by Distance (d) and Time (t) instead of Speed (v).

28 Tage vor

Gelöst


Trapezium
Calculate the area of the Trapezium using it's bases and height.

28 Tage vor

Gelöst


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

28 Tage vor

Gelöst


Circle Perimeter
Get the perimeter of the Circle by PI.

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

28 Tage vor

Gelöst


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

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

28 Tage vor

Gelöst


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

28 Tage vor

Gelöst


Find The Area Of The Circle
Find the area of the Circle using PI.

28 Tage vor

Gelöst


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

28 Tage vor

Mehr laden