Beantwortet
How to Improve Performance of an Over-fit Convolutional Neural Network
By enforcing regularization penalty for generalization. I'm still figuring out what functions or options may allow me to do that...

etwa 2 Jahre vor | 0

Beantwortet
How to choose one between two constraint conditions
Considering Walter's answer, your example may not have captured your real question. If you really do have a feasible set of the ...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Rank value matrix from 3d Matrix
Also how can NaN values be ignored in this solution? Here's a revised method (loop-free) that also handles NaNs. As before, ran...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Non linear fitting with 3 independent variables
S=load('Data'); f=@(E,S)exp(-E.*S.Vf); funlist={f, @(E,S) -S.IL.*f(E,S), @(E,S) -S.a.*f(E,S)}; [E,ABC]=fminspleas(funlist...

etwa 2 Jahre vor | 0

| akzeptiert

Gesendet


spatialgraph2D
Creates a graph object with 2D spatial locations associated with the nodes

etwa 2 Jahre vor | 3 Downloads |

4.8 / 5
Thumbnail

Frage


The "union" function for polyshapes performs an incorrect consolidation of adjacent polyshapes when presented as a vector
I have a polyshape vector "pv" consisting of 4 adjacent triangles: load tstcase_pv plot(pv) Why is it that when the polyshape ...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Strange dependence of object display behavior on debugger state
Consider the following simple classdef, classdef myclass properties (Dependent) data end methods ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How do I find the value closest to my desired value in a vector
interp1(FA,FA, freqlims,'nearest')

etwa 2 Jahre vor | 0

Frage


Are polyshape vertices preserved reliably without floating point errors?
Suppose I have two polyshapes p1 and p2 and I want to do operations on them (intersection, unions) that in theory should preserv...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How to speed up convolution with a million data points
Use conv, mzR_II=conv(gg,mzL,'same'); or FFTs, mzR_II=ifft( fft(gg,2*n) .* fft(mzL,2*n) , 'symmetric'); mzR_II=mzR_II(1:n)...

etwa 2 Jahre vor | 0

| akzeptiert

Frage


Make trainnet pass in one observation to the network at a time
As best I can tell, trainnet vectorizes its computations across the batch dimension of every minibatch. I.e., during training, i...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Ellipsoid Mask based on user input of dimension and euler angle
An ellipsoid obeys the inequality (x-c)'*Q*(x-c)<=1 for some appropriate 3x3 matrix Q and 3x1 vector c (which is also the center...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
constrainted regularization to solve ill conditioned problems?
To implement Tikhonov regularisation in lsqlin, C=... d=... lb=... ub=... beta=0.0001; %regularization weight I=eye(nu...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Add listener programmatically for each object method
In the project I am working on, many people contribute, and all would have to remember and implement this line. It wouldn't be...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Layer Input Expectation Doesn't Match (Neural Network)
'ValidationData', {val_x_array_transposed', val_y_array_transposed'} From the naming you have used here, it appears that you h...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Why is there an error in the calculation of 366.0/5.0?
All computers make imperfect calculations. It's a fact of life with finite precision floating point math.

etwa 2 Jahre vor | 1

Beantwortet
Is it possible to subtract the baseline of a graph from the peak using the curvefitter toolbox?
Yes, it would be possible, although for what you show it might be enough just to use polyfit.

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Why does the for loop show the graph of the last plot?
Use figure() to open a new figure window for each plot (otherwise, each plot will overwrite the previous plot in that window). ...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
moving two roi's together
hROI = drawcircle('Center',[x, y],'Radius',radius); roiCH = drawcrosshair('Position', [x,y], ... ...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Force super class to not call overloaded methods of the subclass
In any superclass method, you can test whether the invoking object is of the base class or one of its children. Depending on the...

etwa 2 Jahre vor | 1

Beantwortet
Non linear constrain to multi objective integer genetic algorithm
Is the idea that x(1:end/2) contain unique integers? I don't see how the given constraint would ensure that. The diff() function...

etwa 2 Jahre vor | 0

Beantwortet
Transfer Learning shows no enhancements in runtime
If you run the same number of iterations and epochs with the same data, then naturally it will take the same amount of time. Run...

etwa 2 Jahre vor | 0

Beantwortet
diff not working on a vector of values
x=[ 98.00 97.68 97.75 98.32 221.00 220.99 221.32 221.3...

etwa 2 Jahre vor | 0

Beantwortet
gradient descent for custom function
so I guess it would be more of an optimization built in function to use. No, not necessarily. Your equations can be implemente...

etwa 2 Jahre vor | 0

Beantwortet
Saving 3D image after segmentation
There are several File Exchange submissions that are applicable. I have used this one and been pretty happy, https://www.mathwo...

etwa 2 Jahre vor | 0

Beantwortet
Condition for if-statement not updating inside for-loop without pause function
A more standard solution is to use drawnow rather than pause. for c2 = 1:length(time) f2 = figure(2); ... draw...

etwa 2 Jahre vor | 0

| akzeptiert

Frage


Retrieve initialization specifics from a dlnetwork object
I have applied replaceLayer() to a dlnetwork object DLN1 that I have. DLN2=replaceLayer(DLN1,layerName,newLayer); As a result ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Does struct manipulation work in place when using arrayfun on an array of structs?
It does indeed appear that with arrayfun (unlike loops), pre-existing field contents get deep-copied to a new memory address (as...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
M^2 fitting for a Gaussian beam with measured data
Your post doesn't give much detail on what you are trying to do, but if you are just trying to fit a 1D Gaussian to the data in ...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Class property validator reports an error if no default value is set
I have the following class defintion which is using a validator function You're not using a property validation function anywh...

etwa 2 Jahre vor | 0

Mehr laden