답변 있음
MATLAB Not Working After Update
I would try doing a clean reinstall, i.e., with all previous installation folders deleted. Failing that, you will probably need ...

1년 초과 전 | 0

답변 있음
Steepest descents methods algoritme for higher dimensional objective functions
See fminunc, fmincon, and perhaps also, https://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differentia...

1년 초과 전 | 0

| 수락됨

답변 있음
How can I keep the non-Matlab command window open after executing an executable by double clicking it?
There is very little context provided by the question, but if it is an executable created with the Matlab Compiler, then for exa...

1년 초과 전 | 0

| 수락됨

답변 있음
What is the easiest way to provide the user with a compiled version of a matlab function so that he can run without having the source?
If the idea is to obscure the source code, consider, https://www.mathworks.com/help/matlab/matlab_prog/building-a-content-obscu...

1년 초과 전 | 1

| 수락됨

답변 있음
How to give arguments to fmincon using ssest in system identification toolbox?
Perhaps as follows, opts=ssestOptions(SearchMethod='fmincon'); opts.SearchOptions.Algorithm='trust-region-reflective'; opts...

1년 초과 전 | 0

| 수락됨

답변 있음
Trying to reshape/reformat data set into multiple sets
Using mat2tiles, downloadable from, https://www.mathworks.com/matlabcentral/fileexchange/35085-mat2tiles-divide-array-into-equa...

1년 초과 전 | 0

답변 있음
How to batch close the open variable window
You can try, com.mathworks.mlservices.MatlabDesktopServices.getDesktop.closeGroup('Variables')

1년 초과 전 | 0

답변 있음
Derivative of a multivariate function handle
Is this what you want? syms y [1 2] g = [y(1)*cos(y(2))+y(2)*sin(y(1))-0.5]; Jfun=matlabFunction(jacobian(g,y)) Jfun(0...

1년 초과 전 | 0

답변 있음
Determine if a point is inside a cube
Assuming the cube is not rotated, vertices = [ -1, -1, -1; -1, -1, 1; -1, 1, -1; -1, 1, 1; 1, -1,...

1년 초과 전 | 0

답변 있음
How to use splitapply function with a grouping variable which is a cell array in my table?
groupingVar = {'A', 'X'; 'A', 'Y'; 'B', 'X'; 'B', 'Y'; 'A', 'X'; 'A', 'Y'; 'B', 'X'; 'B', 'Y'; 'A', 'X'; 'A', 'Y'}; G=findgro...

1년 초과 전 | 0

답변 있음
find unique array cell with 2 field
>> findgroups(f(:,1),f(:,2)) ans = 1 1 3 2

1년 초과 전 | 0

| 수락됨

답변 있음
Question regarding calling the destructor of a broadcast variable in parfor.
It is because you have 6 workers in your parpool. Therefore, a copy of Mage is sent to each worker, for a total of 6, during par...

1년 초과 전 | 0

| 수락됨

답변 있음
find unique array cell with 2 field
load('matlab_f.mat') table2cell(unique(cell2table(f),'rows'))

1년 초과 전 | 0

답변 있음
Problem with ploting involving function handle
Perhaps this is what you meant? N= 600; COMx_k = @(k) real(sum(1.*exp(-2*pi*1i*(k/N).*(1:N)' ),1)); %k=0:0.1:300 fplo...

1년 초과 전 | 0

| 수락됨

답변 있음
how to change the image from axial to sagittal
imtool3D() is not a native Matlab function, but I imagine if you permute your data permute(data,[3,1,2]) so that its slices are ...

1년 초과 전 | 0

| 수락됨

답변 있음
How to add an NVCC flag
Downgrade to Visual Studio 2019. See also, https://www.mathworks.com/matlabcentral/answers/2158705-mexcuda-can-t-find-visual-st...

1년 초과 전 | 0

답변 있음
starting vector (zero vector) equals lower bounds but gets projected to non-zero vector
This behavior is specific to the interior-point algorithm. As the name suggests, an interior-point algorithm must start at an in...

1년 초과 전 | 1

답변 있음
Finding concave hull around abstract shape
ps = load('matlab_answer_example.mat').new_polyShape1; tic; V=cell2mat(arrayfun(@(i) upsamp(polybuffer(ps,-i)),[0,1],'Unifor...

1년 초과 전 | 1

질문


mexcuda() can't find Visual Studio 2022, but mex() can.
In R2024a, I encounter the following when trying to compile with mexcuda in conjunction with Visual Studio 2022. >> mexcuda -la...

1년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
loading and training an existing network.
previous = load("savednet","net","layers"); net = trainNetwork(data,clabels,previous.net,options);

1년 초과 전 | 0

| 수락됨

답변 있음
Interpolate and plot a surface in a rotated coordinated system
I'm not familiar with the FEX submission you used, but I can show how I would do it with this one, https://www.mathworks.com/ma...

1년 초과 전 | 0

답변 있음
Find the indices of numbers that occur first
You won't be able to do better than a for-loop over the V(i).

1년 초과 전 | 0

답변 있음
scale/normalize parameter vector for optimization
The transformation is non-differentiable, and probably is not a good idea for Optimization Toolbox optimizers which are smooth ...

1년 초과 전 | 0

답변 있음
I have shifted from lsqnoneg to lsqlin because lsqnonneg does not support additional constraint is it right or wrong choice?
If your lsqlin can solve your problem, then there is usually never any reason to use lsqnonneg. lsqnonneg is for nonlinear least...

1년 초과 전 | 0

답변 있음
Why is my hamming window and rectangular window values the same for sigma_omega when I make L = 21?
% Set window length L = 21 L = 21; % Generate rectangular and Hamming windows rect_window = window(@rectwin, L); hamming_w...

1년 초과 전 | 0

| 수락됨

답변 있음
How to identify Gaussian type maxima in an image
using imregionalmax i can generate a list of candidate. I wanna check each one now. I may like to filter the one which are non s...

1년 초과 전 | 0

답변 있음
transform linear inequality constraints into bound constraints for optimization solvers
Yes, a set A*y>=0 is a cone and so can equivalently be expressed as where are the so-called extreme rays of the cone and are ...

1년 초과 전 | 0

답변 있음
Cannot define a cell array of custom classes in function argument validation
classdef Session < handle %SESSION Summary of this class goes here % Detailed explanation goes here properties (Acc...

1년 초과 전 | 1

답변 있음
How to convert two nested for-loops to one parfor loop.
It does not seem advisable to use parfor. Everything in your code is vectorizable. However, here is what a parfor approach could...

1년 초과 전 | 0

| 수락됨

답변 있음
Why can't we define properties on enumerations extending from built-in classes?
I don't know why. I suspect it is for the same reason why builtin indexing and concatenation no longer works when you add proper...

1년 초과 전 | 0

| 수락됨

더 보기