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

quasi 7 anni fa | 1

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

| accettato

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

quasi 7 anni fa | 1

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

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

quasi 7 anni fa | 0

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

circa 7 anni fa | 3

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 6

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

circa 7 anni fa | 1

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

circa 7 anni fa | 1

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

circa 7 anni fa | 1

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 5

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato