community profile

photo

john d'errico -凯发k8网页登录


retired

last seen: today 自 2006 起处于活动状态

a retired applied mathematician, consultant, sometime mechanical engineer, numerical analyst, woodworker, bridge player. please don't contact me, as too many students then decide i am their personal consultant if i allow it. i won't do consulting by mail.

统计数据

all

content feed

排序方式:
已回答

i'm sorry, biut you cannot constrain an interpolating spline built by csapi to be everywhere positive. the mathematics of how th...

7 hours 前 | 0

已回答

drawing circular arcs here seems a bit unnecessary, since there is no need for it. you seem to be just looking for the basic sha...

13 hours 前 | 0

已回答

inpaint_nans is my code, so i know where it is, on the file exchange. looking there, i see also a code named inpaintn. if you w...

1 day 前 | 1

| 已接受

已回答

you need to set the desktop text font to be a monospaced font. go to: settings/fonts i tend to use something simple like m...

2 days 前 | 1

已回答

randi is random. at least as good as is mathematically possible to make it so, based on the random number generation tools we ha...

3 days 前 | 1

已回答

is your code vectorized? that is, what happens when a vector of elements for y is passed in? (it does not appear to be.) integ...

3 days 前 | 0

已回答

break down problems that are too large for you to handle into smaller, bite sized chunks. first, if it is a particular row, the...

4 days 前 | 0

已回答

if the curves cross, then you need to decide what the "area between" means. that is, is the area in one part negative? or do you...

5 days 前 | 0

已回答

you cannot tell matlab that a matrix is explicitly 265x508x1, and have it recognize that third singleton dimension. yes, if you ...

5 days 前 | 0

已回答

it seems as if you want to compute the area between the curve and the x axis, while ignoring the sign of y. but a simple integra...

6 days 前 | 1

| 已接受

已回答

@sa-w - a full rank does not mean the parameters are not linearly dependent. with that high of a condition number, it often does...

6 days 前 | 0

已回答

you definitely mis-remember this. lsqcurvefit has always been in the optimization toolbox. at least as long as i can recall on t...

6 days 前 | 0

已回答

i want world peace. does that mean i can have it? i even need world peace. still, no good. how about you? you need to solve an e...

7 days 前 | 0

| 已接受

已回答

l appears there as a function only as the inverse of l. as such, it is just a name. we could call it something else, and nothing...

7 days 前 | 0

已回答

um, trivial? you apparently want to generate 300 samples of a bivariate normal. so generate them as a 300x2 array, then reshape...

7 days 前 | 1

| 已接受

已回答

data=[0.928571429, 0; 0.012118074, 1.5; -0.450001188, 3; -0.316739249, 4.5; 0.394139277, 6; 0.094786629...

8 days 前 | 1

已回答

suppose i had two equations. two unknowns. totally trivial, but they are not unlike your question. x y = 1 x - y <= 3 ...

8 days 前 | 0

已回答

reemmber that the gradient function usues an approximation. and, that at the ends of the series, that approximation is less good...

8 days 前 | 0

已回答

and exactly what is the problem? i think what you do not understand is, what you have created is not a surface. m = 0.85 : 1/20...

9 days 前 | 0

已回答

remember that fsolve does not allow constraints. not even bound constraints. so when one of the variables tries to go into a bad...

9 days 前 | 0

已回答

the important thing you need to recognize is that fitglm fits a linear model. no nonlinear iterations will be performed. fitgl...

10 days 前 | 0

已回答

why do you think there is something wrong with t? we don't know why you wrote this code. it computes what you told matlab to com...

10 days 前 | 0

已回答

arguably, this is something the line function would allow you to do. but line allows you to specify only a single color for an e...

10 days 前 | 0

| 已接受

已回答

there is no exact point where that can be known to happen. your curve is noisy. at best, you can estimate where the curve start...

11 days 前 | 0

已回答

the matlab crystal ball is foggy today. you give us a tiny fragment of code, and then tell us that something strange happens. pr...

11 days 前 | 1

已回答

no. simulink will not use symbolic parameters. sorry. simulink is essentially a numerical solver. it does not perform symbolic c...

12 days 前 | 0

| 已接受

已回答

another classic solution is to find the matrix that has the same eigenvalues as your polynomial has roots. then use eig to compu...

12 days 前 | 1

已回答

now that you have an answer, i'll add one that is not solved the way you would do so, but using an ilp solver, so an integer lin...

13 days 前 | 1

已回答

it would arguably be a good time to learn about something called lagrange multipliers. they allow you to build constraints into ...

13 days 前 | 0

已回答

there is no "function". it sounds as if, given vectors x and h, you want to know what the function would have been, as if matlab...

13 days 前 | 0

网站地图