photo

RAHUL KUMAR


Last seen: plus de 4 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


How to generate all possible connection with graph theory function
A=[0 1 1 1;0 0 1 1;0 1 0 1;0 1 1 0]; G=digraph(A); plot(G) I want to store/generate all possible connection like 1-2-3-4,1-3-...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to use passing by value and passing by reference
Basically i have many variables in my code , so i want to use in my function just passing by value and reference. Can anybody te...

environ 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to call struct array in subroutine
i want to call these value in my subroutine(function). so how to write a code Air.Tin=303; Air.Tout=310; Air.Pin=101325; Ai...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to plot non-quadratic function
x0=[2,0]; fun=@(x) x(1)^3-16*x(1)+2*x(2)-3*x(2)^2 %this is my objective function x = fminsearch(fun,x0) contour(fun,[-5 5]) ...

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


If we have non-linear constraint can we use "quadprog"
I have non-linear function and linear constraint so we can use "quadprog" algorithm.so my question is if i have non-linear objec...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


how we know my optimized result is correct
I want to know how can i check my optimized result is correct,yeah i know constriants and objective function but i don't know my...

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


fmincon works but GA won't work
when i use fmincon it gives some optimized result but when i use GA it shows some like ''constraint not satisfied''.In both case...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to plot 3-d objective function with my two variables with the fmincon algorithm use
i am using surfc command but how to implent to it give iterative result vary with variables.Can any body help xo=[0.001,0.005];...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


unable to plot 3-d surface with fmincon
i want to plot 3-D surface ,basically i have two variables (intialguess value) plot with my objective function(fitnessfun).which...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


surface Z contain more than one row or column
x(1)=0.0001:0.1:0.01; x(2)=0.003:0.1:0.08; [X Y]=meshgrid(x(1),x(2)); rho_ss=8000; rho_cop=8960; D_io=0.0014;D_oo=0.0075; ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to plot objective function with variables
xo=[0.0011,0.0049,0.3]; % assumptions %[Q]=heatload1_new(xo) %nvars=3; A=[]; b=[]; Aeq=[]; beq=[]; lb=[0.001,0.002,0.01]...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


I am getting same intial guess value in fmincon
this is my fitness function clear all close all xo=[0.0011,0.0049,0.36]; % assumptions %nvars=5; A=[]; b=[]; Aeq=[]; ...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


optimization error ,when i used fmincon for three variables,getting same intial guess value in result
clear all close all xo=[0.0011,0.0049,0.36]; % assumptions %nvars=5; A=[]; b=[]; Aeq=[]; beq=[]; lb=[0.001,0.002,0.0...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


WHEN I DO INVERSE OF MY MATRIX IT GIVE VERY LARGE VALUE AND MULTIPLICATION OF (inv(H).*J) GIVE INCORRECT VALUE. can you resolve it
X=[.0014;.0075;.3]; rho_ss=8000; rho_cop=8960; % defined thickness thick_i=.0004; thick_o=.00135; D_i=X(1);D_o=X(2);L=...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Error in newton rapshon problem. My error in iteration line (err(i))=abs(Y-Yold)
X=[.0014;.0075;.3]; maxiter=100; tolX=.000001; Y=X; Yold=X; rho_ss=8000; rho_cop=8960; % defined thickness thick_i=.0004...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


USING newton method optimization (getting error in 'xx(1)=x') .
rho_ss=8000; rho_cop=8960; x=[.001;.0014;.005;.007;.3]; D_i=x(1);D_io=x(2);D_o=x(3);D_oo=x(4);L=x(5); wi=rho_ss*pi*D_io*(D...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


visual studio fortran to matlab code
i have fortran code but i want to run into matlab . urgently help me

plus de 5 ans il y a | 1 réponse | 0

0

réponse