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
Remove the vowels
Cody Matlab Version
02 - Vector Variables 3
Replace 0 to NaN!
Extract a specific part of matrix!
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