답변 있음
Add properties to edit field in app designer
You can always use the EditField's UserData property to hold extra stuff. However, there's no reason the true password needs to ...

거의 3년 전 | 0

답변 있음
Scalar structure required for this assignment.
Your intention with the code is not clear, but here is one possibility, [Sis.On]=deal(D_{:,2});

거의 3년 전 | 2

| 수락됨

답변 있음
Finding intersection of line(vector) and an unclosed shape
Use polyxpoly if you have the appropriate toolbox. Otherwise, use this FEX download, https://www.mathworks.com/matlabcentral/fi...

거의 3년 전 | 0

답변 있음
how to calculate the area of each bin of intersection of a circle and mesh grid?
The efficient way would be to first eliminate the grid squares which are wholly inside or outside the circle, which you can dete...

거의 3년 전 | 0

답변 있음
lsqnonlin optimization: large condition number of Jacobian matrix at all iterations, but full rank
Your scaling isn't really doing anything meaningful, since all residuals are weighted equally. Really, you are just multiplying ...

거의 3년 전 | 1

| 수락됨

답변 있음
Solving a complicated symbolic equation
A=3; B=9; f=@(x)A-B*x*sinh(x); [x,fval]=fzero(f,[0,10]) %first solution [x,fval]=fzero(f,[-10,0]) %second solution

거의 3년 전 | 1

답변 있음
All functions in a script must be closed with an 'end'.
Replace "return" by "end"

거의 3년 전 | 0

| 수락됨

답변 있음
Extract "labelhandles" from Legend
Would it be possible to get the content of the second output of the legend, i.e. "labelhandles", just by calling the first outpu...

거의 3년 전 | 2

| 수락됨

답변 있음
Looping scatteredInterpolant across each frame in 3D matrix
Since your grids are related by an affine warping, it might be best to use imwarp, assuming you have the appropriate toolbox.Exa...

거의 3년 전 | 0

답변 있음
How to plot a function on a user defined plane when using spherical coordinate system by specifying elevation and azimuth values at a given radial distance?
The three spherical coordinates theta, phi, and r are not enough to define the sampling of a plane. You must also define coordin...

대략 3년 전 | 0

답변 있음
Calculation errors while using subs and det functions
You haven't given us access to the input variables needed to repeat the computation. However, the determinant you are evaluating...

대략 3년 전 | 0

| 수락됨

답변 있음
Extracting from boxchart function the median, quartiles, and whisker data.
I don't believe those quantitites are directly available as permanent property data. When you position the cursor over one of th...

대략 3년 전 | 1

| 수락됨

답변 있음
How to define the order of layers/plots and axes?
1) Hfig=figure('Visible','off); p(1) = plot(...); p(2) = scatter(...). p(3) = line(..); p(4) = fill(...), p(5) = imagesc(...) ...

대략 3년 전 | 1

| 수락됨

답변 있음
error in the process of symbol operation of the matrix
Nothing is wrong with T, though possibly you didn't scroll down far enough to see the definitions of all the sigmas.

대략 3년 전 | 0

답변 있음
Is it possible to handle a slider with an 'on-line' update? I mean, updating the value continously during the sliding.
Yes, use the ValueCHangingFcn callback https://www.mathworks.com/help/matlab/ref/uislider.html#buicpgg-1_sep_shared-ValueChangi...

대략 3년 전 | 0

답변 있음
How to extract rows of data according to text containing specific words in cells in Matlab
copepods= contains(C.object_id,"cruise2012") & ... contains(C.object_annotation_hierarchy,"Copepoda");

대략 3년 전 | 0

| 수락됨

답변 있음
lsqcurvefit does not follow convergence criteria in summation.
After the fit has converged (but not giving a useful result) I checked for the convergence criterion and it wasn't replaced with...

대략 3년 전 | 0

| 수락됨

답변 있음
Unrecognized function or variable 'x0'.
Relocate the last 2 lines from newmintafun1 and make x0 the correct length. x0 = [10; 6; 4; 3; 4; 3; 2; 3; 18; 7; 25; 10; 5; 5;...

대략 3년 전 | 0

| 수락됨

답변 있음
How to create big matrix that the item is small matrix
See, How to Generate a Block Toeplitz Matrix. Then replace the last D block with F, Matrix(end-11:end,end-11:end)=F;

대략 3년 전 | 0

답변 있음
Fit gaussian surface on 3D data
Using gaussfitn from, https://www.mathworks.com/matlabcentral/fileexchange/69116-gaussfitn load Image %cropped to include onl...

대략 3년 전 | 1

| 수락됨

질문


Reloading handle objects from .mat files
Why does isequal() return false when the reloaded handle is compared to the original handle, in the code below. h=plot(1:5); s...

대략 3년 전 | 답변 수: 2 | 0

2

답변

답변 있음
Solve linear equation in matrix form with least square method
If I use (A.'*A)\(A.'*b), i can get the result An even easier and more accurate way to get it is, x=A\b and that is the meth...

대략 3년 전 | 0

| 수락됨

답변 있음
Interpreting the results of 'fsolve'
It means fsolve thinks it found a solution. Whether you can "trust" the solution is an open-ended question. It depends on the ap...

대략 3년 전 | 0

답변 있음
using matchpairs when objects have different capacities
Then you are not seeking pairings. Therefore, matchpairs will not apply. But you can probably use minL1intlin from this FEX down...

대략 3년 전 | 0

답변 있음
Coding volume segmentation with multiple thresholds (CT data)
I can iterate through different CT number thresholds, using a function to create a binary mask (a 3D matrix) at each. However, I...

대략 3년 전 | 0

| 수락됨

답변 있음
Attempt to grow array along ambiguous dimension
In this line, idealF1(distance4 <= D01)=0; you have not checked the size of distance4 and of idealF1.

대략 3년 전 | 0

답변 있음
want to plot ellipses with different a and b values in x^2/a^2 + y^2/b^2 = 1 in Matlab 3d plot
Simplie enough. a=0.1;b=0.15; fsurf(@(x,y) x.^2/a^2+y.^2/b^2) ;

대략 3년 전 | 0

답변 있음
How do I fit two data sets to each other?
Sounds like a 1D image registration problem. Maybe consider imregtform.

대략 3년 전 | 0

답변 있음
Trying to do an if/and statement on a vector but have an addition apply to only one element of vector
I think a better method would be to update the compass position incrementally, using the attached file cumangle.m t=linspace(-1...

대략 3년 전 | 0

더 보기