Beantwortet
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...

fast 7 Jahre vor | 1

Beantwortet
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...

fast 7 Jahre vor | 0

Beantwortet
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 |...

fast 7 Jahre vor | 1

| akzeptiert

Beantwortet
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....

fast 7 Jahre vor | 1

| akzeptiert

Beantwortet
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 = ...

fast 7 Jahre vor | 0

Beantwortet
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...

fast 7 Jahre vor | 0

Beantwortet
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...

fast 7 Jahre vor | 1

Beantwortet
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...

fast 7 Jahre vor | 0

Beantwortet
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...

etwa 7 Jahre vor | 3

| akzeptiert

Beantwortet
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...

etwa 7 Jahre vor | 0

Beantwortet
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...

etwa 7 Jahre vor | 6

Beantwortet
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 ...

etwa 7 Jahre vor | 1

Beantwortet
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...

etwa 7 Jahre vor | 1

Beantwortet
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 ...

etwa 7 Jahre vor | 1

Beantwortet
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...

etwa 7 Jahre vor | 0

Beantwortet
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...

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

Beantwortet
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...

etwa 7 Jahre vor | 5

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert