Réponse apportée
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...

presque 7 ans il y a | 1

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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 |...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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....

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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 = ...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 1

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 3

| A accepté

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 6

Réponse apportée
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 ...

environ 7 ans il y a | 1

Réponse apportée
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...

environ 7 ans il y a | 1

Réponse apportée
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 ...

environ 7 ans il y a | 1

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 0

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

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 5

| A accepté

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté