Beantwortet
Nested tiledlayout: can parent tiles have different widths depending on number of child tiles?
It might be better to us e a grouped bar plot, e.g., Y = [5 3 7 0 0; 6 4 2 1 0; 4 8 5 1 6]; gradientGroupedBar...

7 Monate vor | 0

Beantwortet
How to change the arrangement of plots in a tiled layout even if the plots are not empty?
One way: tl=tiledlayout('vertical'); for i=1:3, nexttile; plot((1:5)+10*i); title(string(i)); axis square; end tl=transpos...

7 Monate vor | 0

| akzeptiert

Beantwortet
How do I perform Image segmentation in an RGB image using pattern?
load Image [r,g,b]=imsplit(I); lev=multithresh(r,2); L=imquantize(r,lev); H=bwareafilt( imfill(L==2,'holes') ,1) ; BG= ...

7 Monate vor | 1

| akzeptiert

Beantwortet
Curve fitting confidence intervals - discrepancy in manual CI plot and predint plot
Also, what is predint and how is this different from manually plotting the CIs as I did? predint predicts an uncertainty inter...

7 Monate vor | 0

| akzeptiert

Beantwortet
How to preserve the 3d plot box, when changing patch visibility.
Here's something a little fancier, and maybe more robust. It captures (and reasserts) all relevant properties of the plot perspe...

7 Monate vor | 1

| akzeptiert

Beantwortet
How can I quickly find the eigenvalues and eigenvectors of a matrix with a special structure using high-precision calculations?
@Torsten has hinted, based on your earlier posts, that the eigenvalues of M may occur in distinct and purely imaginary conjugate...

7 Monate vor | 0

Frage


Indexing behavior of table properties
Suppose we have a table such as, T=table(rand(3,1,'single'), randi(5,3,1)) What is it that allows the VariableTypes to be in...

7 Monate vor | 1 Antwort | 1

1

Antwort

Beantwortet
How to preserve the 3d plot box, when changing patch visibility.
Using axis() twice, we can both capture and reassert the axis limits, axis(axis) This also then converts all X,Y,ZLimModes to ...

7 Monate vor | 0

Beantwortet
How can I force a .txt export
Instead of, if length(file) < 4 || ~strcmpi(file(max(1,end-3):end), '.txt') file = [file '.txt']; end use ...

7 Monate vor | 0

Beantwortet
Extracting from cell arrays using a nested loop
Do not use a nested loop: clear Data for k=250:-1:1 Data(:,k,:) = Matrix(zapTime(k)-12000:zapTime(k)+75000, 2:end) ); end...

7 Monate vor | 0

Beantwortet
How to draw the axis in the origin of the coordinate system?
Use export_fig instead, https://www.mathworks.com/matlabcentral/fileexchange/23629-export_fig

8 Monate vor | 1

Beantwortet
Restore data format from SCB to SSCB after patch embedding
One way is to use a functionLayer.

8 Monate vor | 0

Beantwortet
Error forming mini-batch for network input
This is not enough to reproduce the error. You haven't provided input images. My guess, however, is that there are some files in...

8 Monate vor | 2

Beantwortet
Having 'imdilate' function only proceed when there are not a bunch of zero values
Don't use a loop. Use imreconstruct instead

8 Monate vor | 0

Beantwortet
How do I find if a point is within the volume of a rotated ellipsoid
Download AxelRot from here, https://www.mathworks.com/matlabcentral/fileexchange/30864-3d-rotation-about-shifted-axis?s_tid=src...

8 Monate vor | 0

Frage


Resetting a memoized function
I know that clearCache will clear the cache of a MemoizedFunction, but how would you reset its other properties to their default...

8 Monate vor | 2 Antworten | 0

2

Antworten

Beantwortet
Deconvolution using FFT - a classical problem
Since you are trying to deconvolve in the presence of noise, it would make sense to use a regularized deconvolver like deconvreg...

8 Monate vor | 0

| akzeptiert

Beantwortet
Morphological Image Processing: Object Identification and Separation
This might be along the lines of what you're looking for. It's semi-empirical though in the way it discards particles. Maximum d...

8 Monate vor | 1

| akzeptiert

Beantwortet
Deconvolution using FFT - a classical problem
dt=0.001; N=20/dt; t= ( (0:N-1)-ceil((N-1)/2) )*dt; %t-axis u=(t>=0); g=3*exp(-t).*u; y=conv(g,u,'same')*dt; Y = fft...

8 Monate vor | 0

Beantwortet
How do I start using MATLAB Copilot?
The Matlab AI Co-pilot is an add-on product. It will not be part of your Matlab installation unless you've bought a license for ...

8 Monate vor | 0

Frage


Parsing mfunctions with mtree
Given an Nx1 colum vector of strings containing lines of mfunction code, it is possible to use the undocumented function mtree()...

8 Monate vor | 1 Antwort | 1

1

Antwort

Beantwortet
Where is the Save icon (not Save As) in a figure (.fig) R2025b Matlab
There is no separate Save icon applicable to figures. I think only the Editor has ever had that.

8 Monate vor | 0

Beantwortet
Determine which delaunayTriangulation Constraints correspond to input constraints?
If you convert the final triangulation to a graph, then it seems to me that shortestpath should give you the intermediate nodes ...

8 Monate vor | 0

Beantwortet
Adding a dropdown box for the variable unit BESIDE the variable
Sure. For example,

8 Monate vor | 0

| akzeptiert

Frage


Appdesigner labels linked to components
It appears to me that text labels in AppDesigner canvases have two types: labels that are standalone, independent of any compo...

8 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
Pass commands to executable run through system command
Perhaps as follows? In1 = '1'; In2 = 'C:/Dir1/File1.dat'; In3 = '02/09/2026 16:00'; In4 = '0.5'; cmd = sprintf('C:/Dir2/m...

8 Monate vor | 0

Beantwortet
When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) ...),but if Ireplace nlinfit with fmincon, the sintax is not valid, why?
Because it is a different function. The syntax of fmincon is documented here, https://www.mathworks.com/help/optim/ug/fmincon.h...

8 Monate vor | 0

| akzeptiert

Beantwortet
does installing toolbox that has different version than your matlab program cause a problem
Yes. I don't think it's even possible to install a toolbox version that doesn't match your core Matlab version.

8 Monate vor | 0

Beantwortet
Why is the menu bar background white?
You could also upgrade to R2025. There, the menu bar is grey (or at least not as white) and you can also render figures in da...

8 Monate vor | 0

Beantwortet
Why is the menu bar background white?
especially when you develop a code with a GUI For GUIs, you can use uimenu, which still produces a grey menu bar.

8 Monate vor | 0

Mehr laden