Smooth (not found, should be a basic answer)
15 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I'm working with the student version of MATLAB R2012a, I am still new to the world of MATLAB so this may seem very basic. Right now I have a macro that deals with the "smooth" function. Here's part of the code in the macro:
g=fy(:,2);
sg=smooth(g); %5 point moving average
The %5 portion is a comment, not actual code. I am getting an error of:
Undefined function 'smooth' for input arguments of type 'double'.
The macros I have work fine on the lab computers at my university but they have a bunch of different toolboxes installed. What toolbox has this function so I can buy it and put it on my personal computer? If it's not in a toolbox, where do I obtain it?
Thank you,
0 件のコメント
回答 (1 件)
Image Analyst
2013 年 4 月 25 日
Maybe it's this official MATLAB function: http://www.mathworks.com/help/curvefit/smooth.html in the Curve Fitting Toolbox. Or maybe it's something that some one custom wrote but is not included on your computer for some reason.
5 件のコメント
Image Analyst
2013 年 4 月 29 日
Paul, type "ver" at the command prompt to list all the toolboxes that you are able to use.
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!