24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2425  |  回复: 64

xgcx7514

禁虫 (正式写手)

本帖内容被屏蔽

» 猜你喜欢

» 抢金币啦!回帖就可以得到:

查看全部散金贴

已阅   关注TA 给TA发消息 送TA红花 TA的回帖

zyh700600

金虫 (小有名气)



小木虫: 金币+0.5, 给个红包,谢谢回帖
CODE:
%  matlab 计算

n = 10

a10 = rand(n,1)  % 十个a值

x10 = rand(n,5)  % 十组x(1)至x(5)的初值  

f = @(x) x(1)+x(2)+x(3).*x(4)-x(5)   % f方程

f10 = f(x10)    %  十组x(1)至x(5)的函数值

F10 = a10 - f10  %  a - f[x(1),x(2),x(3),x(4),x(5)]  % 十个F值

F_sum = sum(F10)  % F的和

% 未给出 x(1)至x(5)的最终值 的 计算方法(公式),无法输出其最终值。

» 本帖已获得的红花(最新10朵)

28楼2022-05-25 11:14:25
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

xgcx7514

禁虫 (正式写手)

送红花一朵
本帖内容被屏蔽

32楼2022-05-26 21:07:57
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

xgcx7514

禁虫 (正式写手)

本帖内容被屏蔽

33楼2022-05-26 21:46:23
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

zyh700600

金虫 (小有名气)



小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
33楼: Originally posted by xgcx7514 at 2022-05-26 21:46:23
我试了下,十组x的值应该出来十个f10的值吧,我运行就出来一个f10的值,而且x10中是输入的初值,也就是我想去解方程的数值解,那怎么也能将x10的终值也运行出来呢
...

1  我运行就出来一个f10的值
注意  中 * / 写成 .*  ./  
f = @(x) x(1)+x(2)+x(3).*x(4)-x(5)   % f方程
eqn = @(a,x) sin(a)*d-(b*cos(x-c) + sqrt(d^2-b^2*sin(x-c).^2)).*sin(x-c);

2  我想去解方程的数值解
你可以看一看 fsolve 的用法。
34楼2022-05-27 10:24:12
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

xgcx7514

禁虫 (正式写手)

本帖内容被屏蔽

37楼2022-05-29 09:15:55
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
简单回复
2022-05-24 19:07  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
tzynew3楼
2022-05-24 19:14  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-05-24 19:27  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-05-24 19:57  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
2022-05-24 20:08  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-05-24 20:09  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
XueMF08198楼
2022-05-24 21:06  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
gordon3999楼
2022-05-24 21:13  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
wshhao10楼
2022-05-24 21:59  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
rcyvxu11楼
2022-05-24 22:30  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
hold哥12楼
2022-05-24 22:44  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-05-24 22:53  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
hzlhm14楼
2022-05-24 23:10  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
hollya15楼
2022-05-24 23:20  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
qqinly16楼
2022-05-24 23:40  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
烟屿__17楼
2022-05-24 23:52  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
hfy202118楼
2022-05-25 00:00  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
nono200919楼
2022-05-25 00:11  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
136072274020楼
2022-05-25 00:21  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-05-25 01:39  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
孟庆时22楼
2022-05-25 01:56  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
cyfjkf23楼
2022-05-25 06:10  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
mrsigh24楼
2022-05-25 07:04  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
2022-05-25 07:42  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-05-25 07:47  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
huyugan12327楼
2022-05-25 10:49  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
YueuyLn29楼
2022-05-25 13:11  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
2022-05-26 18:42  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
68041631楼
2022-05-26 20:26  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
2022-05-27 14:39  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
adai051936楼
2022-05-27 15:07  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
2022-05-29 10:12  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
freshkid39楼
2022-05-29 12:04  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
yueyf40楼
2022-07-14 06:28  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
focus.?41楼
2022-07-16 08:04  
已获得1个金币 发自小木虫Android客户端
Shinho42楼
2022-08-12 08:53  
已获得1个金币 发自小木虫IOS客户端
2022-08-12 13:16  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
宋长银44楼
2022-08-12 18:32  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
XG-WUST45楼
2022-08-12 19:18  
已获得1个金币 发自小木虫IOS客户端
2022-08-12 21:17  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
鳄梨47楼
2022-08-14 00:34  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-08-14 07:17  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
ofwhy49楼
2022-08-14 10:06  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
T0719202250楼
2022-08-15 21:57  
已获得1个金币 发自小木虫Android客户端
Clandy1751楼
2022-08-17 10:20  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-08-17 20:41  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
Justin_jie53楼
2022-08-18 16:10  
已获得1个金币 发自小木虫IOS客户端
2022-08-18 21:29  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2022-08-19 10:21  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
happyyear56楼
2022-08-22 12:46  
已获得1个金币 发自小木虫IOS客户端
T0719202257楼
2022-08-27 18:35  
已获得1个金币 发自小木虫Android客户端
T0719202258楼
2022-08-27 18:36  
已获得1个金币 发自小木虫Android客户端
2022-08-28 01:00  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
枫叶s660楼
2022-08-29 21:25  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2023-07-26 07:36  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
physics82162楼
2023-08-09 02:35  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
2023-08-11 05:50  
已获得1个金币 发自小木虫IOS客户端
喜_多64楼
2023-08-24 01:47  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫IOS客户端
2023-08-24 13:41  
xgcx7514(金币+1): 谢谢参与
已获得1个金币 发自小木虫Android客户端
相关版块跳转 我要订阅楼主 xgcx7514 的主题更新
信息提示
请填处理意见