Community Profile

photo

Hamid


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Solving 2 parameters equation
Hi everyone, my unknown parameters are *D* and *nR*, I want *Rg* will be less than 0.5 How is it possible? p=100;...

6 years ago | 1 answer | 0

1

answer

Question


ERROR : Constraint function must return real value
I'm using genetic algorithm as my optimization solver but I keep getting this error and I don't know why. ??? Error using ==>...

6 years ago | 1 answer | 0

1

answer

Question


problem with writing uncommon constraint function in genetic algorithm???
Hi everyone, How to write a constraint function in genetic algorithm that is not directly related to fitness function? for ex...

6 years ago | 1 answer | 0

1

answer

Question


Return zero value due to transferring from gui1 to gui2
I want to transfer a parameter value (*Ta*) from gui1 to gui2 but I get an error. I set breakpoint and I realized that it doe...

6 years ago | 0 answers | 0

0

answers

Question


passing data from Gui 1 to Gui 2
Hi everyone, I have an equation in Gui 2 that contains some inputs. some of the inputs are entered in Gui 1. what should I...

6 years ago | 1 answer | 0

1

answer

Question


Undefined function or variable ... Error while evaluating uicontrol Callback
Hi everyone, I'm using GUI tool. I'm going to enter my inputs from menu but I got this error : ??? Undefined functio...

6 years ago | 1 answer | 0

1

answer

Question


Error : Undefined function or variable 'I'
Hi everyone, I'm using GUI tool. I will get the error after running the file. ... prompt = {'rms symmetrical line to...

6 years ago | 2 answers | 0

2

answers

Question


selecting values from matrix
Hi everyones, I explain my question with an example : q2 is obtained from an equation A=[r1 r2 r3;q1 q2 q3;k1 k2 ...

6 years ago | 2 answers | 0

2

answers

Question


select first standard answer equal or greater than obtained answer
Hi everyones, I explain my question with an example : H=180 (is obtained from an equation) standard I=[100 150 20...

6 years ago | 1 answer | 0

1

answer

Question


excel Input with condition
Hi everyone, I'm gonna write an app that needs many inputs. after inserting inputs, some values will be select from some tabl...

6 years ago | 1 answer | 0

1

answer

Question


Changing values until a condition comes true
I have a code that produce some value that is from some equation with some inputs. inputs are inserted by me at the first of ...

6 years ago | 3 answers | 0

3

answers

Question


problem with assigning with cell arrays
Ed = cell(1, lc); lc>1 N=A*Ed'; A=[1*6 double] *Ed* must be [1*6 double]. for example : Ed: 1*2 cell...

7 years ago | 1 answer | 0

1

answer

Question


Cell contents reference from a non-cell array object ERROR
Hi everybody, error occurs in *Ed=Ed{j};* I don't know what is it and will be grateful for any suggestion. Ned=zeros(ne,...

7 years ago | 1 answer | 0

1

answer

Question


Undefined function or method 'mtimes' for input arguments of type 'cell' ERROR
Hi everyone, Ed = cell(1, lc); lc>1 -------------------------------------------- function [es]=bar3s(ex,ey,ez,ep,ed) ...

7 years ago | 1 answer | 0

1

answer

Question


problem with assigning in a loop
my code runs correctly when *lc* is 1,I want *lc>1* ; *Ed* is 45*6 matrix and I think there is a way to assign Ed for *lc>1* ...

7 years ago | 1 answer | 0

1

answer

Question


In an assignment A(I) = B, the number of elements in B and I must be the same ERROR
Hi everyone,I keep get this error and I don't know what is it; I will be grateful for any suggestion. error occurs in *Ke(j)=...

7 years ago | 1 answer | 0

1

answer

Question


problem with assigning in loop
Hi everybody, I want to assign every *minrow* to *Ep* but Ican't and only last row gets number and other rows gets zero. ...

7 years ago | 1 answer | 0

1

answer

Question


indexing must appear last in an index expression ERROR
Hi everybody, I get this error : *()-indexing must appear last in an index expression. Line: available(b,6)... Column: 17* ...

7 years ago | 2 answers | 0

2

answers

Question


how to gain minimum value
Hi everybody, r=[1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2] L/200<r for example *L=246* , I want minimum r regar...

7 years ago | 2 answers | 0

2

answers

Question


I can Not include my condition
Hi everybody, my code produce some elements with *x,y,z* coordinates. I want to put a condition that make them to have *z*...

7 years ago | 1 answer | 0

1

answer

Question


I can Not include my condition
Hi everybody, I want to put a condition in my code, This is the code: for i = 1:ne nodnum=zeros(1,nen); ...

7 years ago | 1 answer | 0

1

answer

Question


??? Too many input arguments Error
Hi everybody [Coord,Edof,Ep]=bintranslate(available,chromosome,Dof,fixedcoord,na,nb,neft,nl,no,nn,numbitCoordX,numbitCoor...

7 years ago | 2 answers | 0

2

answers

Question


resuming and starting from new line in genetic algorithm after specific generations
Hi, I want to resume and start from new line in genetic algorithm after specific generations. Has anyone know How is impos...

7 years ago | 1 answer | 0

1

answer

Question


error : minus matrix dimention
Hi, I have a m file that has some function, one of them is solveq and it leads to be an error. I have attached a related mat ...

7 years ago | 2 answers | 0

2

answers

Question


Assigning some matrices to 1 matrix
Hi, I want to assign some matrices to 1 matrix that can be represent 6 matrices. for example for 3 matrices: f1=[100 0 100...

7 years ago | 1 answer | 0

1

answer

Question


Matrix dimensions must agree.
??? Error using ==> plus Matrix dimensions must agree. Error in ==> assem at 28 K(t(i,:),t(i,:)) = K(t(i,:)...

8 years ago | 1 answer | 0

1

answer

Question


Subscript indices must either be real positive integers or logicals.
if true % code end function [Ex,Ey,Ez]=coordxtr(Edof,Coord,Dof,nen) %[Ex,Ey,Ez]=coordxtr(Edof,Coord,Dof,...

8 years ago | 1 answer | 0

1

answer

Question


Attempted to access indx(1); index out of bounds because numel(indx)=0.
Dear all, WHAT IS THE HELL OF THIS ERROR?????? what can I do?? function [Ex,Ey,Ez]=coordxtr(Edof,Coo...

8 years ago | 2 answers | 0

2

answers

Question


Subscripted assignment dimension mismatch
??? Subscripted assignment dimension mismatch. Error in ==> bintranslate at 143 Ep(i/numbitEp,:)=available(c...

8 years ago | 1 answer | 0

1

answer

Question


Failure in user-supplied fitness function evaluation
Calculating

8 years ago | 1 answer | 0

1

answer

Load more