Community Profile

# Alex

### Nottingham

Actif depuis 2011

#### Content Feed

Afficher par

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

environ 12 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 12 ans il y a | 3 réponses | 0

### 3

réponses

Question

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

plus de 12 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 0

réponse

Question

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

plus de 12 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 0

réponse

A répondu
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...

plus de 12 ans il y a | 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...

plus de 12 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 12 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 12 ans il y a | 1 réponse | 0

### 1

réponse

Question

How do I convert strings stored in a cell array to numbers?
I have an array with strings in it - the format is the following: 'Name' '2/8' '3/7' '7/8' Each of the above is its own c...

presque 13 ans il y a | 3 réponses | 0

réponses