Beantwortet
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 Monate vor | 0

| akzeptiert

Frage


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 Monate vor | 2 Antworten | 0

2

Antworten

Beantwortet
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 Monate vor | 0

| akzeptiert

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

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

3 Monate vor | 0

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 1

| akzeptiert

Gesendet


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

3 Monate vor | 1 Download |

0.0 / 5

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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

3 Monate vor | 3 Antworten | 2

3

Antworten

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

3 Monate vor | 0

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

3 Monate vor | 0

Frage


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

3 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

3 Monate vor | 2 Antworten | 0

2

Antworten

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

3 Monate vor | 1

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

3 Monate vor | 0

Gesendet


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

3 Monate vor | 34 Downloads |

0.0 / 5

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

3 Monate vor | 0

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

3 Monate vor | 0

Beantwortet
How to calculate the average value of a vector in MATLAB?
mean([10,20,30,40,50])

4 Monate vor | 0

Beantwortet
How deep network designer with neural network fitting
See here for an intro to Deep Network Designer, https://www.mathworks.com/help/deeplearning/gs/get-started-with-deep-network-de...

4 Monate vor | 0

Beantwortet
How to move selected variables to one side of a symbolic equation
syms c1 c2 c3 c4 c5 c6 c7 syms A B C M N O F eq = c1*A + c2*B + c3*C + c4*M + c5*N + c6*O + c7 == F; vars=[A,B,C].'; %...

4 Monate vor | 0

| akzeptiert

Beantwortet
How to move selected variables to one side of a symbolic equation
syms c1 c2 c3 c4 c5 c6 c7 syms A B C M N O F eq = c1*A + c2*B + c3*C + c4*M + c5*N + c6*O + c7 == F; vars=[A,B,C]; %se...

4 Monate vor | 0

Mehr laden