Réponse apportée
How to get legend entries from existing figure ?
The legend's String property will get you the legend labels for the different lines, e.g., plot(rand(5,3)); L=legend; L.Stri...

3 mois il y a | 0

| A accepté

Réponse apportée
App Designer component generated by code not displaying
It is conspicuous to me that you are complaining about missing labels, but not about the missing uipanel!. Did you pre-populate ...

3 mois il y a | 0

| A accepté

Réponse apportée
What is causing this intermittent error in parfor?
If you add the indicated line, your class constructor will support no-argument calls, and the error will go away: funct...

3 mois il y a | 0

| A accepté

Réponse apportée
Defining inequality constraint A*x <= b for genetic algorithm
You should be able to vectorize the computations in your self-intersection checker (within your nonlinear constraint function). ...

3 mois il y a | 0

Question


Why does fprintf attach a negative sign to a zero?
Here is some code to set up the demonstration, load data fid = fopen('runsim.py','w'); rotation=[0,0,-GantryAngles(1)]; ...

3 mois il y a | 3 réponses | 0

3

réponses

Question


Closing the Property Inspector in R2025b
The Property Inspector pane does not appear to have a 'Close' button in R2025b, nor does its sidebar icon appear to have a dropd...

3 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
confidence interval from lsqnonlin function while retaining constraints
After solving the original problem, initialguess = [3,25.5013,0.5,-0.8793]; %[n,tau(fs),m,c] options = optimoptions('lsqnonlin...

3 mois il y a | 0

Question


Pinning the AxesToolbar (revisited)
The AxesToolbar was introduced about 6 years ago, However, I never embraced it, because it wa...

3 mois il y a | 1 réponse | 3

1

réponse

Réponse apportée
How can I move the find & replace window or get it to automatically close
If you widen the Editor window sufficiently, the Find and Replace window will move to the right into a blank area where it will ...

3 mois il y a | 0

| A accepté

Question


Mixing subscripts with linear indices
Generally speaking, I have found that it has always been possible to mix subscript and linear array indexing, as long as the ind...

3 mois il y a | 1 réponse | 1

1

réponse

Réponse apportée
effects of ifft2(x, 'symmetric') while x is not conjugate symmetric
When you specify "symmetric", the upper half of the fft input array is ignored, e.g. x=ones(1,7); ifft(x) x(5:end)=rand(1...

3 mois il y a | 1

| A accepté

Réponse apportée
The single function is not behaving as expected
No, it is not a bug. The precision of a number isn't something that is measured only by the digits to the right of the decimal p...

3 mois il y a | 3

| A accepté

Réponse apportée
Integer conversion without precision loss for literal function inputs
test 7725400999518902274 function test(a) arguments a (1,:) string end a=eval("uint64("+ a + ")"), end

3 mois il y a | 1

| A accepté

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

3 mois il y a | 0

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

3 mois il y a | 0

| A accepté

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

3 mois il y a | 0

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

3 mois il y a | 0

Réponse apportée
How to move data tip in R2025b? (Or, how to restore legacy data tip behavior)
Another option is to supply your own datatip, with an UpdateFcn defined by you: function datatipDemo() % Minimal example that ...

3 mois il y a | 0

| A accepté

Réponse apportée
How to move data tip in R2025b? (Or, how to restore legacy data tip behavior)
You can activate the old-style figure toolbar exploration buttons, e.g., addToolbarExplorationButtons(gcf) That seems to have ...

3 mois il y a | 0

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

3 mois il y a | 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...

3 mois il y a | 1 réponse | 1

1

réponse

Question


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...

3 mois il y a | 1 réponse | 1

1

réponse

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

3 mois il y a | 0

| A accepté

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

3 mois il y a | 1

| A accepté

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

3 mois il y a | 0

| A accepté

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

3 mois il y a | 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...

3 mois il y a | 1 réponse | 0

1

réponse

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

3 mois il y a | 0

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

4 mois il y a | 1

| A accepté

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

4 mois il y a | 0

Charger plus