简单matlab问题,错误Undefined function 'nest' for input arguments of type 'double'.怎么改
简单matlab问题,错误Undefined function 'nest' for input arguments of type 'double'.怎么改
日期:2016-11-23 08:52:34 人气:2
程序本身没什么问题。
请确保函数nest是保存成文件nest.m,而且文件位于当前目录或者path列表的某个文件夹里面。
或者换一种方式,把脚本改成函数,然后把nest函数保存在同一个文件里面:
function zd1734042109848362947format long%步骤1 Establishing a matrix d which contains all the coefficientd = repmat([1 -1],1,50);%步骤2 Evaluates polynomial f