Matt J
Statistics
38 Files
Cody HighlightsRANK
6
of 300,499
REPUTATION
32,076
CONTRIBUTIONS
292 Questions
12,313 Answers
ANSWER ACCEPTANCE
78.42%
VOTES RECEIVED
4,261
RANK
201 of 21,021
REPUTATION
6,725
AVERAGE RATING
4.90
CONTRIBUTIONS
38 Files
DOWNLOADS
120
ALL TIME DOWNLOADS
55464
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
3 Highlights
AVERAGE NO. OF LIKES
2
Feeds
FFT problem: FFT -> some manipulation -> IFFT results in one-element shift
I think the line where I define my frequency: f= ((-length(fourierNoise)/2):((length(fourierNoise)/2)-1))*fs/length(fourierNois...
7 hours ago | 0
Free boundary of a tetrahedral mesh has interior-crossing edges
OK, my bad. The solid was built from smaller, triangular sub-prisms, each subsequently split into tetrahedrons. While neighborin...
11 hours ago | 0
| accepted
Can we specify or make uigetfile() remember its window position or view mode/sorting?
This file exchange submission seems to do most of the above, https://www.mathworks.com/matlabcentral/fileexchange/10867-uipickf...
1 day ago | 0
Table with multiple types
I guess I might be missing something. Why isn't this what you want? PType='R'; PData=uint32(391); fig = uifigure; uit = ui...
1 day ago | 0
How to move data tip in R2025b?
Another option is to supply your own datatip, with an UpdateFcn defined by you: function datatipDemo() % Minimal example that ...
1 day ago | 0
How to move data tip in R2025b?
You can activate the old-style figure toolbar exploration buttons, e.g., addToolbarExplorationButtons(gcf) That seems to have ...
2 days ago | 0
Error using assignin in a nested m function
Assignin is something you should generally try to avoid. It has many hazards. In this case, where myfunction is nested in mywo...
5 days ago | 1
Question
Migrate R2025a preferences to a new computer that is running R2025b
I am installing R2025b Matlab on a new computer. The new computer has no prior Matlab installations from which previous preferen...
5 days ago | 0 answers | 1
0
answersQuestion
As of R2025ab, are all figures now uifigures?
Prior to R2025, the result of the code below was tf=0. Have the figure and uifigure frameworks been unified somehow? Is that why...
5 days ago | 1 answer | 1
1
answerImtile resolution changes with figure height
So Ive noticed when y figure is 1500 x 600, the images look a lot better than when the figure is only 300 high - even though wit...
5 days ago | 0
| accepted
Where did the zoom icon and other tools go in Release 2025b?
In the version I had installed previously, there was a "zoom" button shaped like a small magnifying glass in a toolbar along wit...
5 days ago | 1
| accepted
How can I measure the pixel size
If you know the real world distance D (e.g. in millimeters) between two points on the PCB, and if these points are N pixels apar...
6 days ago | 0
| accepted
Find roll, pitch, and yaw from the same vector in two different coordinate systems
So this is a system of equations with three equations and three unknowns, so there should be sufficient information. No, there ...
6 days ago | 0
Question
Free boundary of a tetrahedral mesh has interior-crossing edges
I have the following tetrahedralized solid, a right prism with a non-convex base, load data %Solid display tetramesh(TET,'F...
7 days ago | 1 answer | 0
1
answerValue to differentiate is not traced. It must be a traced real dlarray scalar. Use dlgradient inside a function called by dlfeval to trace the variables.
rawOut = extractdata(rawOut); dY8 = extractdata(dY8); dY18 = extractdata(dY18); If you pre-convert all your input...
7 days ago | 0
Why the optimization results of lsqnonlin are different in R2026a and R2025a?
There appears to be a new (and buggy) implementation of expm.m in R2026a, resulting in incorrectly complex results for skew sym...
9 days ago | 1
| accepted
Quick substitution of all multi-objective optimization results (gamultiobj) into optimization expressions
Obviously I can build a loop over ii to get an array Mval, but is there a way to do it more elegantly? Doesn't seem it like it....
12 days ago | 0
Why is xlim not working?
Calling axis equal triggers an xlim,ylim adjustment. % Set parameters for main circle center = [3,6]; radius = 2; angleStart...
12 days ago | 1
| accepted
Submitted
A class for successive matrix products
A class representing products of matrices, internally storing/manipulating them separately.
13 days ago | 2 downloads |
How to define size of class property depending on a given parameter (including codegen)
With the classdef below, you can set the default size with its defaultSize() static method. This will remain in effect until the...
14 days ago | 1
"help" does not work
Possibly help.m is calling a function which you have shadowed. You will probably have to use dbstep to track this, or the equiva...
15 days ago | 1
| accepted
App Designer: How can I use an index to increment a Value field such as editfield1.value, editfield2.value, editfield3.value, etc.?
It would be better to use a uitable for this, or at least to use numeric EditFields instead of textual EditFields. Regardless, ...
15 days ago | 0
| accepted
how to upscale the dimensions of a matrix to match the dimensions for a second matrix?
Use imresize load Carbon load Rain rainResized = imresize(rain, OutputSize=size(bc_aod)); tiledlayout('h') nexttile im...
15 days ago | 0
| accepted
rmpath does not remove folders on path
No, as you have been warned "/Users/siggia/Dropbox @RU Dropbox/Eric Siggia/Desktop/claude/matlabCP1" is not on your Matlab path....
16 days ago | 0
| accepted
Discrepancy in sparse matrix math, when NaN's present
The response I seem to be getting from Tech Support is that this is expected behavior. NaNs are not guaranteed to propagate the ...
20 days ago | 0
| accepted
Numerical Integrators With Problem-Based Optimization
but quickly realized that the class of variables used in the problem-based approach will not work with ode45 (or any root-findin...
21 days ago | 1
| accepted
Question
Discrepancy in sparse matrix math, when NaN's present
I expect result1 and result2 below to be identical, but they aren't. The discrepancy must be a bug, right? I'm working in R2024b...
23 days ago | 1 answer | 0
1
answerCreate a 2D image based on what a camera would see
You could just do a surface plot of the object, set the camera position parameters of the axes, and then use exportgraphics (whi...
25 days ago | 0
Assigning different data types to struct arrays using comma separated list assignment. Are there better options?
I like the performance of the code, however, I find it more difficult to read than for-loops Why not just use for-loops then, i...
25 days ago | 0
| accepted
I am getting the following error
There are many ways to generate that error. One of them is that you may be using 'end' as the name of a variable, e.g., end=1
26 days ago | 0











