Pregunta


Parsing mfunctions with mtree
Given an Nx1 colum vector of strings containing lines of mfunction code, it is possible to use the undocumented function mtree()...

9 meses hace | 1 respuesta | 1

1

respuesta

Respondida
Where is the Save icon (not Save As) in a figure (.fig) R2025b Matlab
There is no separate Save icon applicable to figures. I think only the Editor has ever had that.

9 meses hace | 0

Respondida
Determine which delaunayTriangulation Constraints correspond to input constraints?
If you convert the final triangulation to a graph, then it seems to me that shortestpath should give you the intermediate nodes ...

9 meses hace | 0

Respondida
Adding a dropdown box for the variable unit BESIDE the variable
Sure. For example,

9 meses hace | 0

| aceptada

Pregunta


Appdesigner labels linked to components
It appears to me that text labels in AppDesigner canvases have two types: labels that are standalone, independent of any compo...

9 meses hace | 1 respuesta | 0

1

respuesta

Respondida
Pass commands to executable run through system command
Perhaps as follows? In1 = '1'; In2 = 'C:/Dir1/File1.dat'; In3 = '02/09/2026 16:00'; In4 = '0.5'; cmd = sprintf('C:/Dir2/m...

9 meses hace | 0

Respondida
When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) ...),but if Ireplace nlinfit with fmincon, the sintax is not valid, why?
Because it is a different function. The syntax of fmincon is documented here, https://www.mathworks.com/help/optim/ug/fmincon.h...

9 meses hace | 0

| aceptada

Respondida
does installing toolbox that has different version than your matlab program cause a problem
Yes. I don't think it's even possible to install a toolbox version that doesn't match your core Matlab version.

9 meses hace | 0

Respondida
Why is the menu bar background white?
You could also upgrade to R2025. There, the menu bar is grey (or at least not as white) and you can also render figures in da...

9 meses hace | 0

Respondida
Why is the menu bar background white?
especially when you develop a code with a GUI For GUIs, you can use uimenu, which still produces a grey menu bar.

9 meses hace | 0

Respondida
Calculate mean and standard deviation from 30-years of global wind data
This might be what you are looking for, subs=[lat(:),lon(:),year(:)]; val=wind(:); siz=[180,360,30]; meanWind = acummarray...

9 meses hace | 0

| aceptada

Respondida
Install and work with ResNet-50 Network pretrained
Install by opening deepNetworkDesigner and selecting ResNet-50 You can then use imagePretrainedNetw...

9 meses hace | 0

| aceptada

Respondida
Trying to normalize a matrix across all element values.
Normalize across only non-zero elements, or across elements only in the upper triangle? If the latter, then, A=[ 0 54 0 ...

9 meses hace | 0

Respondida
Issue with Blockproc when using PadPartialBlocks
Integer types cannot hold NaN values, so you will have to convert your int8 input to floating point: load('ImgForBlockProcQ...

9 meses hace | 1

| aceptada

Respondida
Why does specifying the size of a class property slow down writes?
The property validation specifications have to be processed every time you make an assignment to the buffer property. This takes...

9 meses hace | 0

| aceptada

Respondida
Issue with Blockproc when using PadPartialBlocks
what am I doing wrong? Nothing you've shown us currently. The border values will/should be NaNs as you expect. J = blockproc(r...

9 meses hace | 0

Respondida
Suppress real part of complex number for cleaner display
ys_abc = inv(zs_abc) str = formattedDisplayText(imag(ys_abc) +"i"); disp( erase(str ,'"') )

9 meses hace | 0

| aceptada

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

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

10 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:

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

10 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])

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

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

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

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

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

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

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

10 meses hace | 16 descargas |

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

10 meses hace | 0

Cargar más