Community Profile

# B

Active since 2015

#### Statistics

• #### Content Feed

View by

Question

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 7 anni ago | 0 answers | 0

### 0

Question

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 7 anni ago | 0 answers | 0

### 0

genetic algorithm solver convergence
?

circa 7 anni ago | 0

Question

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 7 anni ago | 1 answer | 0

### 1

Question

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

circa 7 anni ago | 1 answer | 0

### 1

Question

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 7 anni ago | 1 answer | 0

### 1

Question

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 7 anni ago | 1 answer | 0

### 1

Question

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 7 anni ago | 0 answers | 0

### 0

Question

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 7 anni ago | 1 answer | 0

### 1

Question

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 7 anni ago | 1 answer | 0

### 1

Question

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 7 anni ago | 2 answers | 0

### 2

Question

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 7 anni ago | 2 answers | 0

### 2

Question

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 7 anni ago | 3 answers | 0

### 3

Question

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 7 anni ago | 0 answers | 0

### 0

Question

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 7 anni ago | 0 answers | 0

### 0

Question

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 7 anni ago | 0 answers | 0

### 0

Question

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 7 anni ago | 2 answers | 0

### 2

Question

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

oltre 7 anni ago | 2 answers | 0

### 2

Question

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 7 anni ago | 1 answer | 0

### 1

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

oltre 7 anni ago | 0

Question

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 7 anni ago | 1 answer | 0

### 1

Question

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 7 anni ago | 1 answer | 0