統計
All
Feeds
質問
Mixing name/value pair syntax
In a Matlab seminar a few years ago, I asked why function calls that mix old style and new style name/value pair syntax would on...
約2時間 前 | 0 件の回答 | 0
0
回答送信済み
arrayfun with scalar expansion
Version of arrayfun which allows argument arrays to have different sizes, so long as they are compatible for scalar expansion.
約4時間 前 | ダウンロード 1 件 |
質問
Would comma-separated list expansion for non-cell arrays be a good thing?
Frequently, I find myself doing things like the following xyz=rand(100,3); XYZ=num2cell(xyz,1); scatter3(XYZ{:,1:3}) But...
約17時間 前 | 0 件の回答 | 0
0
回答質問
Performance of MEX versus builtin functions
When Matlab calls a MEX file, is there overhead that makes the call slower as compared to a built-in binary like min, max, etc.....
2日 前 | 0 件の回答 | 0
0
回答回答済み
Putting spaces between elements of a string/
A=['011001110000' '101111000000' '110100011000' '011010001100' '010101000110' '110010100010' '1000010100...
Putting spaces between elements of a string/
A=['011001110000' '101111000000' '110100011000' '011010001100' '010101000110' '110010100010' '1000010100...
2日 前 | 1
回答済み
Implicit expansion with arrayfun (cpu vs gpu)
Remember that arrayfun (on the CPU) is nothing more than an M-Code for-loop in disguise. Therefore, it is not hard to write your...
Implicit expansion with arrayfun (cpu vs gpu)
Remember that arrayfun (on the CPU) is nothing more than an M-Code for-loop in disguise. Therefore, it is not hard to write your...
3日 前 | 1
| 採用済み
回答済み
Implicit expansion with arrayfun (cpu vs gpu)
I agree it is confusing, but the gpuArray version of arrayfun was never intended as a direct analgoue of the CPU version. Additi...
Implicit expansion with arrayfun (cpu vs gpu)
I agree it is confusing, but the gpuArray version of arrayfun was never intended as a direct analgoue of the CPU version. Additi...
3日 前 | 1
回答済み
How to prevent image cropping after registration?
The problem is my fixed image only covers the top half of the head whereas I want the output to contain the whole head. But th...
How to prevent image cropping after registration?
The problem is my fixed image only covers the top half of the head whereas I want the output to contain the whole head. But th...
6日 前 | 0
質問
Adding a class-related function to appdesigner app
Is there a way, in appdesigner, to create a class-related function, i.e., a function that is local to the app's classdef file, b...
6日 前 | 1 件の回答 | 0
1
回答回答済み
Cut, Copy, Paste icons missing
Looks like they've been removed in R2025. However, you can easily program and install your own cut/copy/paste buttons on the Qui...
Cut, Copy, Paste icons missing
Looks like they've been removed in R2025. However, you can easily program and install your own cut/copy/paste buttons on the Qui...
7日 前 | 0
回答済み
Adding multiple function plots to a single figure with subplots - MATLAB
This might be what you want: Manipulators={manipulator1,manipulator2,manipulator3}; m=3;n=2; %tiling dimensions %create h...
Adding multiple function plots to a single figure with subplots - MATLAB
This might be what you want: Manipulators={manipulator1,manipulator2,manipulator3}; m=3;n=2; %tiling dimensions %create h...
9日 前 | 0
回答済み
Construct voronoi diagram on a point cloud
Using the attached file and this FEX download https://www.mathworks.com/matlabcentral/fileexchange/30892-analyze-n-dimensional...
Construct voronoi diagram on a point cloud
Using the attached file and this FEX download https://www.mathworks.com/matlabcentral/fileexchange/30892-analyze-n-dimensional...
10日 前 | 0
回答済み
How to generate orthogonal X-ray Projection, Digitally Reconstructed Radiographs (DRR), from a particular CT volume
This is a popular Matlab compatible library, https://github.com/CERN/TIGRE/blob/master/Frontispiece/MATLAB_installation.md It...
How to generate orthogonal X-ray Projection, Digitally Reconstructed Radiographs (DRR), from a particular CT volume
This is a popular Matlab compatible library, https://github.com/CERN/TIGRE/blob/master/Frontispiece/MATLAB_installation.md It...
11日 前 | 0
| 採用済み
回答済み
How to move a 3D volume in 6D (3 Translations and 3 Rotations)
I defined a function called "applyRigidTransform3D" in code 1 and "rigidTransform6D" in code 2 for the 6D movements It shouldn'...
How to move a 3D volume in 6D (3 Translations and 3 Rotations)
I defined a function called "applyRigidTransform3D" in code 1 and "rigidTransform6D" in code 2 for the 6D movements It shouldn'...
13日 前 | 0
| 採用済み
回答済み
The surface I'm plotting comes out jagged and "saw teeth" like
It's a very coarsely sampled surface. There's not really any more to it. You can bicubicly upsample the data if you want a smoot...
The surface I'm plotting comes out jagged and "saw teeth" like
It's a very coarsely sampled surface. There's not really any more to it. You can bicubicly upsample the data if you want a smoot...
14日 前 | 0
| 採用済み
回答済み
How to draw line in viewer3d ?
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?
How to draw line in viewer3d ?
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?
19日 前 | 0
| 採用済み
回答済み
Inverse problem, Overdetermined, Nonlinear
You would use fsolve or, if you want specific constraints on the unknowns, e.g., bounds, you would use lsqnonlin. You could al...
Inverse problem, Overdetermined, Nonlinear
You would use fsolve or, if you want specific constraints on the unknowns, e.g., bounds, you would use lsqnonlin. You could al...
20日 前 | 0
回答済み
2D-3D image registration - COMPLETE 6D ESTIMATION
I haven't read the paper, but I don't see how the proposed method would ever work as you describe it. 6D motion simply does not ...
2D-3D image registration - COMPLETE 6D ESTIMATION
I haven't read the paper, but I don't see how the proposed method would ever work as you describe it. 6D motion simply does not ...
20日 前 | 0
回答済み
Fitting to exp plus a constant
It looks like the fit was successful, but the model function is overparametrized, so there is no specific value for a (or c) tha...
Fitting to exp plus a constant
It looks like the fit was successful, but the model function is overparametrized, so there is no specific value for a (or c) tha...
21日 前 | 0
回答済み
Showing the value on the x-axis as a legend the moment the curve deviates from the x-axis
Something like this, perhaps: Hlines=plot(1:5, max(0,-2:2), 1:5, max(0,-1:3)); axis padded h=arrayfun(@addIt,Hlines); leg=l...
Showing the value on the x-axis as a legend the moment the curve deviates from the x-axis
Something like this, perhaps: Hlines=plot(1:5, max(0,-2:2), 1:5, max(0,-1:3)); axis padded h=arrayfun(@addIt,Hlines); leg=l...
21日 前 | 0
回答済み
camera intrinsics calibration produces wild out-of-range principalPoint
You haven't provided data with which to repeat the calibration, so one can only guess. But if reconstruction error is low, the p...
camera intrinsics calibration produces wild out-of-range principalPoint
You haven't provided data with which to repeat the calibration, so one can only guess. But if reconstruction error is low, the p...
22日 前 | 0
回答済み
How can you save a 1 by 3 array in each position of a 4D array?
I would like to only have one 4D array, with each coordinate housing a 1x3 with all 3 data points needed. Is this possible? You...
How can you save a 1 by 3 array in each position of a 4D array?
I would like to only have one 4D array, with each coordinate housing a 1x3 with all 3 data points needed. Is this possible? You...
23日 前 | 1
| 採用済み
回答済み
How to fit a set of data where one of the fitting parameters decays exponentially?
Why not just replace Γ_cav in your model equation by a parametrized exponential, e.g., Γ_cav=a*exp(b*x) where a and b are ne...
How to fit a set of data where one of the fitting parameters decays exponentially?
Why not just replace Γ_cav in your model equation by a parametrized exponential, e.g., Γ_cav=a*exp(b*x) where a and b are ne...
23日 前 | 0
回答済み
Is image normalization performed when using "trainnet" for semantic segmentation training?
If your network has an imageInputLayer with the Normalization parameter set to do so, https://www.mathworks.com/help/deeplearni...
Is image normalization performed when using "trainnet" for semantic segmentation training?
If your network has an imageInputLayer with the Normalization parameter set to do so, https://www.mathworks.com/help/deeplearni...
25日 前 | 0
回答済み
The calibrator app says the patterns are "too similar" even if they are not
Your cam2 images are of poor quality. Corner detection done in isolation fails pretty badly for some of them (see below). Did yo...
The calibrator app says the patterns are "too similar" even if they are not
Your cam2 images are of poor quality. Corner detection done in isolation fails pretty badly for some of them (see below). Did yo...
25日 前 | 0
回答済み
Plots have small titles
I also think that it is small in the figure viewer. I haven't noticed any changes in the figure viewer. However, you can set th...
Plots have small titles
I also think that it is small in the figure viewer. I haven't noticed any changes in the figure viewer. However, you can set th...
27日 前 | 0
| 採用済み
回答済み
the dimension of matrix when using 'sparse' to generate sparse matrix
With a slight reimplementation of tril3d, the test code seems to work: % test spblkdiag tril ndSparse z1=rand(8,8,20); z2=t...
the dimension of matrix when using 'sparse' to generate sparse matrix
With a slight reimplementation of tril3d, the test code seems to work: % test spblkdiag tril ndSparse z1=rand(8,8,20); z2=t...
27日 前 | 0
回答済み
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...
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...
29日 前 | 0
| 採用済み
回答済み
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 ...
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 ...
29日 前 | 0
| 採用済み
回答済み
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...
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...
29日 前 | 0
| 採用済み











