john d'errico -凯发k8网页登录
retired
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.
统计数据
15
7,090
62
cody5
140
1
排名
11
of 277,885
声誉
20,032
贡献数
15
7,090
回答接受率
40.0%
收到投票数
4,306
排名
4 of 18,801
声誉
63,480
平均
4.80
贡献数
62
下载次数
1371
all time 下载次数
571959
排名
1,297
of 129,101
贡献数
5
140
评分
1,566
徽章数量
7
贡献数
0 帖子
贡献数
0
平均
贡献数
1
平均赞数
8
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