photo

Matt J


Last seen: 1 giorno fa Attivo dal 2009

Followers: 11   Following: 0

Messaggio

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.

Statistica

All
  • Most Accepted 2023
  • Most Accepted 2022
  • Speed Demon
  • Creator
  • Editor's Pick
  • Personal Best Downloads Level 4
  • Community Group Solver
  • Commenter
  • Promoter
  • Leader
  • Solver
  • Grand Master

Visualizza badge

Feeds

Risposto
Unable to achieve desired speed up using parfor
I find that all instances on B finish in about half the time as those on A. It baffles me... That is the expected result, assu...

3 giorni fa | 0

Risposto
How to avoid unrecognized option names using optimget
Although I am using R2024a, that particular code still uses an older (2016-2019) version of lsqcurvefit. If so, problem solved....

3 giorni fa | 0

| accettato

Risposto
Finding the Center of Broken Vase Slices
You can use ellipticalFit() from this download, https://www.mathworks.com/matlabcentral/fileexchange/87584-object-oriented-tool...

3 giorni fa | 1

Risposto
How to access the n-th caller workspace?
Since getObjPath() is a Static method, why not just do, function pathOutMod=getOrigClassPath() origClassPa...

8 giorni fa | 0

Risposto
A parfor loop and random number generator
Use RandStream to give each worker a common random number stream. test_for_parfor(0) output = 60 291 379 808 77...

13 giorni fa | 1

Risposto
Error with 1dPooling in dlnetwork
You can use functionLayers to reformat the activations as the averagePooling layers require, but make sure you set the spatial d...

13 giorni fa | 0

Risposto
MATLAB Not Working After Update
I would try doing a clean reinstall, i.e., with all previous installation folders deleted. Failing that, you will probably need ...

13 giorni fa | 0

Risposto
Steepest descents methods algoritme for higher dimensional objective functions
See fminunc, fmincon, and perhaps also, https://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differentia...

13 giorni fa | 0

| accettato

Risposto
How can I keep the non-Matlab command window open after executing an executable by double clicking it?
There is very little context provided by the question, but if it is an executable created with the Matlab Compiler, then for exa...

13 giorni fa | 0

| accettato

Risposto
What is the easiest way to provide the user with a compiled version of a matlab function so that he can run without having the source?
If the idea is to obscure the source code, consider, https://www.mathworks.com/help/matlab/matlab_prog/building-a-content-obscu...

13 giorni fa | 1

| accettato

Risposto
How to give arguments to fmincon using ssest in system identification toolbox?
Perhaps as follows, opts=ssestOptions(SearchMethod='fmincon'); opts.SearchOptions.Algorithm='trust-region-reflective'; opts...

17 giorni fa | 0

| accettato

Risposto
Trying to reshape/reformat data set into multiple sets
Using mat2tiles, downloadable from, https://www.mathworks.com/matlabcentral/fileexchange/35085-mat2tiles-divide-array-into-equa...

19 giorni fa | 0

Risposto
How to batch close the open variable window
You can try, com.mathworks.mlservices.MatlabDesktopServices.getDesktop.closeGroup('Variables')

20 giorni fa | 0

Risposto
Derivative of a multivariate function handle
Is this what you want? syms y [1 2] g = [y(1)*cos(y(2))+y(2)*sin(y(1))-0.5]; Jfun=matlabFunction(jacobian(g,y)) Jfun(0...

22 giorni fa | 0

Risposto
Determine if a point is inside a cube
Assuming the cube is not rotated, vertices = [ -1, -1, -1; -1, -1, 1; -1, 1, -1; -1, 1, 1; 1, -1,...

22 giorni fa | 0

Risposto
How to use splitapply function with a grouping variable which is a cell array in my table?
groupingVar = {'A', 'X'; 'A', 'Y'; 'B', 'X'; 'B', 'Y'; 'A', 'X'; 'A', 'Y'; 'B', 'X'; 'B', 'Y'; 'A', 'X'; 'A', 'Y'}; G=findgro...

22 giorni fa | 0

Risposto
find unique array cell with 2 field
>> findgroups(f(:,1),f(:,2)) ans = 1 1 3 2

22 giorni fa | 0

| accettato

Risposto
Question regarding calling the destructor of a broadcast variable in parfor.
It is because you have 6 workers in your parpool. Therefore, a copy of Mage is sent to each worker, for a total of 6, during par...

22 giorni fa | 0

| accettato

Risposto
find unique array cell with 2 field
load('matlab_f.mat') table2cell(unique(cell2table(f),'rows'))

22 giorni fa | 0

Risposto
Problem with ploting involving function handle
Perhaps this is what you meant? N= 600; COMx_k = @(k) real(sum(1.*exp(-2*pi*1i*(k/N).*(1:N)' ),1)); %k=0:0.1:300 fplo...

22 giorni fa | 0

| accettato

Risposto
how to change the image from axial to sagittal
imtool3D() is not a native Matlab function, but I imagine if you permute your data permute(data,[3,1,2]) so that its slices are ...

24 giorni fa | 0

| accettato

Risposto
How to add an NVCC flag
Downgrade to Visual Studio 2019. See also, https://www.mathworks.com/matlabcentral/answers/2158705-mexcuda-can-t-find-visual-st...

24 giorni fa | 0

Risposto
starting vector (zero vector) equals lower bounds but gets projected to non-zero vector
This behavior is specific to the interior-point algorithm. As the name suggests, an interior-point algorithm must start at an in...

24 giorni fa | 1

Risposto
Finding concave hull around abstract shape
ps = load('matlab_answer_example.mat').new_polyShape1; tic; V=cell2mat(arrayfun(@(i) upsamp(polybuffer(ps,-i)),[0,1],'Unifor...

24 giorni fa | 1

Domanda


mexcuda() can't find Visual Studio 2022, but mex() can.
In R2024a, I encounter the following when trying to compile with mexcuda in conjunction with Visual Studio 2022. >> mexcuda -la...

25 giorni fa | 1 risposta | 0

1

risposta

Risposto
loading and training an existing network.
previous = load("savednet","net","layers"); net = trainNetwork(data,clabels,previous.net,options);

27 giorni fa | 0

| accettato

Risposto
Interpolate and plot a surface in a rotated coordinated system
I'm not familiar with the FEX submission you used, but I can show how I would do it with this one, https://www.mathworks.com/ma...

27 giorni fa | 0

Risposto
Find the indices of numbers that occur first
You won't be able to do better than a for-loop over the V(i).

27 giorni fa | 0

Risposto
scale/normalize parameter vector for optimization
The transformation is non-differentiable, and probably is not a good idea for Optimization Toolbox optimizers which are smooth ...

28 giorni fa | 0

Risposto
I have shifted from lsqnoneg to lsqlin because lsqnonneg does not support additional constraint is it right or wrong choice?
If your lsqlin can solve your problem, then there is usually never any reason to use lsqnonneg. lsqnonneg is for nonlinear least...

29 giorni fa | 0

Carica altro