Statistics
RANK
33,647
of 295,569
REPUTATION
1
CONTRIBUTIONS
26 Questions
2 Answers
ANSWER ACCEPTANCE
73.08%
VOTES RECEIVED
1
RANK
3,283 of 20,247
REPUTATION
473
AVERAGE RATING
3.50
CONTRIBUTIONS
1 File
DOWNLOADS
2
ALL TIME DOWNLOADS
4548
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Can I use if statement in constraint function for optimization ?
I have a constraint functions which call another function(inverse_kinematics) for calculating some of the constraints, inverse_k...
7 years ago | 0 answers | 0
0
answersQuestion
"Error in running optimization. Not enough input arguments" while running ga
I am using following objective function: function Length_Sum = objective_function( l1,l2,l3 ) Length_Sum = l1 + l2 +...
7 years ago | 2 answers | 0
2
answersQuestion
writing optimization constraints in MATLAB involving function calls
I am trying to solve following optimization problem: <</matlabcentral/answers/uploaded_files/92538/GA_MATLAB.PNG>> I am us...
7 years ago | 0 answers | 0
0
answersQuestion
GA with integer and linear constraints
According to the documentation of global optimization toolbox "ga does not enforce linear constraints when there are integer con...
7 years ago | 2 answers | 0
2
answersQuestion
How to solve semi-infinitely constrained minimax optimization problem?
I am working on a problem which has semi-infinite constraint and objective function is minimax. How can I solve it in MATLAB? Th...
7 years ago | 0 answers | 0
0
answersQuestion
What function can I use for finding global optima in semi-infinite constraint optimization problem?
Below is the simplified version of problem I am trying to solve: *Minimize f(x)* *=l1+l2+l3* *Subject to* ...
7 years ago | 2 answers | 1
2
answersQuestion
How can I generate text file in loop?
I need to generate text file in MATLAB which will be edited in every loop. When I use fopen without using fclose MATLAB gives er...
10 years ago | 1 answer | 0
1
answerQuestion
How can I convert every floating value in cell to integer?
I have a cell with matrices of different sizes in it .I want to convert every floating value in cell to integer. I tried int16 f...
10 years ago | 2 answers | 0
2
answersQuestion
how to store cell array in text file?
I have 496*6 cell array with strings in it i want to generate a text file can anyone tell how to do it? I have elements in ce...
11 years ago | 2 answers | 0
2
answersQuestion
Error using fprintf for cells
I am using following code to generate text file from array which has 1 matrix of 496 * 6 size with strings in it. I m getting 'B...
11 years ago | 1 answer | 0
1
answerQuestion
How can i store string in cell without apostrophe?
I want to store say A50 in cell ..but i dont want apostrophes in it like 'A50'..how can i do it.? I tried to use string to nu...
11 years ago | 1 answer | 0
1
answerQuestion
Concatinate number and character
I have numerical data in cell and i want to add character before that numerical data how can i do it ? Suppose i have numeric...
11 years ago | 1 answer | 0
1
answerQuestion
How can i generate text file output for my code ?
I want to generate text file as output.. eg. G0 X67 Y30 Z0 G1 X0 Y0 Z0 i have numbers (67, 30 ,0...) stored in ce...
11 years ago | 1 answer | 0
1
answerQuestion
Comparing two elements in cell.
Two elements of a cell are exactly same but when i compare them it turned out MATLAB doesnt consider them equal..Can anyone expl...
11 years ago | 1 answer | 0
1
answerhow to initiate a table in matlab
A = rand(12,7) use this it will generate 12x7 table with random values in it or you can use zeros(12,7)..if you want to init...
11 years ago | 0
Question
how to find out number of rows in particular matrix of the cell?
Suppose i have 1*2 cell as shown below A B [1 2] [1 2 ; 3 4] how can i find out number of rows in each cell..i...
11 years ago | 2 answers | 0
2
answersQuestion
Too many input arguments ERROR
>>Error using == Too many input arguments. Error in readSTLexp5 (line 356) if(Q{1,f}{S,4} == Q{1,f}{S,3})...
11 years ago | 1 answer | 0
1
answerQuestion
Conversion to cell from double is not possible. ERROR.
Conversion to cell from double is not possible. Error in readSTLexp3 (line 273) Q{1,1}(t,5)= -3; When i ...
11 years ago | 1 answer | 0
1
answerHow to delete the row from cell array?
[A] [B] [C] suppose i have 1*3 cell as shown above and A is a matrix of dimensions 3*3 and I want to delete second row of t...
11 years ago | 0
Question
How to delete the row from cell array?
I have a cell arraywhich has 10*6 matrix in it. How can I delete a row from the matrix? thanks in advance.
11 years ago | 4 answers | 0
4
answersQuestion
why am i getting syntax error for linspace in If statement?
if (Z(1,1)==z && Z(2,1)== z && Z(3,1)==z) { t = linspace(0,1); % case 1 = whe...
11 years ago | 1 answer | 0
1
answerQuestion
"index out of bounds" error
Why am I getting Index out of bound error with below mentioned code? S = size(coordinates,1); n = 0; while(n<S) ...
11 years ago | 1 answer | 0
1
answerQuestion
how to transfer elements in cell into matrix in MATLAB?
I am trying to transfer elements in (1*1) cell which has one column matrix into another column matrix using while loop..and I am...
11 years ago | 1 answer | 0
1
answerQuestion
'Subscripted assignment dimension mismatch" error..can anyone help?
I am writing a program to access elements in the cell and put them in mtrix and i m getting above error..my code is as follows.....
11 years ago | 1 answer | 0
1
answerQuestion
I am getting error while accessing data from cell and storing it in matrix..can anyone help?
The following error occurred converting from cell to double: Error using double Conversion to double from cell is not poss...
11 years ago | 1 answer | 0
1
answerQuestion
I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
11 years ago | 1 answer | 0
1
answerQuestion
getting "Index exceeds matrix dimensions." Can anyone explain?
function [ coordinates ] = readSTL1( filename,k) % reads ASCII STL file and gives coordinates of vertices. %file...
11 years ago | 2 answers | 0
2
answersQuestion
How can i import numerical data from non-tabular text file in MAtLAB?
solid rodfin facet normal 9.997519e-001 2.227527e-002 0.000000e+000 outer loop vertex 6.477990e+001...
11 years ago | 2 answers | 0