통계학
All
Feeds
답변 있음
Is there a meaningful guideline on when to use parentheses vs square brackets vs curly brackets in writing MatLab code?
Indexing can use parentheses OR square brackets? ...but not always? If we forget indexing for the moment, it becomes very simpl...
Is there a meaningful guideline on when to use parentheses vs square brackets vs curly brackets in writing MatLab code?
Indexing can use parentheses OR square brackets? ...but not always? If we forget indexing for the moment, it becomes very simpl...
대략 2시간 전 | 0
답변 있음
Chasing what is wrong with 'dual-simplex-highs' in linprog
It doesn't like your super-small Aeq values. load('linprog_test.mat') Aeq(abs(Aeq)<1e-8)=0; linprogopt = optimset('Algori...
Chasing what is wrong with 'dual-simplex-highs' in linprog
It doesn't like your super-small Aeq values. load('linprog_test.mat') Aeq(abs(Aeq)<1e-8)=0; linprogopt = optimset('Algori...
1일 전 | 1
답변 있음
How to log the data in the workspace without modifying the content of the for loop?
What does "log the data" mean? Do you mean you want to store it to a file on disk, or do you want to store it in some sort of ar...
How to log the data in the workspace without modifying the content of the for loop?
What does "log the data" mean? Do you mean you want to store it to a file on disk, or do you want to store it in some sort of ar...
3일 전 | 0
답변 있음
whether is imageInputLayer flattened?
No, an imageInputLayer does not reshape the input that it receives, as demonstrated in the following, net=dlnetwork(imageInputL...
whether is imageInputLayer flattened?
No, an imageInputLayer does not reshape the input that it receives, as demonstrated in the following, net=dlnetwork(imageInputL...
3일 전 | 0
| 수락됨
질문
Accessing network drives from within Matlab
I have two Windows 10 computers running Matlab 2023b on the same network. On one computer, I am able to reach a remote network d...
4일 전 | 답변 수: 0 | 0
0
답변답변 있음
How to quantify shape similarity between two vectors.
Perhaps you could use correlation-based similarity? x1 = 0:0.1:10; Y1 = gaussmf(x1,[0.8 5 ]); Y2 = gaussmf(x1,[0.8 3 ]); Y3 ...
How to quantify shape similarity between two vectors.
Perhaps you could use correlation-based similarity? x1 = 0:0.1:10; Y1 = gaussmf(x1,[0.8 5 ]); Y2 = gaussmf(x1,[0.8 3 ]); Y3 ...
4일 전 | 0
답변 있음
I need to apply constrain using least square non negative function in Matlab
Use lsqlin instead.
I need to apply constrain using least square non negative function in Matlab
Use lsqlin instead.
8일 전 | 0
답변 있음
Slice of a 3D plot and projection of that function in a plane.
[x,y,yhalf]=deal(linspace(-2,2,100)); yhalf(y<0)=nan; Z = exp(-( x.^2 + y.^2')); figure, mesh(x,yhalf,Z,'FaceAlpha',1); ...
Slice of a 3D plot and projection of that function in a plane.
[x,y,yhalf]=deal(linspace(-2,2,100)); yhalf(y<0)=nan; Z = exp(-( x.^2 + y.^2')); figure, mesh(x,yhalf,Z,'FaceAlpha',1); ...
9일 전 | 0
| 수락됨
답변 있음
Why imregtform registration fails on similar images
Perhaps as follows, load Images g=@(z) entropyfilt(z); f=@(z) z.*(z>=1.5); im=f(g(im)); ref=f(g(ref)); ov=imref2d(size(i...
Why imregtform registration fails on similar images
Perhaps as follows, load Images g=@(z) entropyfilt(z); f=@(z) z.*(z>=1.5); im=f(g(im)); ref=f(g(ref)); ov=imref2d(size(i...
10일 전 | 0
답변 있음
How to numerically evaluate this singular integral in integral2?
As demonstrated in the comment above, the integral is theoretically non-convergent unless c>=norm([10/a,10/b]). Here is a furthe...
How to numerically evaluate this singular integral in integral2?
As demonstrated in the comment above, the integral is theoretically non-convergent unless c>=norm([10/a,10/b]). Here is a furthe...
10일 전 | 1
답변 있음
Simply trying to find a value in the same row as my known value but in a different column.
Everything I have tried also gives me an answer of "0×1 empty double column vector," but without any value. You haven't shown...
Simply trying to find a value in the same row as my known value but in a different column.
Everything I have tried also gives me an answer of "0×1 empty double column vector," but without any value. You haven't shown...
11일 전 | 0
답변 있음
Poor performance of linprog in practice
There are some papers in the computational literature that show that if you recast a DP problem as LP problem you can achieve si...
Poor performance of linprog in practice
There are some papers in the computational literature that show that if you recast a DP problem as LP problem you can achieve si...
12일 전 | 0
| 수락됨
답변 있음
Can we specify an "outward" direction to normal obtained from pcfitplane approach?
I doubt you can, but it shouldn't matter. If the normal is pointing the wrong way, just post-process the fit by flipping its dir...
Can we specify an "outward" direction to normal obtained from pcfitplane approach?
I doubt you can, but it shouldn't matter. If the normal is pointing the wrong way, just post-process the fit by flipping its dir...
12일 전 | 0
답변 있음
Out of memory when solving large system of non-linear equations (fsolve, fminunc, ...)
I have more then 50000 variables. And ideally, I still want to scale up to number of variables. This means your Jacobian matrix...
Out of memory when solving large system of non-linear equations (fsolve, fminunc, ...)
I have more then 50000 variables. And ideally, I still want to scale up to number of variables. This means your Jacobian matrix...
14일 전 | 1
답변 있음
Can I 'initialize' a handle object in such a way that isvalid(object) would return false?
One way: classdef ExampleClass < handle properties MyHandle end methods function...
Can I 'initialize' a handle object in such a way that isvalid(object) would return false?
One way: classdef ExampleClass < handle properties MyHandle end methods function...
15일 전 | 1
| 수락됨
답변 있음
How can I have the middle data set during the fitting process by lsqcurvefit?
Use the OutputFcn and/or the PlotFcn options, https://www.mathworks.com/help/optim/ug/lsqcurvefit.html#buuhcjo-options
How can I have the middle data set during the fitting process by lsqcurvefit?
Use the OutputFcn and/or the PlotFcn options, https://www.mathworks.com/help/optim/ug/lsqcurvefit.html#buuhcjo-options
17일 전 | 0
답변 있음
Why does the Stereo Camera Calibrator App provide different results on different MATLAB versions?
LIkely because the patterns are too similar across images, like the error message says. This would lead to ill-conditioning of t...
Why does the Stereo Camera Calibrator App provide different results on different MATLAB versions?
LIkely because the patterns are too similar across images, like the error message says. This would lead to ill-conditioning of t...
17일 전 | 0
답변 있음
Error using nlinfit (Check FunVals)
For one thing, y = interp1(t,y(:,7),x1,'spline','extrap'); % cumulative reported cases For another, some sort of bounds or con...
Error using nlinfit (Check FunVals)
For one thing, y = interp1(t,y(:,7),x1,'spline','extrap'); % cumulative reported cases For another, some sort of bounds or con...
18일 전 | 0
답변 있음
Why is the jacobian function so slow for calculating jacobian matrix with many variables?
Use matlabFunction to compute the jacobian from symbolic to numerical form, so that when it comes time to use it repeatedly, it ...
Why is the jacobian function so slow for calculating jacobian matrix with many variables?
Use matlabFunction to compute the jacobian from symbolic to numerical form, so that when it comes time to use it repeatedly, it ...
18일 전 | 0
답변 있음
Different data processing depending on the spatial region of the points
Sure. Use inpolygon to detect in which region a given (x,y) point lies and compute the summation of mx variables accordingly.
Different data processing depending on the spatial region of the points
Sure. Use inpolygon to detect in which region a given (x,y) point lies and compute the summation of mx variables accordingly.
19일 전 | 0
답변 있음
Binning matrix data (negative and positive decimals): mean of each 100 rows and create a new matrix
Using sepblockfun() from, https://www.mathworks.com/matlabcentral/fileexchange/48089-separable-block-wise-operations B=sepblo...
Binning matrix data (negative and positive decimals): mean of each 100 rows and create a new matrix
Using sepblockfun() from, https://www.mathworks.com/matlabcentral/fileexchange/48089-separable-block-wise-operations B=sepblo...
19일 전 | 1
답변 있음
Deep learning: predict and forward give very inconsistent result with batch normalisation
To get agreement, you need to allow the trained mean and variance to converge: numLayer = 9; numNeurons = 80; layers = featur...
Deep learning: predict and forward give very inconsistent result with batch normalisation
To get agreement, you need to allow the trained mean and variance to converge: numLayer = 9; numNeurons = 80; layers = featur...
20일 전 | 0
답변 있음
Cannot figure out how to fit a complicated custom equation.
I recommend using fminspleas, downloadable from, https://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas for th...
Cannot figure out how to fit a complicated custom equation.
I recommend using fminspleas, downloadable from, https://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas for th...
22일 전 | 0
답변 있음
How does dlgradient handle two output layers?
Along the lines of what @Catalytic said, it is hard to envision how you are trying to use dlgradient without seeing that code. A...
How does dlgradient handle two output layers?
Along the lines of what @Catalytic said, it is hard to envision how you are trying to use dlgradient without seeing that code. A...
22일 전 | 1
| 수락됨
답변 있음
how to extract the learned features from a dlnetwork
featureSet = forward(net,trainData,'Outputs',net.Layers(181).Name);
how to extract the learned features from a dlnetwork
featureSet = forward(net,trainData,'Outputs',net.Layers(181).Name);
22일 전 | 0
답변 있음
Is there a setting to move labels on a plot closer
You can use the axis label text object porperties to move them around, e.g., h=gca; h.XLabel.Position(end)=h.XLabel.Position(e...
Is there a setting to move labels on a plot closer
You can use the axis label text object porperties to move them around, e.g., h=gca; h.XLabel.Position(end)=h.XLabel.Position(e...
23일 전 | 0
| 수락됨
질문
When did the syntax for linprog change
At one point, the input syntax for linprog was x=linprog(f,A,b,Aeq,beq,lb,ub,x0,options) but now (R2023b) I see that it has c...
23일 전 | 답변 수: 2 | 0
2
답변답변 있음
The issue of optimization (minimization) of the average relative error between experimental and calculated data
If you download minL1lin from https://www.mathworks.com/matlabcentral/fileexchange/52795-constrained-minimum-l1-norm-solutions-...
The issue of optimization (minimization) of the average relative error between experimental and calculated data
If you download minL1lin from https://www.mathworks.com/matlabcentral/fileexchange/52795-constrained-minimum-l1-norm-solutions-...
24일 전 | 0
| 수락됨
답변 있음
How can I efficiently save and access large arrays generated in nested loops?
I used the following given method to save the data, and it produced an 11 GB file, which seems very large. The memory consumpti...
How can I efficiently save and access large arrays generated in nested loops?
I used the following given method to save the data, and it produced an 11 GB file, which seems very large. The memory consumpti...
24일 전 | 0
| 수락됨
답변 있음
Why ILP Solver Switching to Branch-and-Bound?
Assuming you are using intlinprog, it will always uses the branch-and-bound algorithm at some stage of the processing (not sure...
Why ILP Solver Switching to Branch-and-Bound?
Assuming you are using intlinprog, it will always uses the branch-and-bound algorithm at some stage of the processing (not sure...
25일 전 | 0
| 수락됨