Community Profile

photo

Alex


Nottingham

Active since 2011

Statistics

  • Thankful Level 1

View badges

Content Feed

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 3 answers | 0

3

answers

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0 answers | 0

0

answers

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0 answers | 0

0

answers

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

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0 answers | 0

0

answers

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

12 years ago | 0 answers | 0

0

answers

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

12 years ago | 1 answer | 0

1

answer

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

13 years ago | 3 answers | 0

3

answers