Community Profile

# Alex

### Nottingham

15 total contributions since 2011

View details...

Contributions in
View by

Question

very large matrix manipulation
Hi I have a matrix that could end up being possibly 25x25 large. I need to do large manipulations on this matrix, for instance I...

oltre 9 anni ago | 2 answers | 0

### 2

Question

sum all combinations of 2d array
So I have an array a = [1,2,3,4;5,6,7,8;9,10,11,12;13,14,15,16]; now i want to sum every combination. Like a number padloc...

oltre 9 anni ago | 3 answers | 0

### 3

Question

Converting Matlab to C Code
The following code is the Matlab version which works perfectly: Starting=[1 1 -1]; options=optimset('Display','iter'); ...

circa 10 anni ago | 1 answer | 0

### 1

Question

Matrix Dimensions must agree
With the following function, on the line fitted_Curve, there is the error that matrix dimensions must agree. function f = f...

circa 10 anni ago | 1 answer | 0

### 1

Question

Converting matlab to C - matrix operator
Hi I am trying to convert the following lines of code into C, but I am not completely sure what the matlab operator is actually ...

circa 10 anni ago | 0 answers | 0

### 0

Question

matlab matrices
Guys what is matlab doing in these three situations? If the vector Data equals: Data = 1.4000 2.9000 4.8000 ...

circa 10 anni ago | 1 answer | 0

### 1

Question

Converting Matlab to C
So I have solved a problem in matlab and it works brilliantly. However my boss requires the method in C. I am doing a least squa...

circa 10 anni ago | 0 answers | 0

### 0

my matrix is not square, although i think it is?
So I have got it to run, I'm not sure why but breaking the equation into more equations seemed to work: [code]function fnumbe...

circa 10 anni ago | 0

Question

my matrix is not square, although i think it is?
I have set the following least squares method up quickly. I know i am using a nonlinear technique to solve a linear problem, how...

circa 10 anni ago | 2 answers | 0

### 2

Question

Store as array not variable
I have the following function: function f = function42(params2,T0,theta_f) % f = x^2 %f and x are dummy variables global ...

circa 10 anni ago | 1 answer | 0

### 1

Question

arrays in functions
I am sending a function a vector something like [1.2 1.4 1.6 1.8 2] into vector Actual_output function sse=myfit(params,Input...

circa 10 anni ago | 1 answer | 0

### 1

Question

curve fitting with equations
Hi, I have 5 data points that i want to curve fit. I used the matlab curve fitter to fit it to a fourier series because the mode...

circa 10 anni ago | 0 answers | 0

### 0

Question

non linear parameter estimation least squares
I have the following equation that i want to find the parameters c1, c2 and c3. E = SUM(yj-(1/(c1*c2))*(c3-asinh(sinh(c3)*ex...

circa 10 anni ago | 0 answers | 0

### 0

Question

Why does this not work - Simple Matlab?
The following creates a matrix, then breaks it into lines, so that I can send each line as a vector to a function. I dont know i...

circa 10 anni ago | 1 answer | 0