Respondida
Transition point discontinuity (cliff/spike) in plots of solved system of non linear equations.
I find it strange that you are using fsolve for a 1-variable problem, rather than fzero. You don't show the objective function, ...

alrededor de 2 meses hace | 0

Respondida
Create help for method with arguments
The Quick Access Toolbar function favoriteArgs2Help.m, now available in this FEX submission, https://www.mathworks.com/matlabce...

alrededor de 2 meses hace | 0

| aceptada

Respondida
splitapply does not retain ME stack
Run with Pause on Errors. Then the code will stop at the offending line:

alrededor de 2 meses hace | 0

Respondida
Effect of GA Parameters on Convergence
You need to look at the final fval achieved as a function of N. If the irregular solutions have a lower fval than the regular so...

alrededor de 2 meses hace | 0

Respondida
How to change the size / ratio of a figure
Perhaps as follows? axis tight dx=diff(xlim); dy=diff(ylim); xmax=dy/(9/11)/2; xlim([-xmax,+xmax])

alrededor de 2 meses hace | 0

Respondida
solving a system of linear equations where A is a 40*40 sparse matrix
You should use \. It's not just about precision, though. It's also about speed: A=sprand(400,400,0.2)+speye(400); b=rand(400,1...

alrededor de 2 meses hace | 1

Respondida
Is the Order of Function Evaluation Guaranteed when Function Outputs are Concatenated into an an Array?
This reasoning might not be bulletproof, but I think the order of funtion calls in any expression has to always go left to right...

alrededor de 2 meses hace | 0

Respondida
Calculating 6D Estimation (3 Translations and 3 Rotations) from Two Orthogonal Detectors Output ((X, Y, Thea, Roll)
Spreaking for myself, the provided Fig1.png does not help me understand how a 6DOF 3D pose maps to a 4DOF projected pose (X, Y, ...

alrededor de 2 meses hace | 0

Respondida
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": ...

2 meses hace | 0

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

2 meses hace | 0

Pregunta


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 meses hace | 2 respuestas | 2

2

respuestas

Enviada


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

2 meses hace | 1 descarga |

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

2 meses hace | 0

Pregunta


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

2 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


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 meses hace | 1 respuesta | 0

1

respuesta

Respondida
Putting spaces between elements of a string/
A=['011001110000' '101111000000' '110100011000' '011010001100' '010101000110' '110010100010' '1000010100...

2 meses hace | 1

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

2 meses hace | 1

| aceptada

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

2 meses hace | 1

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

2 meses hace | 0

Pregunta


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

2 meses hace | 1 respuesta | 0

1

respuesta

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

2 meses hace | 0

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

2 meses hace | 0

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

2 meses hace | 0

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

2 meses hace | 0

| aceptada

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

3 meses hace | 0

| aceptada

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

3 meses hace | 0

| aceptada

Respondida
How to draw line in viewer3d ?
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?

3 meses hace | 0

| aceptada

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

3 meses hace | 0

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

3 meses hace | 0

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

3 meses hace | 0

Cargar más