[matlab] An.Introduction.To.Programming.And.Numerical Methods.In.Matlab.pdf

[复制链接]
查看: 220|回复: 0

该用户从未签到

0

好友

479

主题

12

精华

管理员

Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20

积分
1352
经验
35
学豆
93688

灌水之王分享达人至尊VIP荣耀VIP论坛元老

发表于 2017-12-5 23:32:01 | 显示全部楼层 |阅读模式




介绍

Imagine that a CEO of a large company wants to know how many people work for him. One option is to spend a tremendous amount of personal effort counting up the number of people on the payroll. However, the CEO has other more important things to do, and so implements another, more clever, option. At the next meeting with his department directors, he asks everyone to tell him at the next meeting how many people work for them. Each director then meets with all their managers, who subsequently meet with their supervisors who perform the same task. The supervisors know how many people work under them and readily report this information back to their managers (plus one to count themselves), who relay the aggregated information to the department directors, who relay the relevant information to the CEO. In this way, the CEO accomplishes a difficult task (for himself) by delegating similar, but simpler, tasks to his subordinates.This method of solving difficult problems by breaking them up into simpler problems is naturally modeled by recursive relationships, which are the topic of this chapter and form the basis of important engineering problem solving techniques. By the end of this chapter, you should be able to recognize recursive relationships and program them using recursive functions.



下载地址
回复可查看课程下载地址&提取码10
游客,如果您要查看本帖隐藏内容请回复

学豆不足请充值:充值  开通VIP全站课程免学豆下载:开通VIP  QQ:2659147209

回复

使用道具 举报

快捷回复:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /5 下一条

快速回复 返回顶部 返回列表