James_111
Followers: 0 Following: 0
統計
MATLAB Answers
13 質問
0 回答
ランク
of 144,064
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Error using integral (line 85) A and B must be floating-point scalars.
My code is: b=10;a=3;q=0.1; scdf = @(x) (1-(b./(x+b)).^a)./(1-(b./(10+b)).^a); integral(@(x) (1+q).*(1-scdf(x)).^0.5,0,10); ...
4年弱 前 | 1 件の回答 | 0
1
回答質問
How to change the StepTolerance in fslove
Hi All, I have a code: format long; options = optimset('TolFun',1e-15,'MaxFunEvals',1e5,'Maxiter',1e5,'Display','iter'); opt...
約5年 前 | 1 件の回答 | 0
1
回答質問
fsolve, In an assignment A(:) = B, the number of elements in A and B must be the same.
Hi All, my code is: format long; pvals = 10:0.2:14; nump = length(pvals); m = zeros(1, nump);n = zeros(1, nump);z = zeros(1...
約5年 前 | 1 件の回答 | 0
1
回答質問
fminsearch, Function arguments must be symbolic variables, and function body must be sym expression.
Hi All, my code is: p=10; spdf = @(x) 3.*(50.^3)./(x+50).^(3+1)./(1-(50./(50+50)).^3); fun2 = @(x,z) min(x,max(0,fzero(@(y) (...
約5年 前 | 1 件の回答 | 0
1
回答質問
If function, Index exceeds matrix dimensions.
Hi All, my code is: syms x y m n; funt=@(x,m,n,y) (100-10-x+y).^(-0.5)-(2.*n+4.*m.*y); if funt(x,m,n,0)<=0 funfun(x,m,n)...
約5年 前 | 2 件の回答 | 0
2
回答質問
fzero, because complex function value encountered during search
Hi my friend, I have one question regarding the fzero. My code is as follows: p=11; spdf = @(x) 3.*(50.^3)./(x+50).^(3+1)./(1-...
約5年 前 | 2 件の回答 | 0
2
回答質問
Fzero, Function value at starting guess must be finite and real.
Hi Everyone, my code is: format long; b=50;a=3;e=50; spdf = @(x) 3.*(50.^3)./(x+50).^(3+1)./(1-(50./(50+50)).^3); fun2 = @...
約5年 前 | 1 件の回答 | 0
1
回答質問
Diff, derivative does not exist
My code is: fun=@(x) abs(x-1); pfun=@(x) diff(fun(x),x); feval(pfun,1) It didn't return any answer after running the code. M...
約5年 前 | 0 件の回答 | 0
0
回答質問
Fzero, Function value at starting guess must be finite and real
My code is: format long; b=50;a=3;e=50; spdf = @(x) a.*(b.^a)./(x+b).^(a+1)./(1-(b./(e+b)).^a); fun21 = @(x,u,m) min(x,max(0...
約5年 前 | 1 件の回答 | 0
1
回答質問
In an assignment A(:) = B, the number of elements in A and B must be the same.
My code is: pvals = 10:1:15; nump = length(pvals); for pidx = 1 : nump p=pvals(pidx); [x(pidx),y(pidx)]=solve('9*x(...
約5年 前 | 1 件の回答 | 0
1
回答質問
a loop problem in matlab
My code is: for p=1:0.01:2; plot3(p,p.^2,p.^3); end I want to use a loop of p to create a three dimentional figure. ...
5年以上 前 | 1 件の回答 | 0
1
回答質問
FZERO cannot continue because user-supplied function_handle, A and B must be floating-point scalars.
My code is: p=0.51:0.001:1.013; fun1 = @(x) x.^2.*exp(-x)./(1-exp(-10)); fun2 = @(x,u) fzero(@(y) 2.*u.*y.*(20-p-x+y).^0.5...
5年以上 前 | 3 件の回答 | 0
3
回答質問
fzero, Operands to the || and && operators must be convertible to logical scalar values.
My code is: integral(@(x) fzero(@(y) y-x-1,[0,20]),1,10) Here is the error I get: Operands to the || and && operators must...
5年以上 前 | 2 件の回答 | 0