Matt J
Statistics
39 Files
Cody DiscussionsRANK
6
of 300,840
REPUTATION
32,167
CONTRIBUTIONS
300 Questions
12,347 Answers
ANSWER ACCEPTANCE
78.33%
VOTES RECEIVED
4,279
RANK
201 of 21,092
REPUTATION
6,737
AVERAGE RATING
4.90
CONTRIBUTIONS
39 Files
DOWNLOADS
134
ALL TIME DOWNLOADS
55580
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
9 Discussions
AVERAGE NO. OF LIKES
3
Feeds
Unable to move editor pane to rightmost column
One way is to right-click on the command window bar and select the appropriate option from "Move Command Window": ...
1 day ago | 0
Use of matlab.apps.AppBase outside of AppDesigner
It's not clear why you would need to migrate away from them if they do what you want. If you need a deeper understanding of what...
2 days ago | 0
Question
Mixing name/value pair syntax
In a Matlab seminar a few years ago, I asked why function calls that mix old style and new style name/value pair syntax would on...
2 days ago | 0 answers | 2
0
answersSubmitted
arrayfun with scalar expansion
Version of arrayfun which allows argument arrays to have different sizes, so long as they are compatible for scalar expansion.
2 days ago | 1 download |
Discussion
Would comma-separated list expansion for non-cell arrays be a good thing?
Frequently, I find myself doing things like the following, xyz=rand(100,3); XYZ=num2cell(xyz,1); scatter3(XYZ{:,1:3}) Bu...
3 days ago | 0
Question
Would comma-separated list expansion for non-cell arrays be a good thing?
Frequently, I find myself doing things like the following xyz=rand(100,3); XYZ=num2cell(xyz,1); scatter3(XYZ{:,1:3}) But...
3 days ago | 0 answers | 0
0
answersQuestion
Performance of MEX versus builtin functions
When Matlab calls a MEX file, is there overhead that makes the call slower as compared to a built-in binary like min, max, etc.....
4 days ago | 1 answer | 0
1
answerPutting spaces between elements of a string/
A=['011001110000' '101111000000' '110100011000' '011010001100' '010101000110' '110010100010' '1000010100...
4 days ago | 1
Implicit expansion with arrayfun (cpu vs gpu)
Remember that arrayfun (on the CPU) is nothing more than an M-Code for-loop in disguise. Therefore, it is not hard to write your...
6 days ago | 1
| accepted
Implicit expansion with arrayfun (cpu vs gpu)
I agree it is confusing, but the gpuArray version of arrayfun was never intended as a direct analgoue of the CPU version. Additi...
6 days ago | 1
How to prevent image cropping after registration?
The problem is my fixed image only covers the top half of the head whereas I want the output to contain the whole head. But th...
8 days ago | 0
Question
Adding a class-related function to appdesigner app
Is there a way, in appdesigner, to create a class-related function, i.e., a function that is local to the app's classdef file, b...
8 days ago | 1 answer | 0
1
answerCut, Copy, Paste icons missing
Looks like they've been removed in R2025. However, you can easily program and install your own cut/copy/paste buttons on the Qui...
9 days ago | 0
Adding multiple function plots to a single figure with subplots - MATLAB
This might be what you want: Manipulators={manipulator1,manipulator2,manipulator3}; m=3;n=2; %tiling dimensions %create h...
11 days ago | 0
Construct voronoi diagram on a point cloud
Using the attached file and this FEX download https://www.mathworks.com/matlabcentral/fileexchange/30892-analyze-n-dimensional...
12 days ago | 0
How to generate orthogonal X-ray Projection, Digitally Reconstructed Radiographs (DRR), from a particular CT volume
This is a popular Matlab compatible library, https://github.com/CERN/TIGRE/blob/master/Frontispiece/MATLAB_installation.md It...
13 days ago | 0
| accepted
How to move a 3D volume in 6D (3 Translations and 3 Rotations)
I defined a function called "applyRigidTransform3D" in code 1 and "rigidTransform6D" in code 2 for the 6D movements It shouldn'...
16 days ago | 0
| accepted
The surface I'm plotting comes out jagged and "saw teeth" like
It's a very coarsely sampled surface. There's not really any more to it. You can bicubicly upsample the data if you want a smoot...
16 days ago | 0
| accepted
How to draw line in viewer3d ?
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?
21 days ago | 0
| accepted
Inverse problem, Overdetermined, Nonlinear
You would use fsolve or, if you want specific constraints on the unknowns, e.g., bounds, you would use lsqnonlin. You could al...
22 days ago | 0
2D-3D image registration - COMPLETE 6D ESTIMATION
I haven't read the paper, but I don't see how the proposed method would ever work as you describe it. 6D motion simply does not ...
22 days ago | 0
Fitting to exp plus a constant
It looks like the fit was successful, but the model function is overparametrized, so there is no specific value for a (or c) tha...
23 days ago | 0
Showing the value on the x-axis as a legend the moment the curve deviates from the x-axis
Something like this, perhaps: Hlines=plot(1:5, max(0,-2:2), 1:5, max(0,-1:3)); axis padded h=arrayfun(@addIt,Hlines); leg=l...
23 days ago | 0
camera intrinsics calibration produces wild out-of-range principalPoint
You haven't provided data with which to repeat the calibration, so one can only guess. But if reconstruction error is low, the p...
24 days ago | 0
How can you save a 1 by 3 array in each position of a 4D array?
I would like to only have one 4D array, with each coordinate housing a 1x3 with all 3 data points needed. Is this possible? You...
25 days ago | 1
| accepted
How to fit a set of data where one of the fitting parameters decays exponentially?
Why not just replace Γ_cav in your model equation by a parametrized exponential, e.g., Γ_cav=a*exp(b*x) where a and b are ne...
25 days ago | 0
Is image normalization performed when using "trainnet" for semantic segmentation training?
If your network has an imageInputLayer with the Normalization parameter set to do so, https://www.mathworks.com/help/deeplearni...
27 days ago | 0
The calibrator app says the patterns are "too similar" even if they are not
Your cam2 images are of poor quality. Corner detection done in isolation fails pretty badly for some of them (see below). Did yo...
28 days ago | 0
Plots have small titles
I also think that it is small in the figure viewer. I haven't noticed any changes in the figure viewer. However, you can set th...
29 days ago | 0
| accepted
the dimension of matrix when using 'sparse' to generate sparse matrix
With a slight reimplementation of tril3d, the test code seems to work: % test spblkdiag tril ndSparse z1=rand(8,8,20); z2=t...
29 days ago | 0











