질문


Assign a customized image to an icon on the Quick Access Toolbar
I have created two Quick Access Toolbar buttons that let me toggle between two desired Matlab Desktop layouts, one which arrange...

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

1

답변

답변 있음
When using the "fit" command with a startpoint vector, matlab will sometimes not fit the data and will instead just assume my startpoint is the best fit
Numerical problems are created when your T and X data are very different orders of magnitude. Change the units of your X to some...

2년 초과 전 | 1

| 수락됨

답변 있음
save images inside a for loop at uneven intervals
If you don't know in advance which and how many loop iterations you'll be storing, it would be best to accumulate them in a cell...

2년 초과 전 | 0

답변 있음
save images inside a for loop at uneven intervals
One way, Img=nan(M,N,a); Isubset=[10 47, 150,...,a] for i = 1:a B = some process % my image if ismember...

2년 초과 전 | 0

답변 있음
Logic array changing when saving then loading .mat file
As @the cyclist says, we really need to be given steps to reproduce this. The only thing I can guess is that maybe you tried to ...

2년 초과 전 | 0

답변 있음
Divide matrix in subgroups based on rows and columns
every 256 rows should be saved into a new variable (so in total 200 variables) I assume you mean you want them split up into ce...

2년 초과 전 | 0

답변 있음
How to get input values for a known output value.
One possibility might be to use fmincon to search for a minimum norm solution, fun=@(Xp) norm(Xp).^2; nonlcon=@(Xp) deal([],...

2년 초과 전 | 0

| 수락됨

답변 있음
Convert Quaternion to Euler angle extrinsically
Intrinsic euler angles can be converted to extrinsic euler angles just be reversing their order. EDIT: In other words, a Z-Y'-X...

2년 초과 전 | 1

| 수락됨

답변 있음
Asking for Guidance to Weighted-Sum Multiobjective Optimization
Because your problems have such a simple quadratic form, I might just do a sweep over w1,w2 using quadprog. w1=linspace(0,1,60)...

2년 초과 전 | 0

| 수락됨

답변 있음
How to find the coordinate of the point on (180) contour line when y(max)?
You could do the calculus, or use the Symbolic toolbox to help you. syms x y z(x,y) z=1000*(x.*exp(-x.^2-y.^1)); G=gradient...

2년 초과 전 | 0

답변 있음
How to calculate the area between X-Axis, Y-Axis and the (60) contour line?
Using this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/74010-getcontourlinecoordinates x = 1:0.2:2; y...

2년 초과 전 | 1

| 수락됨

답변 있음
How can i select variables which has same number at the end
You shouldn't have variables named that way. You should have a cell array T_Right_F{i}, and times{i} and should use indexing ...

2년 초과 전 | 0

답변 있음
can I adjusting one vector according to another vector for plotting?
Given x,y for fitting, I=~isnan(x)&~isnan(y); p=polyfit(x(I), y(I),1)

2년 초과 전 | 0

| 수락됨

답변 있음
Understanding higher dimension in MATLAB
In general, a=rand(M,N,P,Q) means that a will return a number when you give it 4 subscripts a(i,j,k,l) for any combination of ...

2년 초과 전 | 0

질문


How to return a DAGNetwork to an editable state in deepNetworkDesigner?
I started with a layer graph lgraph and opened it in a deepNetworkDesigner, deepNetworkDesigner( lgraph ) The properties of th...

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

1

답변

답변 있음
Using accumarray to sum all values associated with a given node
edges = [1 2; 2 3; 3 1; 2 4; 4 5; 4 1]; data=[0.276 0.679 0.655 0.162 0.118 0.333]; m=max(edges(:)); A=accumarray(...

2년 초과 전 | 0

답변 있음
Using accumarray to sum all values associated with a given node
One way: edges = [1 2; 2 3; 3 1; 2 4; 4 5; 4 1]; data=[0.276 0.679 0.655 0.162 0.118 0.333]; G=graph(edges(:,1), edg...

2년 초과 전 | 0

| 수락됨

답변 있음
How do I plot one curve top on the other in the same figure?
Use subplot or tiledlayout. H(1)=openfig('fluence noneuqib.fig'); ax1=gca; H(2)=openfig('fluence ttm new.fig'); ax2=gca; ...

2년 초과 전 | 0

| 수락됨

답변 있음
how to change zero in series number
y=[0 2 3 5 1 6 0 0 3 4 7 2 0 6 2 ] y(y==0)=nan; out=fillmissing(y,'next')

2년 초과 전 | 1

| 수락됨

답변 있음
What is the difference between the 1st order polynomial fit and linear regression?
They are the same. You are just plotting the polyfit result incorrectly, load xy_ask.mat x y clf; plot(x,y,'o'); hold on x0=0...

2년 초과 전 | 3

| 수락됨

답변 있음
Determine intersection between plane and polyhedron
Use intersectionHull() from this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/30892-analyze-n-dimensional...

2년 초과 전 | 0

답변 있음
how to calculate tangent between circle and polynomial (from curve fit)
The equation for the tangent to the polynomial is y=m(x1,y1)*x+b(x1,y1) where m(x1,y1) and b(x1,y1) are a function of the tange...

2년 초과 전 | 0

| 수락됨

답변 있음
How to solve Ax=b with some all knowns except some x values
A = [48 -24 -24 12]; b = [0 0]; solution = A(:,2:end)\(b-A(:,1))

2년 초과 전 | 0

답변 있음
implicit conversion doesn't work with some functions
interp1 is not a method of class double, so it does not have to accommodate double's child classes. ismember('interp1',methods(...

2년 초과 전 | 1

| 수락됨

답변 있음
fsolve not varying input variable
I can't say definitively whether this is responsible for the specific problem you cite, but you are not being at all careful in ...

2년 초과 전 | 0

답변 있음
Reducing resolution imagesc by convolution
You could download sepblockfun from the File Exchange, https://www.mathworks.com/matlabcentral/fileexchange/48089-separable-blo...

2년 초과 전 | 1

| 수락됨

답변 있음
Unrecognized function or variable 'importNetworkFromTensorFlow'.
You haven't filled in the form with your Matlab release, but I'm guessing you have a version that predates that command.

2년 초과 전 | 0

답변 있음
creating nodes on an axis normal to a plane
You can generate equidistant points along any 3D ray as follows: center = [-24.3053980118084 -192.105601596377 -203.31723850625...

2년 초과 전 | 2

답변 있음
Using function handle in fittype function
No, there isn't. fit and fittype need to know the number and names of the unknown coefficients, and the only way they can do tha...

2년 초과 전 | 0

| 수락됨

답변 있음
How to get the ODD with fanbeam function
I suspect ODD is always zero. It should be easy to test. Use the known width of the phantom and the known FanSensorSpacing to se...

2년 초과 전 | 0

더 보기