Réponse apportée
Get back find in files interface from before 2025b
This search and replace app from the File Exchange might be worth considering as a possible substitute, https://www.mathworks.c...

2 mois il y a | 0

Réponse apportée
Is delegated or department-level license administration possible?
If not, how are other universities or large organizations handling this? It's horrendous. Every time I want to upgrade my Matla...

2 mois il y a | 0

Réponse apportée
Help with this triple nested for loop
I don't know what you're trying to do with Ux, but U is just, U = cat(3, ... repelem(cat(3,A1,A2,A3,A4),1,1,6), ... r...

2 mois il y a | 0

| A accepté

Réponse apportée
Classdef Static method calling builtin subsref instead of classdef subsref
With the newer modularized indexing, the overloaded indexing will be active inside the classdef. So, one option is to overload y...

2 mois il y a | 1

Réponse apportée
Plotting fit lines on multiple sets of data in one plot - how to limit each of the fit lines start and end points?
From the documentation: plot(cfit,x,y) plots cfit together with a scatter plot of the data in x and y. The axes limits are give...

2 mois il y a | 0

Réponse apportée
fmincon solver for nmpc applications
FMINCON's sqp algorithm does not accept a HessianFcn parameter. You would need to switch to either trust-region-reflective or in...

2 mois il y a | 0

Réponse apportée
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 mois il y a | 0

| A accepté

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

3 mois il y a | 1

Réponse apportée
Graceful exit from a parfor loop
It sounds like a job for onCleanup.

3 mois il y a | 1

| A accepté

Question


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 mois il y a | 1 réponse | 2

1

réponse

Réponse apportée
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 mois il y a | 0

| A accepté

Question


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 mois il y a | 2 réponses | 0

2

réponses

Réponse apportée
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 mois il y a | 0

| A accepté

Question


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 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
No more machine transfers available
If you're a license administrator, you can deactivate one of the installations from the License Center.

3 mois il y a | 0

Question


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 mois il y a | 1 réponse | 0

1

réponse

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

4 mois il y a | 0

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

4 mois il y a | 0

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

4 mois il y a | 0

| A accepté

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

4 mois il y a | 0

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

4 mois il y a | 1

| A accepté

A soumis


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

4 mois il y a | 1 téléchargement |

0.0 / 5

Question


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

4 mois il y a | 1 réponse | 0

1

réponse

Question


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

4 mois il y a | 2 réponses | 0

2

réponses

Question


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

4 mois il y a | 1 réponse | 0

1

réponse

Question


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

4 mois il y a | 2 réponses | 0

2

réponses

Question


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 mois il y a | 3 réponses | 2

3

réponses

Réponse apportée
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 mois il y a | 0

Réponse apportée
Innerjoin when a table contains user-defined objects
Attached is a possible workaround. load testdata tableInner(Tleft,Tright)

4 mois il y a | 0

Question


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 mois il y a | 1 réponse | 0

1

réponse

Charger plus