x1=[1 2 1];
y1=[1 2 2 4 5 6 6 8];
Make function for weighted moving average.
As a result,
2.3333 3.3333 5.0000 6.6667 7.6667 8.6667
Sums with Excluded Digits
Side of a rhombus
Area of a disk
Find sum of negative elements in row.
Replace 0 to NaN!
Change matrix to vector
Calculate geostrophic current
Change matrix to vector2
Two dimensional moving 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