Community Profile

photo

shirin mhd


Last seen: 1 year ago Active since 2022

Statistics

  • Thankful Level 3

View badges

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 3 answers | 0

3

answers

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

2 years ago | 4 answers | 0

4

answers

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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


finding common rang between two different range?
Hi everyone I'm new to matlab and because of that my question may be so easy to others.I really appreciate your help. I have x...

2 years ago | 2 answers | 0

2

answers