Input v is a vector. Return all the elements of v which are not a local minimum or maximum.
v = [1 2 3 4 5]
Output = [1 2 3 4 5]
v = [1 2 3 2 1]
Output = [1 2 2 1]
v = [1 2 1 0 2 1]
Output = [1 1 1]
findpeaks is not working
Find the sum of all the numbers of the input vector
Return the Fibonacci Sequence
Doubling elements in a vector
Determine the square root
Create a vector
Path of least resistance - Move all direction
Latest Question On Cody
weekday and month
Elements with highest local average
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office