Réponse apportée
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...

6 mois il y a | 0

Réponse apportée
How can you make multi-line axis labels with TeX not left-justified in R2026a?
xlabel({'normal'; '\textbf{bold}'}, ... 'Interpreter','latex')

6 mois il y a | 0

Réponse apportée
How to find a function in the path - securely?
Perhaps as follows? safeWhich('num2cell') safeWhich('varargin') safeWhich('R') safeWhich('p') safeWhich('queryName') ...

6 mois il y a | 1

| A accepté

Réponse apportée
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)); ...

6 mois il y a | 0

Réponse apportée
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.

6 mois il y a | 0

Réponse apportée
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...

6 mois il y a | 0

| A accepté

Réponse apportée
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...

6 mois il y a | 0

Réponse apportée
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...

6 mois il y a | 1

Réponse apportée
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...

6 mois il y a | 0

Réponse apportée
Does dicomreadVolume automatically rescale the image?
You should manually apply it.

6 mois il y a | 0

| A accepté

Réponse apportée
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...

6 mois il y a | 0

| A accepté

Réponse apportée
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)) ...

6 mois il y a | 1

Réponse apportée
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,...

6 mois il y a | 0

Réponse apportée
Eigendecomposition not fully utilizing all cores on M1 pro, matlab 2025b
Perhaps bundle the jobs together using pageeig?

6 mois il y a | 0

Réponse apportée
Use ginput in a datatip
There is imdistline, but it requires the Image Processing Toolbox.

7 mois il y a | 0

Réponse apportée
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] ...

7 mois il y a | 0

Réponse apportée
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...

7 mois il y a | 0

Réponse apportée
Matrix 10x10 with same number in each row by column.
M=repelem(1:10,10,1) M = ceil( reshape(1:100,10,10) /10 ) M = fft(1:10,10,1)

7 mois il y a | 0

Réponse apportée
How to use the nonlinear least square fitting to fit a transfer function?How to improve the fitting accuracy
Assuming the things @Catalytic pointed out above were mistakes, and also if Y is supposed to be the impulse response, then the f...

7 mois il y a | 0

| A accepté

Réponse apportée
How to use the nonlinear least square fitting to fit a transfer function?How to improve the fitting accuracy
Your initial point, T0 = ones(10,1); %% intial values looks very arbitrary. You should devise a smarter initial guess. Aside...

7 mois il y a | 0

Discussion


Shouldn't max([])=-inf ?
Matlab seems to follow a rule that iterative reduction operators give appropriate non-empty values to empty inputs. Examples inc...

7 mois il y a | 0

Réponse apportée
Why Does polyval Return Zero When the Coefficients are Empty?
For non-empty A and B, we have the general relation, polyval([A,B],z)=polyval(A,z)*z^numel(B) + polyval(B,z) Extending this to...

7 mois il y a | 0

| A accepté

Réponse apportée
"Index exceeds 37" when 35 variables?
The root cause, as I commented above, is probably that you've attempted to construct a fit type with 3 independent variables, wh...

7 mois il y a | 2

Réponse apportée
Dependency analyzer refuses to work
Do you really need all the features of the app environment for what you are doing? You can analyze dependencies programmatically...

7 mois il y a | 0

Réponse apportée
Best way to relabel axis as pi for trig functions.
x = linspace(0,2*pi,200); y = sin(x); plot(x, y) ax=gca(); ax.XTick=0:pi/2:2*pi; ax.TickLabelInterpreter='latex'; ax.XTi...

7 mois il y a | 2

| A accepté

Réponse apportée
Efficient overlapping block processing with nested sub blocks (similar to im2col with stride)
If the reordering is something you want to repeat on multiple matrices of the same size and block structure, then you can use yo...

7 mois il y a | 1

Réponse apportée
obtain an equation for the curve joining maximum points, using an appropriate interpolation or “curve fitting” process???
I think you are being asked to derive the equation for the maxima by hand -- an easy calculus exercise since the trajectories ar...

7 mois il y a | 0

Réponse apportée
identifying shapes in image
See this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/181422-fit-polyshape-to-objects-in-image?s_tid=prof...

7 mois il y a | 0

Réponse apportée
SNR goes down as noise filtering is increased.
Depending on the data you provide, the theoretical assumptions of a Wiener filter (signal stationarity, white noise, etc...) ar...

7 mois il y a | 0

Réponse apportée
Odd behavior of unstack in Matlab2025b
The change occurred in R2020a and was documented, https://www.mathworks.com/help/releases/R2024b/matlab/ref/table.unstack.html?...

7 mois il y a | 0

Charger plus