Respondida
Can I return the xml string from writestruct?
You can't suppress file output, but you can use readlines and writelines to retrieve the file contents in string form and then m...

2 meses hace | 0

| aceptada

Respondida
Handling outliers in Spray Angle calculations
This is one way you might clean things up: fnames={dir('*.bmp').name}; Bcell=cellfun(@cleanUp,fnames,'uni',0); tiledlayout(...

2 meses hace | 1

Respondida
Graceful exit from a parfor loop
It sounds like a job for onCleanup.

3 meses hace | 1

| aceptada

Pregunta


gpuArray support for Optimization Toolbox solvers
I have wondered for a while why the OptimizationToolbox doesn't currently support gpuArray data types in its solvers (lsqnonlin,...

3 meses hace | 1 respuesta | 2

1

respuesta

Respondida
Input image rescaled to 0-1 using im2single for ImageNet models, will that result in wrong outputs?
Yes, probably. For all of these networks, the input layer normalization settings are 'zerocenter', which is not a scale invarian...

3 meses hace | 0

| aceptada

Pregunta


Sparse gpuArray indexing limitations
When trying to extract a sub-matrix of a sparse gpuArray, I get, >> S=gpuArray(sprand(100,100,0.1)); >> S(1:5,1:5) Sparse gpu...

3 meses hace | 2 respuestas | 0

2

respuestas

Respondida
Pagemldivide returns incorrect results for complex gpuArrays
Looks like a bug to me. I would report it. Test Data Acpu=randn(20,10,2)+1j*randn(20,10,2); Bcpu=randn(20,10,2)+1j*randn(20,1...

3 meses hace | 0

| aceptada

Pregunta


Does A(m:n) trigger the explicit creation of an index array (m:n)?
I was under the impression that in an indexing expression A(m:n) when A is a numeric vector, Matlab was smart enough to optimize...

3 meses hace | 1 respuesta | 0

1

respuesta

Respondida
No more machine transfers available
If you're a license administrator, you can deactivate one of the installations from the License Center.

3 meses hace | 0

Pregunta


Has save() bug been fixed?
I have a user-defined object that is failing to save in R2024b, >> save testsave mgr Warning: Variable 'mgr' was not saved. Fo...

3 meses hace | 1 respuesta | 0

1

respuesta

Respondida
When does distributing data improve computation time over overhead expense?
Are your parallel workers all on a single computer, or are they distributed across a cloud? If all of this is on a single comput...

3 meses hace | 0

Respondida
How is the spectralConvolution1dLayer forward computation process performed
According to the doc you referenced, the convolution is performed with respect to the time dimension in that case, For time ser...

3 meses hace | 0

Respondida
How to enable viewing workspace variables when hovering
If you upgrade to R2026a, you can recover the capability of viewing variable content in edit mode (in addition to debug mode). A...

3 meses hace | 0

| aceptada

Respondida
Overwriting table columns with ()-indexing
Apparently, complete replacement of table columns can't be done via direct subsasgn indexing, so here is a function that will do...

3 meses hace | 0

Respondida
Comma-separated assignment to a table variable
According to Tech support, it is not a bug, just something that wasn't implemented for tables. However, they see it as a legitim...

3 meses hace | 1

| aceptada

Enviada


Custom deep learning layer: function with learnables
A custom deep learning layer, similar to functionLayer() but with learnable parameters.

3 meses hace | 1 descarga |

0.0 / 5

Pregunta


How does numArgumentsFromSubscript work?
As an exercise, I am trying to overload the subsref method in my user-defined class myclass to support the assignment expression...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Comma-separated assignment to a table variable
The code below tests assignment by comma-separated expansion to a cell array in 3 different scenarios. In the specific case when...

3 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Make memoized function calls recognize equivalent input sequences (and so avoid redundant cache entries)
In the demo below, we see that the memoized function func() executes twice out of the three times it is called. Ideally, it woul...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


List all memoized function caches
I know that clearAllMemoizedCaches will clear all memoized function data, but what if I just want to list all existing memoized ...

3 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Overwriting table columns with ()-indexing
Suppose I have two tables, T1=array2table(rand(5,3)) T2=array2table(char(randi([65,90],5,3)),Var={'Col1','Col2','Col3'}) ...

4 meses hace | 3 respuestas | 2

3

respuestas

Respondida
Please help me to solve two nonlinear algebraic equations
syms L1 L2 eq1 = b5*L1^2 + (b9 + b7)*L1 + ... b6*L2^2 + b10*L2 + b8 == 0; eq2 = b27*L1^4 - b32*L1^3 + b33*L1^2 - b3...

4 meses hace | 0

Respondida
Innerjoin when a table contains user-defined objects
Attached is a possible workaround. load testdata tableInner(Tleft,Tright)

4 meses hace | 0

Pregunta


Accessing a single GPU from different workers of a parpool thread pool
It used to be conventional wisdom that parfor does not play well together with gpuArray on a single-GPU system because differen...

4 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Innerjoin when a table contains user-defined objects
I have two tables that I wish to innerjoin() according to the topThick and botThick columns, which are the same in both tables. ...

4 meses hace | 2 respuestas | 0

2

respuestas

Respondida
every restart of Matlab path is lost
If you don't want to make the path permanent (using savepath), you can use a startup script to set the path at the beginning of ...

4 meses hace | 1

Respondida
Possible to use box or violin plots, with unequal x and y axis spacing?
clear; close all, clc %%Instrument A yA=(1:9)*0.1; xA=randn(2*60, numel(yA))+15; %%Instrument B yB=[0.5,1]; xB=r...

4 meses hace | 0

Enviada


Customized text modification buttons for the Matlab Editor
A pair of functions enabling simple, programmatic modification of Matlab Editor text. These can be used to make customized butto...

4 meses hace | 41 descargas |

0.0 / 5

Respondida
Shortcut for zoom tool in figure
You haven't listed the version of Matlab you are using, but in any recent version you do not need to make a toolbar selection to...

4 meses hace | 0

Respondida
Transfer shortcuts(favouritecommand) from 2017b to 2022b
Look for the set of .xml files in your prefdir that are NOT highlighted in yellow in the list below. These should be copied ov...

4 meses hace | 0

Cargar más