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

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

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

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

15 days ago

Solved


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

15 days ago

Solved


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

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

15 days ago

Solved


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

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

Solved


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

1 month ago

Solved


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

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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Load more