Feeds
답변 있음
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(:))...
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(:))...
3일 전 | 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...
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...
4일 전 | 0
제출됨
Quadratic minimization with norm constraint
Minimizes convex or non-convex quadratics subject to (in)equality constraint on norm(x)
5일 전 | 다운로드 수: 3 |
답변 있음
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.
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.
6일 전 | 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...
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...
7일 전 | 0
| 수락됨
답변 있음
How to use custom YOLO models in MATLAB?
If you have the Deep Learning Toolbox, you can use minibatchpredict.
How to use custom YOLO models in MATLAB?
If you have the Deep Learning Toolbox, you can use minibatchpredict.
8일 전 | 1
답변 있음
How to remove unwanted double image in plot
It is possible your points are not sorted in ascending order of x.
How to remove unwanted double image in plot
It is possible your points are not sorted in ascending order of x.
8일 전 | 0
| 수락됨
답변 있음
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...
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...
9일 전 | 0
답변 있음
How can you make multi-line axis labels with TeX not left-justified in R2026a?
xlabel({'normal'; '\textbf{bold}'}, ... 'Interpreter','latex')
How can you make multi-line axis labels with TeX not left-justified in R2026a?
xlabel({'normal'; '\textbf{bold}'}, ... 'Interpreter','latex')
10일 전 | 0
답변 있음
How to find a function in the path - securely?
Perhaps as follows? safeWhich('num2cell') safeWhich('varargin') safeWhich('R') safeWhich('p') safeWhich('queryName') ...
How to find a function in the path - securely?
Perhaps as follows? safeWhich('num2cell') safeWhich('varargin') safeWhich('R') safeWhich('p') safeWhich('queryName') ...
11일 전 | 1
| 수락됨
답변 있음
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)); ...
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)); ...
12일 전 | 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.
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.
13일 전 | 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...
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...
14일 전 | 0
| 수락됨
답변 있음
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...
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...
15일 전 | 0
답변 있음
Can you get matlab to add a really small number to a big number and retain precision
From the quadratic formula, you can see that p is the right hand root of the quadratic equation, 0.5x^2 + 1e17x - 0.5e18 = 0 I...
Can you get matlab to add a really small number to a big number and retain precision
From the quadratic formula, you can see that p is the right hand root of the quadratic equation, 0.5x^2 + 1e17x - 0.5e18 = 0 I...
15일 전 | 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...
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...
16일 전 | 0
답변 있음
Does dicomreadVolume automatically rescale the image?
You should manually apply it.
Does dicomreadVolume automatically rescale the image?
You should manually apply it.
17일 전 | 0
| 수락됨
답변 있음
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...
21일 전 | 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)) ...
23일 전 | 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,...
24일 전 | 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?
25일 전 | 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.
27일 전 | 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] ...
30일 전 | 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...
대략 1개월 전 | 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)
대략 1개월 전 | 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...
대략 1개월 전 | 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...
대략 1개월 전 | 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...
대략 1개월 전 | 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...
대략 1개월 전 | 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...
대략 1개월 전 | 2











