Community Profile

photo

siddhesh rane


IIT-madras

Active since 2013

Student

Statistics

All
  • Personal Best Downloads Level 1
  • 5-Star Galaxy Level 2
  • First Submission
  • Thankful Level 3
  • First Answer
  • Solver

View badges

Content Feed

View by

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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 2 answers | 1

2

answers

Question


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

answer

Question


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

answers

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

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

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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

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

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

10 years ago | 4 answers | 0

4

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Submitted


Function for importing and plotting STL files in MATLAB
This file will import and plot ASCII STL file in MATLAB.

11 years ago | 6 downloads |

Question


"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

answer

Question


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

answer

Question


'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

answer

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

11 years ago

Question


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

answer

Question


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

answer

Question


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

answers

Question


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

2

answers