# Amir Patel

### University of Cape Town

Last seen: meer dan 3 jaar ago Active since 2012

Followers: 0   Following: 0

#### Feeds

View by

Question

Does fmincon automatically normalis/scale the input vector according to the bounds?
I'm doing a constrained optimisation using fmincon (interior-point solver). My initial vector elements range from 1E-3 to about ...

meer dan 7 jaar ago | 2 answers | 0

### 2

Question

How can I convert a 2D matrix into separate 1D vectors in one line
hi I have a 1673 x 34 matrix of data. I would like to put each column into its own 1673 length variable. I know I can inde...

meer dan 7 jaar ago | 1 answer | 0

### 1

Question

Sparsity pattern of Jacobian for fmincon
Hello I am busy with a multiple shooting trajectory optimization problem. I would like to attempt this problem in fmincon usi...

bijna 9 jaar ago | 1 answer | 0

### 1

Question

Is there a cubic spline source block in Simulink?
Hi I am solving an optimal control using fmincon in conjunction with Simulink. I am using a Repeating Sequence block as t...

meer dan 10 jaar ago | 0 answers | 0

### 0

Question

Does one need to normalize nonlinear inequality constraints in fmincon?
Hi Everyone I am using fmincon with the 'sqp' algorithm to solve an optimal trajectory. I initially tried 'interior-point' to...

meer dan 10 jaar ago | 0 answers | 0

### 0

Question

How do you tune globalsearch parameters?
Hi Everyone I have a trajectory optimization problem which I am attempting to solve using Globalsearch. With the default glob...

meer dan 10 jaar ago | 1 answer | 0

### 1

Question

What does TolCon do when using SQP in fmincon?
Hi I'm doing a NLP optimization of a Simulink model. I am using fmincon with the sqp solver. I just wanted to find out wha...

meer dan 10 jaar ago | 1 answer | 1

### 1

Question

What does this lsqnonlin error mean?
Hi I'm attempting a nonlinear parameter fit using lsqnonlin and a Simulink model. I'm following a similarly method to: http:/...

bijna 11 jaar ago | 1 answer | 0

### 1

Question

How to implement angular range constraints in SimMechanics 2nd Generation?
Hi I'm trying to use SimMechanics 2nd Gen to model a revolute joint with angular ranges of +-90 degrees. SimMechanics has...

bijna 11 jaar ago | 1 answer | 0

### 1

Question

What does this other Fmincon error mean?
Hi there I'm doing a constrained optimization problem where I first generate a few random intial points, I then only keep the...

ongeveer 11 jaar ago | 1 answer | 0

### 1

What does this Fmincon error mean?
Does Multistart have the same bug?

ongeveer 11 jaar ago | 0

Question

What does this Fmincon error mean?
Hi Everyone I'm doing a constrained optimization where I first generate a few random intial points, I then only keep the feas...

ongeveer 11 jaar ago | 2 answers | 1

### 2

Question

Can Fmincon solve a minimum-time optimization?
Hi I have a minimum-time problem where I would like to optimize the final time to bring my multibody model to rest. I've t...

ongeveer 11 jaar ago | 1 answer | 0

### 1

Question

Can Fmincon recover from an error in evaluating the cost function?
Hi I'm using fmincon to determine the optimal torque trajectory for a mutlibody simulation. I've approximated the input torq...

ongeveer 11 jaar ago | 3 answers | 0

### 3

Question

How do I implement Parfor loop with nested for loops?
Hi I'm doing a Brute Force search by varying 5 parameters, running a Simulink model and then calculating a cost function. ...

ongeveer 11 jaar ago | 1 answer | 0

### 1

Question

How do I draw multiple overlapping patches while preserving the colours?
Hi I've got a multi-body simulation which I am animating via patches. However when some of the bodies overlap each other a di...

ongeveer 11 jaar ago | 0 answers | 0

### 0

Question

Casting a byte array to a struct
Hi I have a data file logged in binary. I would like to read this data into Matlab to plot and perform analysis. My questi...

meer dan 11 jaar ago | 1 answer | 0