Feeds
답변 있음
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...
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...
3일 전 | 0
| 수락됨
답변 있음
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)) ...
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)) ...
5일 전 | 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,...
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일 전 | 0
답변 있음
Eigendecomposition not fully utilizing all cores on M1 pro, matlab 2025b
Perhaps bundle the jobs together using pageeig?
Eigendecomposition not fully utilizing all cores on M1 pro, matlab 2025b
Perhaps bundle the jobs together using pageeig?
7일 전 | 0
답변 있음
Use ginput in a datatip
There is imdistline, but it requires the Image Processing Toolbox.
Use ginput in a datatip
There is imdistline, but it requires the Image Processing Toolbox.
9일 전 | 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] ...
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] ...
12일 전 | 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...
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...
13일 전 | 0
답변 있음
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)
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)
15일 전 | 0
답변 있음
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...
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...
16일 전 | 0
| 수락됨
답변 있음
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...
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...
16일 전 | 0
답변 있음
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...
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...
17일 전 | 0
| 수락됨
답변 있음
"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...
"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...
19일 전 | 2
답변 있음
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...
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...
20일 전 | 0
답변 있음
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...
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...
20일 전 | 2
| 수락됨
답변 있음
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...
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...
22일 전 | 1
답변 있음
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...
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...
22일 전 | 0
답변 있음
identifying shapes in image
See this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/181422-fit-polyshape-to-objects-in-image?s_tid=prof...
identifying shapes in image
See this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/181422-fit-polyshape-to-objects-in-image?s_tid=prof...
23일 전 | 0
답변 있음
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...
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...
24일 전 | 0
답변 있음
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?...
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?...
26일 전 | 0
답변 있음
Can I hade the Figure toolbar without hiding the Axes toolbar?
figure(Toolbar='none')
Can I hade the Figure toolbar without hiding the Axes toolbar?
figure(Toolbar='none')
26일 전 | 0
답변 있음
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...
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...
26일 전 | 0
답변 있음
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...
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...
27일 전 | 0
| 수락됨
답변 있음
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= ...
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= ...
30일 전 | 1
| 수락됨
답변 있음
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...
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...
대략 1개월 전 | 0
| 수락됨
답변 있음
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...
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...
대략 1개월 전 | 1
| 수락됨
답변 있음
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...
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...
대략 1개월 전 | 0
질문
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...
대략 1개월 전 | 답변 수: 1 | 1
1
답변답변 있음
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 ...
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 ...
대략 1개월 전 | 0
답변 있음
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 ...
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 ...
대략 1개월 전 | 0
답변 있음
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...
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...
대략 1개월 전 | 0











