![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10778233_1522137439208_DEF.jpg)
Devdatt Thengdi
2017년부터 활동
Followers: 0 Following: 0
Feeds
질문
Blank plot:for loop used for plotting
%function [error] = Lobo(d0, nb) clc clear all nb = 2:25; Xmat = zeros(numel(nb),1); for i=1:numel(nb) ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Error: Inner Matrix dimensions must agree
%function [Qr] = Lobo(d0, L, nb) clc d0 = 0.06:0.01:0.27; Xmat1 = zeros(numel(d0),1); for i = 1:numel(d0) ...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
Empty plot: I need to plot one variable vs Results of fmincon
clc d0 = 0.01:1; Xmat = zeros(numel(d0),5); for i=1:numel(d0) d0_actual = Ef(i); x0 = [0.08, 9....
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
Optimization Error: How do I set the algorithm of used by a function?
e.g. (R2011a) if I am using 'fmincon', I used options: options = optimoptions('fmincon','Display','iter','Algorith...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Fmincon: Impossible values obtained. Solver prematurely stopped due to MaxFunEvals has reached.
Observe this formula: dbc = (db./(sin(180./nb) + (pi./nb))); %Burner circle diameter db = 1.5 * tf; nb = (8:20) %Thus, ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Optimization tool: Toolbox gives out a favourable output but Code for fmincon gives out 'non feasible solution'
What mistake am I making? Or at least could you tell me how to extract values from the optimization toolbox so that I can use it...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
fplot: Attempted to access x(2); index out of bounds because numel(x)=1.
Consider plot function. B = arrayfun(@(x)Lobo(x(1), x(2), x(3), x(4), x(5), x(6)), x(1), 'un',0); fplot(B, [0.01 0.2]); ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Optimization: Function taking a variable value from out of the bounds
(Files attached) x0 = abs([0.01, 1, 283.15, 8, 10]); %options = optimset('PlotFcns',@optimplotfval); fitnessfcn = @...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to use a single value from a multi-variable optimization result?
I used this function to optimize a 5 variable function: [X, fval] = fmincon(fitnessfcn, x0, [], [], [], [], [0.01,1,300 + ...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
gamultiobj: How do I minimize one function and maximize the other
Given: function 2 is dependent upon function 1.
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
2 Errors: Conversion to double from function_handle is not possible and attempt to reference field of non-structure array.
What mistake am I making here? clc x0 = [0.01, 1, 10 + 273.15, 8, 1]; options = optimset('PlotFcns',@optimplotfval...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
Multi-variable fminsearch: Not enough input arguments
I am getting 'Not enough input arguments' as result. Need help. Function: function qout = Lobo(d0, L, Tg, nb, uo) clc...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Optimization: Need to to optimize qr
I need to optimize qr wrt to do, L, Tg, nb, uo. Do I need to substitute all variables into the formula for qr or is there an...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Optmization: Need to optimize Tg in the following code w.r.t. dtc.
*So, this is what i did:* function [dtc,Tg] = Lobo(~) ctc = 0.3048; %ctc in m dtc= ...
Optmization: Need to optimize Tg in the following code w.r.t. dtc.
*So, this is what i did:* function [dtc,Tg] = Lobo(~) ctc = 0.3048; %ctc in m dtc= ...
6년 초과 전 | 0
질문
Optmization: Need to optimize Tg in the following code w.r.t. dtc.
Ti = 251.9 + 273.15; %Fluid in degK T0 = 386.1 + 273.15; %Fluid/gas out degK cpl = 0.32; %Cp fluid KJ/kgdegK LHV = 41...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
Plotting problem: The results and plots are not consistent with the input.
I am optimizing diff over d0. over the range of 0.01 to 0.2m. But, it is plotting diff vs d0 over single value of 5.157e+3. Plea...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
I am getting an empty plot.
x1 = 0.01; x2 = 0.2; d0min = fminbnd(@Sold0, x1, x2); d0min disp(d0min); d0 = 0.01:...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Point out a specific value in a plot.
Following is the code to minimize a Sol over Q. The minimized value is obtained at Qmin. I want to plot Qmin on the plot for Q v...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Single objective function, single variable optimization using GA: Not enough input arguments
for d0 = 0.05:0.01:0.2 %Q = 5900000:10000:8800000; %diff = (Q) > qr - 1000; obj = @(Q) Solution(Q) - 1000 - Q; ...
Single objective function, single variable optimization using GA: Not enough input arguments
for d0 = 0.05:0.01:0.2 %Q = 5900000:10000:8800000; %diff = (Q) > qr - 1000; obj = @(Q) Solution(Q) - 1000 - Q; ...
6년 초과 전 | 0
질문
Single objective function, single variable optimization using GA: Not enough input arguments
Design of a Furnace. Function File function qr = Solution(Q) THD = 3773.09; %Total heat duty Gcal/h %Target f...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
Two variable Optimization: Variables is defined in a tertiary equation. Design of a Furnace.
function qr = Sol(~) %Assume Q and d0 Q = 7000000; %Kcal/m^2degC d0 = 0.033; %Tube diameter m THD = 3773.09; %Tota...
거의 7년 전 | 답변 수: 1 | 0
1
답변질문
Beginner: How to apply iterative method to the code? Iteration of one value over two variables simultaneously.
I need to iterate the value of qr over d0 (diameter of tubes) and Q (Assumed flux) The final qr should be in the range of 590000...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
Not enough input arguments: fminbnd
Function file: function fun = SinExample(x,x1,x2) x1 = 0; x2 = 2.*3.14178; fun = sin(x); Solution File: ...
거의 7년 전 | 답변 수: 1 | 0