Community Profile # shirin mhd

Last seen: 25 days ago Active since 2022

#### Statistics

• #### Content Feed

View by

Question

does 'VPA' changes the type of a data variable ?
Hi everyone I have a question about the data type. I know that all data are double floating-point in Matlab by default. I've...

5 months ago | 1 answer | 0

### 1

Question

plot an eight variable function
Hi everyone I have an equation with 8 variables. I know how to plot a 3-variable equation in Matlab, but I need to plot this fu...

5 months ago | 1 answer | 0

### 1

Question

Weird-Confusing mistake in subtraction result!!!!
Hi everyone I have a weird problem with a simple subtraction. Here is my code. I define 'R' and 'a1 to a8': R=194067676.88629...

5 months ago | 1 answer | 0

### 1

Question

using GA including a hybrid function option
Hi everyone I have a problem related to how to use options in GA . I want to use a hybrid function like fmincon. n1=1; n2=5;...

6 months ago | 1 answer | 0

### 1

Question

if clause for a nonscalar operator
Hi everyone I have this code: p=[]; if p==[] disp('hello') else disp('bye') end and I expect this answer: >> t...

6 months ago | 1 answer | 0

### 1

Question

"Could not find a feasible initial point" error in GA.
Hi everyone I try to optimize a problem that is visible below: a1=3.51e9; a2=750.9; a3=1.93e8; a4=8.10e8; a5=min(a3,a2); a6...

9 months ago | 1 answer | 0

### 1

Question

Hi everyone I have a question about GA optimization answer. I want to optimize this function with 5 variable, as below: Q=ga(...

9 months ago | 1 answer | 0

### 1

Question

Inner matrix dimensions must agree error in ga
Hi every one I have this function and constraint as below for optimizing by ga. function=1.11e-4*((z).^2)-(4.46e3*(z)) A=[1...

10 months ago | 1 answer | 0

### 1

Question

inserting index for variable
Hi everyone! I want make index for my variable. I write a simple code: x=8; b=9; for i=1:2 w(i)=x+b u=x+w(i) end ...

10 months ago | 1 answer | 0

### 1

Question

Matrix calculation(replacing a new value instead of matrix element)
Hi everyone I've written this code. my purpose is to make a matrix(1*3), which each element (T1,T2,T3) of that is calculated in...

10 months ago | 3 answers | 0

### 3

Question

the meaning of a sentence in command window
Hi I run a code, and it operates correctly without any error.at the end of command window i view this message: Optimization ...

10 months ago | 4 answers | 0

### 4

Question

strange format of result(division operation)
Hi everyone I've written this code: syms x >> f=-5e-6*((x).^2)+3.21e2*(x); >> eq=diff(f)==0; >> allocate=solve(eq) and the...

10 months ago | 1 answer | 0

### 1

Question

problem in showing result
Hi everyone I've written this code (this is part of my main code). x11Range=[minValue11, maxValue11]; minValue11<= x11 <...

10 months ago | 1 answer | 0