关于Matlab

[复制链接]
查看11 | 回复1 | 2008-12-11 19:34:45 | 显示全部楼层 |阅读模式
Write inline functions to representf (t) , t is a scalar
(1) f (t) = t sin(t)
(2)f (t)= t-1/t+1
(3)f (t) = sin(t) t
新手,什么也不懂。求各位高手指教,谢谢

回复

使用道具 举报

千问 | 2008-12-11 19:34:45 | 显示全部楼层
f1=inline('t/sin(t)','t');f2=inline('t-1/t+1','t');f3=inline('sin(t)*t','t');t=1;y1=f1(t)y2=f2(t)y3=f3(t)...
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行