A résolu


MATLAB 101: Lucas Sequence
The Lucas sequence follows the same additive rule as Fibonacci, but starts with 2 and 1. Sequence: 2, 1, 3, 4, 7, 11, 18, 29, 47...

20 jours il y a

A résolu


MATLAB 101: Count the Evens
Write a MATLAB function that accepts an array of integers and returns the total count of even numbers present in the array. Note...

20 jours il y a

A résolu


MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...

20 jours il y a

A résolu


MATLAB 101: Extracting Even/Odd Values
Given an array or a matrix, extract all elements that satisfy a specified parity condition ('even' or 'odd') and return them as ...

20 jours il y a

A résolu


MATLAB 101: Fibonacci Sequence
The Fibonacci sequence is defined by the rule that each number is the sum of the two preceding ones. Sequence: 0, 1, 1, 2, 3, 5,...

20 jours il y a

A résolu


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

20 jours il y a

A résolu


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

20 jours il y a

A résolu


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.

20 jours il y a

A résolu


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

20 jours il y a

A résolu


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

20 jours il y a

A résolu


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

20 jours il y a

A résolu


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

21 jours il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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.

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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.

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


Circle Perimeter
Get the perimeter of the Circle by PI.

environ un mois il y a

A résolu


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

environ un mois il y a

Charger plus