photo

RAHUL KUMAR


Last seen: oltre 4 anni fa Attivo dal 2019

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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-...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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]) ...

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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];...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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; ...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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]...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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=[]; ...

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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=...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 0 risposte | 0

0

risposte