Community Profile

photo

Will


Brunel

Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Passing one variable out of a matrix
Hi I have code that calls a function and passes a matrix to it. In the called function, calculations are performed based on ...

12 years ago | 1 answer | 0

1

answer

Question


I'm missing something....
Hi I have the following code: xtmp = @(n,a) storextmp(n) + searchtmp(n)*a; dx1 = @(a) a*searchtmp; func...

12 years ago | 0 answers | 0

0

answers

Question


Fmincon
Hi, I would like to minimise a scaler (a in the example below) using fmincon , the minimised value is then used to calculate ...

12 years ago | 0 answers | 0

0

answers

Question


Pattern search
Hi, How can I use the in built matlab function patternsearch so that a function is minimised subject to constraints. Thank...

12 years ago | 1 answer | 0

1

answer

Question


Optimisation
Hi, I have written code that performs non linear optimization based on Powells method-I have written using an objective funct...

12 years ago | 0 answers | 0

0

answers

Question


Can I do this?
I'm tying to limit the length of an equation by doing this. Al = @(x) 25.5e3+(300*x(1))+(x(1))^2; Aj = @(x) (tan((2*pi)/9)...

12 years ago | 1 answer | 0

1

answer

Question


How to have an eq. with an unknown?
Hi I would like to write x0+a*s1=x1 but keeping a as an unknown so that if I replace with values, I get: [1; 1]+a*[1; 0...

12 years ago | 2 answers | 0

2

answers

Question


Varying the name of variable within a for loop
Hi Is there a way to change the name of a matrix within a 'for' loop? For example, i might have an initial vector: x0=[1 1...

12 years ago | 1 answer | 0

1

answer

Question


What am I doing wrong!?
Hi, I have the following code, it's part of a larger file that is trying (trying being the crucial word here) to perform opti...

12 years ago | 4 answers | 0

4

answers

Question


Interface between ANSYS and MATLAB
Hi, I am trying to perform non linear optimisation using MATLAB and the FEA suite in ANSYS. I can call the ansys program in ...

12 years ago | 0 answers | 0

0

answers

Question


Question matlab code
Hi, I am a new user to matlab coding. I have written code to solve a simple FEA problem. The results depend on a number of va...

12 years ago | 1 answer | 0

1

answer