Community Profile

photo

Brendan


Last seen: 9 days 前 自 2023 起处于活动状态

统计数据

  • Thankful Level 2

查看徽章

Content Feed

排序方式:

提问


I'm unsure as to why MATLAB is returning an infinite root no matter the initial guess. Can someone help with this?
%% False-position root finder function FP_iteration_root_finder clear clc close all Bi = 4.8; %initial ...

23 days 前 | 1 个回答 | 0

1

个回答

提问


Why am I getting an error here?
clear all close all clc % constants and data g = 9.81; D = 75; rho= 1000; Z = 0:12.5:75; w = [122 130 135 160 175 190 2...

6 months 前 | 1 个回答 | 0

1

个回答

提问


Can anyone tell me why I'm getting an error here? "xold=xnew;'' is giving me an error in this statement and I'm not sure why.
clear all close all clc % Problem 6.7 while (1) fx=@(x) x.^3-6*x.^2+11*x-6.1; % Using the Modified Secant Method ...

7 months 前 | 1 个回答 | 0

1

个回答

提问


"theta" is defined inside of the statement, but when I run my code it gives me an error saying that " 'theta' is not a recognized function or variable'. Any solutions?
x = [2 2 0 -3 -2 -1 0 0 2]; y = [0 1 3 1 0 -2 0 -2 2]; r = (sqrt((x.^2)+(y.^2))); if x > 0 theta = atan(y./x); e...

8 months 前 | 1 个回答 | 0

1

个回答