已回答
How do I change my code to stop a for loop simply replacing rows of outputs in a uitable?
The code as it is currently written is creating a brand-new uitable every time the loop runs. You need to update the code to ei...

5 years 前 | 0

已回答
How to plot live data from Arduino UNO to App designer.
At a very high level: Create a new app in App Designer. See the tutorials linked below for how to get started. Add at least a ...

5 years 前 | 1

| 已接受

已回答
Getting the value of variable from its name
eval will do this, but see the link posted by Stephen explaining all the reasons you should avoid using eval: https://www.mathwo...

5 years 前 | 4

已回答
error: Out of memory. The likely cause is an infinite recursion within the program.
As this looks like a homework assignment, I'm not going to provide the direct answer to how to do this in MATLAB. However, I can...

5 years 前 | 0

已回答
How to save obtained information from matlab in Excel
See if this doc page helps: Write Data to Excel Spreadsheets

5 years 前 | 0

| 已接受

已回答
Assign a table coloumn a particular data type
You cannot mix data types within a double matrix, but you can mix data types within a table. So, you cannot convert two columns...

5 years 前 | 1

| 已接受

已回答
Adding titles squashes one of my images in a TiledChartLayout (R2020a)
I opened the figure you created, and I see you have set the GridSize to [2756 3840]. TiledChartLayout is attempting to keep eac...

5 years 前 | 1

| 已接受

已回答
Drawing upside down cone using spherical coordinates.
The issue you are facing is that when you call meshgrid you are specifying three input vectors, so the output matrices are going...

5 years 前 | 1

| 已接受

已回答
Boxplot for both x and y axis with different box widths.
The boxplot command creates a group of lines, so if you wanted to adjust the box widths you would need to manually adjust the XD...

5 years 前 | 0

| 已接受

已解决


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

5 years 前

已回答
How to draw the contour lines in MATLAB.
The answer depends in part on how the data is formatted in Excel, but something like this should get you started (see attached s...

5 years 前 | 0

已回答
use x,y,z coordinates from 3D matrix and store the result in new 3D matrix
You have three options: Split the matrix apart again before operating on it. Operation on "slices" of the matrix using indexin...

5 years 前 | 0

已回答
how do i combine two bar graphs
I could be misunderstanding your question, but I suspect the problem you are facing is that your bar graphs are perfectly overla...

5 years 前 | 4

| 已接受

已回答
Axes tag disappears after imagesc
The difference in behavior is due to the different value of the NextPlot property between axes and uiaxes. Most graphics comman...

5 years 前 | 1

| 已接受

已回答
Ending while loop with an input from the user
I'm going to ignore most of the tambolenler function, because I don't think it is needed to answer your question. I think you h...

5 years 前 | 0

| 已接受

已回答
Drawrectangle on multiple tiles or figures using clickcallback
When you call drawrectangle, you need to indicate which axes/tile you want to draw into. If you call drawrectangle three times, ...

5 years 前 | 0

| 已接受

已回答
How to solve "Reference to non-existent field 'net'" on app designer?
You did not indicate what line of code the error message is coming from, but I'm guessing the error is coming from one of these ...

5 years 前 | 0

已回答
How to correct cluttered axes in my plot in Matlab GUI?
It looks like you've set the XTickMode (and possibly also XTickLabelMode) to manual. This means that when you add new data to t...

5 years 前 | 0

| 已接受

已回答
Radio button and format of plot axis in app designer and its corresponding plot
I think the problem you are having is that you are not passing your axes handle into the cla function. cla(app.UIAxes, 'reset')...

5 years 前 | 0

| 已接受

已回答
Undefined function 'graphicsversion' for input arguments of type 'matlab.ui.Figure'.
Actually, I looked a little closer at the error message you are getting, and it looks like you have an old copy of uigetmodemana...

5 years 前 | 0

已回答
Undefined function 'graphicsversion' for input arguments of type 'matlab.ui.Figure'.
The graphicsversion function was undocumented and was removed in MATLAB R2018a. You should remove any use of the graphicsversio...

5 years 前 | 1

已回答
How can i use linkaxes with multiple imshow in appdesigner?
linkaxes only started working with UIAxes in MATLAB R2020b. If you are using an older release and you cannot upgrade, I recomme...

5 years 前 | 0

| 已接受

已回答
How to remove the y axis and tick marks but keep the tick label and axis label?
You can remove the tick marks by setting the TickLength property on the axes to [0 0], but that will remove ticks from both the ...

5 years 前 | 1

已回答
Creating a table of two indexes
You need to merge F and C into a single matrix and transpose that matrix: fprintf('%8.1f\t%8.1f\n',[F' C']')

5 years 前 | 0

| 已接受

已回答
How to use ga() without generating a prepopulated figure with stop and pause button with matlab app
This looks like a limitation of the ga code that creates the buttons, as I can't see any way to control where those buttons are ...

5 years 前 | 0

已回答
Thresholding for different values and save all figures automatically
You need to add a for loop, and update the filename based on the level, so you don't overwrite the same file. In the example bel...

5 years 前 | 0

| 已接受

已回答
How to remove colorbar and heatmap black borders?
If you want to remove the colorbar, you can set the ColorbarVisible property to 'off': h = heatmap(magic(5)); h.ColorbarVisibl...

5 years 前 | 3

| 已接受

已回答
Error using area plot in App Designer
I think you've created a variable with the name area somewhere in your code. Can you add this code, immediate above the line of...

5 years 前 | 0

| 已接受

已回答
control inner positions of ui axes in app designer
Mischa Kim is correct that starting in R2020b you can set the InnerPosition property (or PositionConstraint property) on UIAxes ...

5 years 前 | 0

已回答
App designer (Matlab 2020b) does not open *.mlapp file
I've attached a fixed version of your app (app2fixed.mlapp). The problem with the app was that one of the UIAxes stored in the ...

6 years 前 | 3

| 已接受

加载更多