답변 있음
How to avoid redefining optimoptions in Simulink for real-time nonlinear optimization with fmincon (SQP)?
You can use global variables (but with care). function y = fcn(u) global lb ub options y = fminbnd(@(x) f1(x,u),lb,ub,...

7개월 전 | 0

답변 있음
Anonymous function handle incosistence problem with Fourier functions
Aside from what Stephen mentions, (1) the time and frequency axes need to have a common origin at the center of the array. (2...

7개월 전 | 0

답변 있음
How to work out trigonometric identities symbolically?
There is no unique expansion of such an expression. You would have to go the other way. syms w v t simplify( 0.5 * (cos(w*t ...

7개월 전 | 0

답변 있음
Issue with 2D Planar Area Calculation Using surf
You may havee to regrid the data so that it is uniformly spaced and also scale the area calculation by the pixel area: load max...

7개월 전 | 0

답변 있음
I want to clip a contour output to the interior of a closed polygon
Since you have extracted the contour line coordinate data and modified them, you could just replot them as line plots instead of...

7개월 전 | 0

| 수락됨

답변 있음
Details pane missing in 2025a
Yes, it's been removed. You can still preview the file by right-clicking on it and selecting Preview. I would be interested to k...

7개월 전 | 0

| 수락됨

답변 있음
Plotting Set of Inequalities
Your inequalities can be re-arranged as linear inequalities, and then plott...

7개월 전 | 0

답변 있음
Function to copy to clickboard in App Designer?
Implement a WindowButtonDownFcn callback for the UIFigure canvas, function CanvasButtonDown(app, event) clickedC...

7개월 전 | 0

| 수락됨

답변 있음
Please help me, I want to graph this attached simple relation
The following is deliberately not exactly what you asked for, but illustrates one possible approach. [a0,a1,c1,c2,c3,c4,lambda...

7개월 전 | 1

| 수락됨

답변 있음
fft function seemingly not evaluating correctly
Pretty close. There are several issues with how you set up your axes, both in the original domain and the Fourier domain. For on...

7개월 전 | 0

답변 있음
Modulo with expression not the same as modulo with value
Because mod(1,z) is a discontinuous function of z at 0.1, fplot(@(z) mod(1,z),[0,0.2])

7개월 전 | 0

| 수락됨

답변 있음
Displaying a 3D object with the nearest 2 quadrants to the viewer cut out.
Couldn't you just use the volume viewer app https://www.mathworks.com/help/images/explore-3-d-volumetric-data-with-volume-viewe...

7개월 전 | 0

| 수락됨

답변 있음
Pass parameters to arbitrarily deep functions in a parfor loop (write once, read multiple)
I recommend that you go through the effort of revising all your function signatures to accept an additional argument for the par...

7개월 전 | 1

답변 있음
App Designer: Push-button and keep certain variables in workspace
Have the function store the data in a property of the app. https://www.mathworks.com/help/matlab/creating_guis/manage-propertie...

7개월 전 | 0

답변 있음
I am trying to generate a plot for the 3x+1 problem for the seed 10^310 but i am unable to get the plot? Why
It's because 1e309 is too large for double float math to handle. The largest integer that can be expressed in double float preci...

7개월 전 | 1

답변 있음
Wierd wiggle in plot of symbolic expression
There appears to be a mistake in your expression for cutoff(). Also, using floor(t) for the upper limit of the symsum makes it h...

7개월 전 | 1

답변 있음
Wierd wiggle in plot of symbolic expression
Seems like a lot of unnecessary symbolic math gymnastics for such a simple function. IB0=@(t) min(t,1); fplot(IB0,[0,9], 'Li...

7개월 전 | 2

답변 있음
Create figures with different number of images but same sizes
If you mean you want a common image size across all axes in both figures, I think the best that you can do is relocate both layo...

7개월 전 | 0

답변 있음
Solving a system of a changing number of nonlinear equations
Because your equations are 4-th order polynomials, they are apt to have multiple roots. You probably won't get a physically sens...

7개월 전 | 0

답변 있음
Merging multiple dictionaries with dictionaries
A = dictionary(dictionary(["key1"], {1}), dictionary(["key2"], {2})); A(dictionary(["key3"], {3})) = dictionary(["key4"], {4});...

7개월 전 | 1

| 수락됨

답변 있음
Merging multiple dictionaries with dictionaries
f=@(i) {dictionary(["key"+i], {i})} A = dictionary(f(1), f(2)); A(f(3)) = f(4) B = dictionary(f(5), f(6)); B(f(7)) = f...

7개월 전 | 0

답변 있음
How to Interpolate and Find X given Y
Here's yet another approach that uses linexlines2D, downloadable from, https://www.mathworks.com/matlabcentral/fileexchange/934...

7개월 전 | 0

답변 있음
How to Interpolate and Find X given Y
One way: x = [50 43 35 22 15 12 11 10 8.5 6.5 5.75 5 4 3 2.75 2.5 2.25 2 1.67 1.37 1.2 1 0.7 0.55 0.3 0.25]; y = [0.3 0.35 0...

7개월 전 | 0

| 수락됨

답변 있음
Issues with overlapping graphs in nested tiledlayouts
Remove the line nexttile(t_lrg) It creates an axes in the outer layout.

7개월 전 | 0

| 수락됨

답변 있음
How is calculated the determinant of a matrix containing a fourier transform?
N=1024; Fs=4000; f=(0:(N-1-ceil((N-1)/2)))/N*Fs; jw = 1j*2*pi*f; determinant = (jw-x2).*y1 - (jw-x1).*y2 ;

7개월 전 | 0

| 수락됨

답변 있음
Question about using "diary" command
I don't see anything about it in the documentation, but it makes sense that the file write would be postponed until after all te...

7개월 전 | 0

| 수락됨

제출됨


Further tools for analyzing objects in N-dimensional images
A collection of tools to supplement bwpropfilt, bwareaopen, and the like.

7개월 전 | 다운로드 수: 1 |

5.0 / 5

제출됨


Fit polyshape to objects in image
Given a 2D binary or label image of a number of objects, returns a "best-fit" polyshape to the boundaries of the objects.

7개월 전 | 다운로드 수: 1 |

0.0 / 5
Thumbnail

더 보기