Answered
Doesn't work brush on appdesigner aplication
Hi, your problem has been discussed elsewhere: https://www.mathworks.com/matlabcentral/answers/1598954-is-the-brush-tool-availab...

nästan 2 år ago | 0

Answered
Treat and handle missing hourly data (with daily profile), that might have large gaps
To identify the clusters of outliers, one may use logical indexing and the time vector. This is just a skeletal draft of the alg...

nästan 2 år ago | 0

Answered
Plot timeseries for mean monthly temperature
See help on plot timeseries...

nästan 2 år ago | 0

Answered
Code optimization by way of selective computations
Hi, you need to convert your flags to logical array, initialize the results with zeros and then apply the function to the flagge...

nästan 2 år ago | 0

| accepted

Answered
Change look of margin plot
Hi, this special plot apparently has a specific structure. I'd suggest to try and analyze the properties of your plot object. It...

ungefär 2 år ago | 0

| accepted

Answered
How i make multi window app in app designer
Why don't you ask google first... Extensive documentation is available : https://www.mathworks.com/help/matlab/creating_guis/cr...

ungefär 2 år ago | 0

Answered
How to steer uiprogressdlg from external function
Hi, I believe you could use the function setappdata, which allows you to change global variables in your app from an external fu...

ungefär 2 år ago | 0

| accepted

Answered
How to explain a difference in solutions of integrals between MATLAB and MAPLE?
Nicely done graphs! So, just by looking at the graphs, it is clear that: The integral of your function is a negative value, wit...

ungefär 2 år ago | 0

| accepted

Answered
linke fluent to matlab without AAS toolbox
Corrected (thanks to Walter Roberson for pointing out the imprecise formulation): Hi, so you are looking for a way to let MATL...

ungefär 2 år ago | 0

| accepted

Answered
How can I open an url into matlab browser?
That will not be possible according to the documentation ... (cit: "If url is an external site, then the page opens in your syst...

ungefär 2 år ago | 0

| accepted

Answered
double gyre - compute absolute and relative dispersion
Hi, seems like you are almost there... But you have to make up your mind on the meaning of your dispersion formulae. In statisti...

ungefär 2 år ago | 1

| accepted

Answered
Check if cell contains another cell
Hi, you can use the isa function: isa(a{i},'cell') Note that the use of eval is not recommended for many a good reason...

ungefär 2 år ago | 0

Answered
Plot data from 2 or more timeseries with different x axis scale
If you supply to the plot command also x data - datetime class, then the plot will have the expected look by efault, and it will...

ungefär 2 år ago | 1

| accepted

Answered
How to plot in real time the value of a variable in Matlab App Designer?
It should be sufficient to enforce update of your output using: drawnow limitrate.

ungefär 2 år ago | 0

Answered
interp1 vector of interpolated sample points using Euler method
Please have a look into the documentation of interp1, namely the section on extrapolation method. You'll see that NaNs are the d...

ungefär 2 år ago | 0

Answered
How to implement slider with simulation time series?
It seems you just need the basic slider functionality, so whay don't you try the example from documentation.

ungefär 2 år ago | 0

Answered
Generate random numbers with a constraint
A general answer to your general question is inverse transform sampling, which makes it possible to generate sample random data ...

ungefär 2 år ago | 0

| accepted

Answered
create a tab which appear before closing the GUI
You have to create a UIFigureCloseRequest callback, which is easily done in AppDesigner by a right click on the app.UIFigure in ...

ungefär 2 år ago | 0

Answered
x and y- line until point
You will neet to plot the auxiliary lines separately - first plot the graph, then use the hold function and last plot all the li...

ungefär 2 år ago | 0

Answered
Stop button to interrupt push botton
There is some confusion in the way you use callbacks. When you use a state button (or a switch) to interrupt a running for loop...

ungefär 2 år ago | 0

Answered
Reduce distance between vertical axis categorical variables plot
You could do this by using numerical Y axis values instead of categorical, and then apply your own YTicks.

ungefär 2 år ago | 0

Answered
How do I speed up my variable lookup algorithm?
It seems your use of the find functiois unnecessary. This function takes a lot of time, which you could verify by profiling your...

ungefär 2 år ago | 0

Answered
How to integrate imported data with specified limits.
If you data is e.g. X,Y, both vectors 1:N, you can create suitable subinterval by assigning Xsub = X(i1:i2), Ysub = Y(i1:i2) and...

ungefär 2 år ago | 0

Answered
Creating a cell array within a nested loop
You did not mention the error message you get, but the line where you are trying to add new entry into cell array contains an in...

ungefär 2 år ago | 0

Question


how to count visible lines in textArea?
I have a long text in Text Area, which is too long to fit. As the app window and the text area is changing size (possibly also f...

mer än 2 år ago | 1 answer | 0

1

answer

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än 2 år ago