Matt J
Statistica
39 File
Cody DiscussionsRANK
6
of 301.637
REPUTAZIONE
32.324
CONTRIBUTI
305 Domande
12.429 Risposte
ACCETTAZIONE DELLE RISPOSTE
78.69%
VOTI RICEVUTI
4.305
RANK
201 of 21.366
REPUTAZIONE
6.765
VALUTAZIONE MEDIA
4.90
CONTRIBUTI
39 File
DOWNLOAD
108
ALL TIME DOWNLOAD
55860
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
10 Punti principali
NUMERO MEDIO DI LIKE
2
Feeds
Memoize an anonymous function with externally scoped variables
One solution is to rebuild the anonymous function inside the memoized function using a container class: mf=memoize(@subfunc); ...
circa 16 ore fa | 0
Domanda
Memoize an anonymous function with externally scoped variables
I am trying to memoize a function that takes an anonymous handle with an externally-scoped parameter as input. The problem is th...
circa 19 ore fa | 2 risposte | 0
2
risposteIs there a way to insert a common ylabel to secondary axes in a tiled layout?
t = tiledlayout(2,2); for i = 1:4 f = figure(1); ax = nexttile; yyaxis left x = (1:10); y = rand(1,10)...
6 giorni fa | 0
How does Matlab interact with custom Diffusion models?
From what I've read, simple diffusion U-Nets are well within Matlab's reach. For very advanced models like LDF-VFI, Matlab can d...
6 giorni fa | 0
transfer learn without losing old memoy YoloX
Continual learning is a serious research topic.There are no off-the-shelf tools in Matlab to do it in a sophisticated way. You w...
7 giorni fa | 0
| accettato
How to flatten an image and find dimensions?
Find the 4 vertices of the outer ellipse (i.e., the end points of the major and minor axes). This can be done manually with draw...
10 giorni fa | 0
help with XYZ data file
This might be what you're looking for: zq=fspecial('gaussian',200,40); Nlevels=5; zRanges=linspace(min(zq(:)) ,max(zq(:))...
14 giorni fa | 0
help with XYZ data file
First question, I would like to be able to plot some of the planes of XY with fixed Z values/range. The terminology "planes of...
15 giorni fa | 0
Inviato
Quadratic minimization with norm constraint
Minimizes convex or non-convex quadratics subject to (in)equality constraint on norm(x)
16 giorni fa | 3 download |
How to find a rotation vector for use in rotate, if the rotation matrix is rank deficient?
Probably easier to use hgtransform, which allows you to perform the rotation by specifying only the rotation matrix.
16 giorni fa | 0
Find specified number of points on curve with identical chord length (not arc length)
Here's an approach using fminbnd to minimize the attached cost function circleMarch(). t=linspace(0,200,1e4)'; %%% XY=[cosd...
18 giorni fa | 0
| accettato
How to use custom YOLO models in MATLAB?
If you have the Deep Learning Toolbox, you can use minibatchpredict.
19 giorni fa | 1
How to remove unwanted double image in plot
It is possible your points are not sorted in ascending order of x.
19 giorni fa | 0
| accettato
How can you make multi-line axis labels with TeX not left-justified in R2026a?
Here's an attempt using the idea of separate text boxes that you mentioned. It wasn't too bad, although, it doesn't have the abi...
20 giorni fa | 0
How can you make multi-line axis labels with TeX not left-justified in R2026a?
xlabel({'normal'; '\textbf{bold}'}, ... 'Interpreter','latex')
20 giorni fa | 0
How to find a function in the path - securely?
Perhaps as follows? safeWhich('num2cell') safeWhich('varargin') safeWhich('R') safeWhich('p') safeWhich('queryName') ...
22 giorni fa | 1
| accettato
Colorbar with background image
You can use this as a template: % Create sample data [X,Y] = meshgrid(linspace(-3,3,200)); A = exp(-(X.^2 + Y.^2)); ...
22 giorni fa | 0
Only version 2026a appears available for download as a trial. I want version 2025b
If you Contact Sales, you might be able to arrange a trial version of your choice with them directly.
24 giorni fa | 0
How to use fft on the continuous time signal
Here is the proper way to set up the time and frequency sampling axes: tau = 1*10^-9; % tau %Set up frequency and time sampl...
25 giorni fa | 0
| accettato
textscatter example, and behavior, is mysterious
Here's an alternative, whose behavior you might like better: rng("default") n = 11; x = rand(n,1); y = rand(n,1); str = str...
26 giorni fa | 0
Can you get matlab to add a really small number to a big number and retain precision
Can you get matlab to add a really small number to a big number and retain precision You can, but it is better to just reorgani...
26 giorni fa | 1
Why is Preallocating arrays important in MATLAB, and how does it improve performance compared to dynamically growing arrays?
When it is acceptable to avoid preallocation Looping backwards is an alternative to pre-allocating. You're not really "avoidin...
27 giorni fa | 0
Does dicomreadVolume automatically rescale the image?
You should manually apply it.
28 giorni fa | 0
| accettato
When plotting 3D graphs in MATLAB, can the x and y axis labels be made flush with the x-y plane, as shown in the figure below?
There are some File Exchange compositions that seem to be able to do it, e.g., https://www.mathworks.com/matlabcentral/fileexch...
circa un mese fa | 0
| accettato
How to add a shared ylabel on the right hand-side of a figure, when combining tiledlayout and yyaxis?
One way. t = tiledlayout(4,1); for i = 1:4 nexttile title("Tile"+i) yyaxis left plot(rand(1,10)) ...
circa un mese fa | 1
trainnet function - randomness and repeatability
In addition to random initialization of the Learnables, as mentioned by @Steven Lord, you are using the default Shuffle setting,...
circa un mese fa | 0
Eigendecomposition not fully utilizing all cores on M1 pro, matlab 2025b
Perhaps bundle the jobs together using pageeig?
circa un mese fa | 0
Use ginput in a datatip
There is imdistline, but it requires the Image Processing Toolbox.
circa un mese fa | 0
Given an observer looking to the center of an ellipsoid, how can I determine the distance through the ellipsoid if none of the axes are aligned with this look angle?
Given an observer looking to the center of an ellipsoid After converting to ECEF coordinates, xc=[xc1;xc2;xc3] ...
circa un mese fa | 0
How can I fit a curve with three independent variables in MATLAB R2024b?
lsqcurvefit from the Optimization Toolbox has no restriction on the number of independent variables (or on bounds), but you will...
circa un mese fa | 0











