Solved


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

4 months ago

Solved


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 months ago

Solved


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

4 months ago

Solved


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

4 months ago

Solved


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 months ago

Solved


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 months ago

Solved


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 months ago

Solved


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

4 months ago

Solved


Title
Make a plot for x and add title "My Plot". NOTICE: YOU CAN NOT USE ans INSTEAD OF [y ax]!

4 months ago

Solved


Play the Disk
To access the memory address of program on disk, MS-DOS uses sectors,cylinders and heads, on disk in 3D coordinates. Given the h...

4 months ago

Solved


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

5 months ago

Solved


Simple Robotics 1: On track?
As a small extension to problem: <http://www.mathworks.com/matlabcentral/cody/problems/2100-distance-to-a-straight-line-2d-give...

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


List Chen primes
A Chen prime is a prime number p such that p+2 is either prime or semiprime. The number 17 is a Chen prime because 17+2 = 19 is ...

5 months ago

Solved


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

5 months ago

Solved


Basic Physics II
Get the Kinetic Energy (KE).

5 months ago

Solved


Basic Physics III
Calculate the Potential Energy (PE).

5 months ago

Solved


Basic Physics IV
Calculate the Mechanical Energy (ME).

5 months ago

Solved


Basic Physics IV
Calculate the Work.

5 months ago

Solved


Basic Physics V
Calculate the Weight (w).

5 months ago

Solved


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

5 months ago

Solved


Basic Physics VII
Calculate the speed.

5 months ago

Solved


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

5 months ago

Solved


Basic Physics IX
Calculate the Kinetic Energy (KE) by Weight (w) instead of Mass (m).

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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.

5 months ago

Load more