Réponse apportée
Unable to move editor pane to rightmost column
One way is to right-click on the command window bar and select the appropriate option from "Move Command Window": ...

environ 2 mois il y a | 0

Réponse apportée
Use of matlab.apps.AppBase outside of AppDesigner
It's not clear why you would need to migrate away from them if they do what you want. If you need a deeper understanding of what...

environ 2 mois il y a | 0

Question


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

environ 2 mois il y a | 2 réponses | 2

2

réponses

A soumis


arrayfun with scalar expansion
Version of arrayfun which allows argument arrays to have different sizes, so long as they are compatible for scalar expansion.

environ 2 mois il y a | 1 téléchargement |

0.0 / 5

Discussion


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}) Bu...

environ 2 mois il y a | 0

Question


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

environ 2 mois il y a | 1 réponse | 0

0

réponse

Question


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

environ 2 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
Putting spaces between elements of a string/
A=['011001110000' '101111000000' '110100011000' '011010001100' '010101000110' '110010100010' '1000010100...

environ 2 mois il y a | 1

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

environ 2 mois il y a | 1

| A accepté

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

environ 2 mois il y a | 1

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

environ 2 mois il y a | 0

Question


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

environ 2 mois il y a | 1 réponse | 0

1

réponse

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

environ 2 mois il y a | 0

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

environ 2 mois il y a | 0

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

environ 2 mois il y a | 0

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

environ 2 mois il y a | 0

| A accepté

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

2 mois il y a | 0

| A accepté

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

2 mois il y a | 0

| A accepté

Réponse apportée
How to draw line in viewer3d ?
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?

2 mois il y a | 0

| A accepté

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 1

| A accepté

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

| A accepté

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

2 mois il y a | 0

Charger plus