早教吧 育儿知识 作业答案 考试题库 百科 知识分享

matlab程序出错,function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)|Error:Function definitions are not permitted in this context.

题目详情
matlab程序出错,
function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)
|
Error:Function definitions are not permitted in this context.
▼优质解答
答案和解析
Question:
Function definitions are not permitted in this context
不允许在这种语境中定义函数.
Solution:
在m文件中定义函数,且输出参数用英文逗号隔开
改为[taub,tauh,..,sigma]