Community Profile

photo

John Billingham


University of Nottingham

Last seen: 3일 전 2014년부터 활동

Followers: 0   Following: 0

연락

Professor of Theoretical Mechanics School of Mathematical Sciences The University of Nottingham UK Professional Interests: Scientific computing

통계

All
  • Thankful Level 3
  • Solver

배지 보기

Feeds

보기 기준

질문


Why does fmincon using the sqp algorithm need a full matrix to specify linear constraints?
I need to specify that some of the variables in my optimization need to be ordered, so v_i-v_(i+1)<0 for i = N_1 to N_2. This ...

대략 1년 전 | 답변 수: 2 | 1

2

답변

질문


Spline with clamped end conditions using griddedInterpolant
I can create a piecewise polynomial spline with clamped end conditions from vectors x and y using pp = spline(x,[dy1 y dy2]) ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I clear persistent variables from a function using only its handle?
For example, say I have a simple function, _test1_, function test1 = test1(x,y) persistent k if isempty(k), k = sum(y); e...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How can I create an ordinary floating point function from a symbolic array
If I have some code that generates a symbolic array, I'd like to be able to turn it into a function that takes floating point in...

6년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

대략 8년 전

질문


How can I use zlib in a C mex file and use gz compression?
I need to use zlib to do gz compression within a C mex file. Something like #include < zlib.h > gzFile fi = gzopen(f...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I convert individual guis into a single tabbed gui?
I have a gui that pops up another gui when a button is pressed. I'd like to convert this into a single gui with two tabs. Can an...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


Accessing a cell array of cell arrays in a C++ mex file
I'm writing a large code that requires me to use a cell array of cell arrays of single precision real matrices. This may seem od...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Problem with simplify(x^(1/log(x)).
>> sym x; >> assume(x>0) >> simplify(x^(1/log(x)),'IgnoreAnalyticConstraints',true) >> ans = x^(1/log(x)) Note that x^(1/...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Struggling to distribute a cell array across several parallel workers
I have some code, part of which a structure of the form below. for a = 1:A for b = 1:B for c = 1:C f...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Finding parfor baffling: Can anybody explain to me why this little bit of code works with for,but not with parfor?
function B = partest A = 1:4; B = zeros(1,4); parfor j=1:2 B([j j+2]) = A([j+2 j]); end The...

9년 초과 전 | 답변 수: 2 | 2

2

답변