photo

Patrick


Last seen: 約1ヶ月 前 2024 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


MatLab drive syncing issue
I recently connected matlab drive and it keeps giving me a error saying, could not update HW.1; Reason is that 1 or more files c...

約1ヶ月 前 | 0 件の回答 | 0

0

回答

質問


I keep getting an error on my correlation coefficient on line 20
% Given data x = [0, 2, 4, 6, 9, 11, 12, 15, 17, 19]; y = [5, 6, 7, 6, 9, 8, 8, 10, 12, 12]; % Least-squares regression for a...

2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


It keeps giving me an error on line 4, saying I'm missing input arguments but I have everything defined?
function root = BisectionRoot(Q,q,R,F,z1,z2) tol = 1e-6; err = 1.0; z = (z1 + z2)/2; fz = Fun(Q,q,R,F,z); fz1 = Fun(Q,q,R,F...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


It keeps giving me an error on my xlim and the graph that it gives me isn't complete
Q = 9.4*10.^(-6); q = 2.4*10.^(-5); epsilon= 0.885*10*(-12); R=0.1; z=linspace(0,0.3, 1000); F=(Q*q*z) *((1-z)/(sqrt(z.^2+R...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


I'm unsure of why there is an error on F=@x
function Xs= newtonM(fun,FunDer,Xest,err) for i=1:100 Xs= Xest-Fun(Xest)/FunDer(Xest); error =abs((Xs-Xest)/Xs)*100; ...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Can't quite figure out why my syms is giving me an error
% Define the function in symbolic form: syms x f = exp(-0.5*x)*(4-x)-2 ; % Differentiate f(x) in x: Df = diff(f,x) ; % Co...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


I can't really find why matlab won't plot this equation, I run into an error as soon as i try to run it
x = 0 : 0.01 : 10 ; y= ((exp(-0.5.*x))*(4-x))-2; % Now, plot the f(x) -> x: plot(x, y) % Set axes labels: xlabel('x') ylab...

3ヶ月 前 | 1 件の回答 | 0

1

回答