Community Profile

# B

Attivo dal 2015

#### Content Feed

Visto da

Domanda

constrains of the optimization problem
Hello I am using ga solver to solve a multivariable problem (x1..x4) All of the design variables are bounded between an up...

circa 8 anni fa | 0 risposte | 0

### 0

risposte

Domanda

Adding other explicit equations to the optimization toolbox
Hello I am using ga solver to solve a multivariable problem (x1..x4) All of the design variables are bounded between an uppe...

circa 8 anni fa | 0 risposte | 0

### 0

risposte

Risposto
genetic algorithm solver convergence
?

circa 8 anni fa | 0

Domanda

Optimization:inequality constrains
Hello, In matlab optimization toolbox, I have added the upper and lower bounds for the design variables (x(1), x(2)...etc). H...

circa 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Lagrange interpolation-question on the logic
The following code for calculating the Lagrange interpolation is working, but I have a question: why have we placed the sum afte...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

optimization toolbox-quick question
Hello.. One question: How to use the optimization toolbox (ga) for a problem with 4 variables and three inequality constrains...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

optimization code for a project
hello I have a project on optimization. The objective function isn't complicated, but there are 6 design variables. I can'...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

code on finding the roots using simple bisection method
what's wrong in the following code: function s=bisectionpart(s); xl=5; xu=100; xr=xl; while(1) xrold=xr; ...

oltre 8 anni fa | 0 risposte | 0

### 0

risposte

Domanda

plotting in matlab what should i do?
I want to plot x vs w, from the following code, but I'm not getting the correct plot. Could you explain it for me?? functio...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

initial guess in a loop
the initial guess in the following loop is actually inside the loop, why is that? function [root,ea,iter]=newtraph(func,dfu...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

simple question function file syntax
function[root,ea,iter]=bisectt(func,xl,xu,es,maxit,varargin) if nargin <3, disp('error') end test=func(xl,...

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

what's wrong here? I have copied this code from my textbook and it's not working
Help me here plz: ------------------------------------------------ function xb=insearch(func,xmin,xmax,ns) if nargin ...

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

what's wrong here? plz help
hl=0.0; % Assigning lower value xl hu=2.0; % Assigning upper value xu R=3; err=2; ...

oltre 8 anni fa | 3 risposte | 0

### 3

risposte

Domanda

plotting a piecewise function-help
I want to plot Vl versus vs function Vl= piecewisefunnn(vs); vs1 = vs>0.6; Vl(vs1)=(vs(vs1)-0.6); vs2 =(vs<0.6 & vs==0.6)...

oltre 8 anni fa | 0 risposte | 0

### 0

risposte

Domanda

how to implement a recursion function in the following code?
hello: In the following code, a while loop was used to converge the variable Mpw that was first defined based on an assumed val...

oltre 8 anni fa | 0 risposte | 0

### 0

risposte

Domanda

while loop isn't working? what's my mistake??HELP
I'm new in MATLAB.. I tried to run the following code, but the loop isn't working :( would you plz explain for me what's happeni...

oltre 8 anni fa | 0 risposte | 0

### 0

risposte

Domanda

for loop help matlab error
I really can't understand the arrays and matrices system in matlab...:( Please help with the following; I'm getting (??? At...

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

what's wrong with the code?
Hi, what's wrong with the following code? ==================================================================================...

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Loop-can you suggest another way to write the following loop?
Hello, I'm trying to create an m.file to evaluate the polynomial P5(x)=a0+a1x+a2x^2+a3*x^3+a4*x^4+a5*x^5, where a is a vector...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Optimtool is displaying an error msg
I figured it out :)

oltre 8 anni fa | 0

Domanda

Optimtool is displaying an error msg
I am trying to run the matlab optimizer using GA and it has actually given me some results. Now, it's not working and displaying...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How does the following two codes differ? both are working, but they are yielding different answers
Hello, Could you explain for me why I'm not getting the same answer from the following two codes?? function whatswron...

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

could you please translate the following code for me?
Hello, I'm copying a certain code from a lecture on singularity functions.. Could anyone explain the steps of the following co...

oltre 8 anni fa | 1 risposta | 0

risposta