Feeds
질문
How can I remove inaccuracy in my code ?
Hello, I am solving an equation (in my function file) using globalsesrch,fimcon present in the main program. I want my progra...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Globalsearch not working for a function file.
Hello, Globalsearch is not able to solve my equation in function file. It is giving me an error -'Supplied objective function m...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
I am using curve fitting for three variables using linear interpolation, z =f(x,y). It gives me SSE =0 too. How I can know which equation it formed from my data between x and y to give z ?
The data I fed was, lambdadata = [ 632; 800; 1064; 1310; 1550]; in place of X Vdata = [11.9301; 18.8496; 21.2589; ...
9년 초과 전 | 답변 수: 1 | 1
1
답변답변 있음
How to select an interval in fsolve ?
Hello Star, I tried to find out the interval by using fmincon in Global optimization toolbox.The funtion doesn't return to near...
How to select an interval in fsolve ?
Hello Star, I tried to find out the interval by using fmincon in Global optimization toolbox.The funtion doesn't return to near...
9년 초과 전 | 0
질문
How to select an interval in fsolve ?
I am using fsolve to solve a set of two non linear equations in two variables. But I have no idea which interval I should select...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
How I can plot two conditions together ?
I have to plot when r<=a, psi = psi = (1/besselj(0,1.31689).*(besselj(0,1.31689.*(r/a)))); and for r>=a, psi= psi = (1/bess...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Getting an error, fsolve stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 200 (the selected value). I tried increasing the value to 400, then 2000 but still it shows this error. please help.
my code is - function F = myfun(z) a = 3*10^-6; lambda = 632*10^-9; n1 = 1.455; n2 = 1.45; k0 = 2*pi/lambd...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
I am getting an error, solver stopped prematurely,maxfuneval exceeded 200( default value). I tried solving by mentioning 'MaxFunEval',20,'Maxiter',20. But didn't work. What to do ? Please help
My code looks like this function F = myfun(z); a = 3*10^-6; lambda = 632*10^-9; n1 = 1.455; n2 = 1.45; k0 =...
9년 초과 전 | 답변 수: 1 | 0
