求matlab中符号函数的递归运算,急急急急!!!!给程序!!题目如下:

s(t+1)=m*n+3*m*s(t)+n^s(t)m,n为符号,已知s(1)=m^2求s(100)给出递归调用函数求s(100)或者给出递归调用函数... s(t+1)=m*n+3*m*s(t)+n^s(t)
m ,n为符号,已知s(1)=m^2
求s(100)给出递归调用函数
求s(100)或者给出递归调用函数
展开
 我来答
书宬
2012-04-14 · TA获得超过7849个赞
知道大有可为答主
回答量:2125
采纳率:75%
帮助的人:3304万
展开全部
>> syms m n
s=m^2;
for t=1:9
s=m*n+3*m*s+n^s;
end
s % s(10)已经很复杂了,s(100)肯定更复杂,运行时间很长,要耐心的等待

s =

m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2)))+n^(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2))))+n^(m*n+3*m*(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2)))+n^(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2)))))+n^(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2)))+n^(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2))))+n^(m*n+3*m*(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2)))+n^(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2))))))+n^(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2)))+n^(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(m*n+3*m^3+n^(m^2))))+n^(m*n+3*m*(m*n+3*m*(m*n+3*m^3+n^(m^2))+n^(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问题不?
http://zhidao.baidu.com/question/410835497.html?quesup2&oldq=1
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式