回答済み
Trying to use Stem() - Error message
You can use the |subs| function in the Symbolic Math Toolbox to get the numerical values of |y| and |t|. <https://www.mathworks...

7年弱 前 | 1

回答済み
Embedding a uicontrol listbox in a uimenu?
It is possible to open a new dialog with the checkbox or listbox from the menu. You can do this by adding a callback to the "Pl...

7年弱 前 | 0

回答済み
The transparency of patch in legend changes when the legend is updated in the plot browser in the figure. How can I stop it?
Any time the legend creates new patches, they will default to the non-transparent |FaceAlpha|. Using the syntax to return the |...

7年弱 前 | 1

| 採用済み

回答済み
File Watcher for continuous running program
the post that you linked to is using this functionality in a figure, so the callbacks are used as long as the figure is running....

7年弱 前 | 1

| 採用済み

回答済み
How to use vectors inside the fittype function
You can do this by supplying an anonymous function for the expression in |fittype| instead of a string. For example g = ...

7年弱 前 | 0

回答済み
I want to plot a straight line using App designer.I am using it for the first time and here is a code snippet.But no graph appears.Can someone please help?
If you want to do the plotting when the user selects the button labeled 'U', then you should be comparing the 'selectedButton.Te...

7年弱 前 | 0

回答済み
Why does legend command fail after boxplots with hold command?
Boxplots are groups of lines in the axes, so their legend functionality is limited. Mathworks' teams are aware of this and cons...

7年弱 前 | 1

回答済み
How do I find the area inside a shape?
Using the Image Processing Toolbox in MATLAB, you can provide the binary image and the properties ('Area') that you would like a...

7年弱 前 | 0

回答済み
App designer 3d in GUI - Rotate3d ?
I was able to do this using the following to control the UIAxes that I added to my AppDesigner app. rotate3d(app.UIAxes,'on...

約7年 前 | 3

| 採用済み

回答済み
what is the status of wrapToPi ?
Based on our documentation, the |wrapToPi| function belongs to the Mapping Toolbox in each release you mention above. You can...

約7年 前 | 0

回答済み
App Designer Multiple Plots
Hi April, You can use the |hold| command as you usually would to plot multiple graphs on an axes. You will need to call |hol...

約7年 前 | 6

回答済み
App Designer Tab Groups
If you want to change which tab in a group is visible, you can use: app.TabGroup.SelectedTab = app.Tab1 where |Tab1| is ...

約7年 前 | 1

回答済み
Finite Difference Approximation of 1st Order Error Bi-Harmonic Operator
I believe you have these implemented correctly and that both have second-order accuracy. I am not sure how you are defining |re...

約7年 前 | 1

回答済み
Why is not possible to put the SpecifyObjectiveGradient option to true in case of Levenberg-Marquardt?
The default algorithm for |lsqnonlin| is the trust-region-reflective method. In order to use the Levenberg-Marquardt algorithm ...

約7年 前 | 1

回答済み
how to write this equation for modelfun?
The way you can do this with so many predictor variables and coefficients is to vectorize the equation. Then you just have to b...

約7年 前 | 0

回答済み
Number of ways of distributing n distinct objects into r identical groups
Based on your description, it looks like there are two separate concepts that you are dealing with. The first is that you need t...

約7年 前 | 0

回答済み
Individual processing each block blockproc
You may consider writing a function that takes the " |block_struct|", analyzes its " |location|" information or " |data|" and th...

7年以上 前 | 0

回答済み
Give focus to an Edit Field
This functionality with "uicontrol" is currently unavailable in App Designer. I have forwarded your feedback to our developers a...

7年以上 前 | 5

| 採用済み

回答済み
How to find analytic expression for B-spline curve
When you are executing the command >> sp = spap2(3,4,x,y); you are computing the B-form of a spline of order 4 with 3 po...

7年以上 前 | 0

回答済み
garchset / garchget to new functions
In order to add all of the parameters you are using, you can consider making a GJR object using the "gjr" function, and then spe...

7年以上 前 | 0

回答済み
how can i change Pareto front axis in genetic algorithm?
I am not exactly sure how you would like to "indicate the optimal solution" using the Pareto front, but here are a few ways to v...

7年以上 前 | 0

| 採用済み

回答済み
Algorithm required to detect different phases of a real time data/signal.
First, you will need to establish some criteria for what a "phase change" should be. After doing this, you can use logical inde...

7年以上 前 | 0

| 採用済み

回答済み
Can someone help me out with this code, it doesn't seem to be giving the correct output. I have MATLAB 2017a and this code ran on MATLAB 2013a
I think that there are two changes that you are seeing to the Symbolic Math Toolbox here. The first is that the order of el...

7年以上 前 | 0

回答済み
App Designer: Use a button in one .mlapp file to open a specific UItab in a different .mlapp file
Let the app with the button be called app1 and the app with the tab group be called app2. In app2, let the tab group be called T...

7年以上 前 | 0

回答済み
How can I connect 25 nodes with 50 connections?
There are a couple of ways to do this. One way is to use |randi| to generate two integers between 1 and 25. They will act as i...

7年以上 前 | 0

| 採用済み

回答済み
Plotting a result from dsolve
I am not sure what |x| is in this case, but you should be able to use <https://www.mathworks.com/help/matlab/ref/fplot.html fplo...

7年以上 前 | 1

| 採用済み

回答済み
Identify Shape and Extract Vertices
As far as an algorithm that will do this, I am not really sure. I did find some MATLAB functions that could help you find the co...

7年以上 前 | 0

回答済み
ga with population from a given set
If you are not using a |bitstring| or |custom| for the |PopulationType| in your |ga| options, then you can encode this constrain...

7年以上 前 | 0

| 採用済み