Patrick
Followers: 0 Following: 0
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...
7 months 前 | 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...
8 months 前 | 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...
9 months 前 | 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...
9 months 前 | 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; ...
9 months 前 | 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...
9 months 前 | 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...
9 months 前 | 1 个回答 | 0