matt j -凯发k8网页登录
professional interests: medical image processing, optimization algorithms please note: i do not read email sent through my author page. please post questions about fex submissions in their respective comments section.
统计数据
233
10,731
35
highlights3
排名
6
of 277,883
声誉
27,862
贡献数
233
10,731
回答接受率
75.11%
收到投票数
3,632
排名
223 of 18,801
声誉
6,020
平均
4.90
贡献数
35
下载次数
355
all time 下载次数
50427
排名
of 129,096
贡献数
0 个问题
0 个答案
评分
0
徽章数量
0
贡献数
0 帖子
贡献数
0
平均
贡献数
3
平均赞数
2
content feed
you should use fsolve or fminsearch to solve the original equations. both of these are iterative solvers requiring an initial gu...
18 hours 前 | 0
perhaps you meant to have, f = @(v) norm( v.*-q.*(nabs - fluxfunction(eg, egmax, tc,v)) ); otherwise, it is not clear how t...
18 hours 前 | 0
n = 10:20:500; err = rand(6,numel(n)); �ke h = loglog(n,err'); [h.linestyle]=deal('-','--','-.',':','--','--'); [h(end-1...
19 hours 前 | 1
| 已接受
possibly mproc or one of its callers has path-altering commands that temporarily remove cmap from the path. to be certain, we wo...
1 day 前 | 0
i wouldn't know how to do all the image processing and segmentation work that i could do in a simpler and more direct way with t...
1 day 前 | 0
well, period=50 so x1(period 1:2*period) is the same as x1(51:100). since x1 has length 50, indexing it from 51:100 won't work. ...
1 day 前 | 0
so this specific line of code is just refusing to work for seemingly no reason. maybe there is some invisible character in tha...
1 day 前 | 0
a mechanism equivalent to .mat file saving is how data is transferred to parpool workers. the plotfcn that you give to parfeval ...
1 day 前 | 1
| 已接受
just concatenate all the constants into a vector and bring that into simulink, constants=[m,alp_ang,...,maxbrk]
1 day 前 | 1
the fval output from gamultiobj should give you those values: [x,fval] = gamultiobj(___)
1 day 前 | 0
there is no way to avoid for-loop speed when dealing with structs and cells. below is a way to abbreviate the syntax, but both n...
2 days 前 | 0
| 已接受
there are several applicable file exchange contributions. here are 2 of them, https://www.mathworks.com/matlabcentral/fileexcha...
2 days 前 | 1
so why is it that matlab cannot use fread to read a structured file? not sure how fread is implemented (does it use c fread or...
2 days 前 | 0
| 已接受
you need to be using '&' x=0.23; 0
2 days 前 | 0
[m,n]=size(i); mask=poly2mask(polyout.vertices(:,2),polyout.vertices(:,1), m,n); pixels=i(mask)
3 days 前 | 0
| 已接受
use pdist2
3 days 前 | 0
writematrix(header,'filename.txt'); writetable(tab_data,'filename.txt',writevariablenames=false,writemode='append');
3 days 前 | 0
| 已接受
it is not clear that a vectorized approach would help you, because the time for each of the optimizations to converge would be ...
3 days 前 | 0
| 已接受
you could make the constants the constant properties of a class. then they can be reused even after issuing clear classdef myco...
4 days 前 | 1
| 已接受
problem.objective = ... @(x) [ 0.0365*x(1) - 0.18*x(2) 0.389; 0.0435*x(1) - 0.266*x(2) 4.2*x(3) 0.019*x(1...
4 days 前 | 0
it might be better to use a 3rd party tool like, https://www.mathworks.com/matlabcentral/fileexchange/19729-passwordentrydialog...
4 days 前 | 0
| 已接受
you can always use the editfield's userdata property to hold extra stuff. however, there's no reason the true password needs to ...
5 days 前 | 0
your intention with the code is not clear, but here is one possibility, [sis.on]=deal(d_{:,2});
5 days 前 | 1
| 已接受
use polyxpoly if you have the appropriate toolbox. otherwise, use this fex download, https://www.mathworks.com/matlabcentral/fi...
5 days 前 | 0
the efficient way would be to first eliminate the grid squares which are wholly inside or outside the circle, which you can dete...
5 days 前 | 0
your scaling isn't really doing anything meaningful, since all residuals are weighted equally. really, you are just multiplying ...
6 days 前 | 1
a=3; b=9; f=@(x)a-b*x*sinh(x); [x,fval]=fzero(f,[0,10]) %first solution [x,fval]=fzero(f,[-10,0]) %second solution
6 days 前 | 1
replace "return" by "end"
6 days 前 | 0
| 已接受
would it be possible to get the content of the second output of the legend, i.e. "labelhandles", just by calling the first outpu...
6 days 前 | 2
| 已接受
since your grids are related by an affine warping, it might be best to use imwarp, assuming you have the appropriate toolbox.exa...
7 days 前 | 0