Solved


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

3 days ago

Solved


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

3 days ago

Solved


MATLAB 101: Multinacci Sequence Generator
Create a function that generates a sequence of length n based on the sum of the previous l terms. If l = 2, it acts like the Fi...

3 days ago

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

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

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

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

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

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

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

3 days ago

Solved


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

3 days ago

Solved


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

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

3 days ago

Solved


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

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

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

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

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

1 month ago

Solved


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

1 month ago

Solved


Basic Physics II
Get the Kinetic Energy (KE).

1 month ago

Solved


Basic Physics III
Calculate the Potential Energy (PE).

1 month ago

Solved


Basic Physics IV
Calculate the Mechanical Energy (ME).

1 month ago

Solved


Basic Physics IV
Calculate the Work.

1 month ago

Solved


Basic Physics V
Calculate the Weight (w).

1 month ago

Solved


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

1 month ago

Solved


Basic Physics VII
Calculate the speed.

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Load more