已回答
Matlab plot disappears after editing X and Y limits
Difficult to say without seeing the actual code, but you can try something like this: ax = gca; ax.XLim = [1 10]; % Use your v...

1 year 前 | 0

| 已接受

已回答
how to plot confusion matrix from confusion matrix?
load confmat.mat % Calculate the percentage accuracy for each class percentageAccuracies = (diag(confmat)' ./ sum(confmat,...

1 year 前 | 0

已回答
Setting colormap to lines from streamslice
You could just randomly generate the colors: load wind lineObj = streamslice(x,y,z,u,v,w,[],[],5,'noarrows'); for ii = 1:leng...

1 year 前 | 0

| 已接受

已回答
How i add the button for the Time axis to user can change time in the given MATLAB App designer
The property you want to change is app.UIAxes.XLim. You could implement this with a ButtonPressedFcn callback (like you have don...

1 year 前 | 0

已回答
Creating Variable Names from Strings
As other users have stated, it is generally not advisable to dynamically generate variable names from a string using eval. Howev...

1 year 前 | 0

| 已接受

已回答
How to get Sharing Details in App Designer
When you go to package the app there is a field for the version number. When the app is installed, the user can view the ve...

1 year 前 | 0

已回答
Issues with EDF file data record duration
https://www.mathworks.com/help/signal/ref/edfread.html https://www.mathworks.com/help/signal/ref/edfwrite.html You will have t...

1 year 前 | 0

已回答
how MATLAB determines order of monitors
https://www.mathworks.com/help/matlab/ref/matlab.ui.root-properties.html#buc8_0n-MonitorPositions Can you share the values you ...

1 year 前 | 0

已回答
How to combine multiple .fig files into one .fig file?
https://www.mathworks.com/matlabcentral/answers/444601-copying-the-content-of-a-figure-to-another-figure

1 year 前 | 0

已回答
how to perform lag correlation between two spatial data?
If you input two matrices, A and B, into corrcoef, corrcoef will convert them into their vector representation equivalent to cor...

1 year 前 | 0

已回答
How to run standalone application from the folder where it is located?
cd yourLocalFolder; system("yourApp.exe") % If your app has additional inputs: system('"yourApp.exe" arg1 arg2') % If you ...

1 year 前 | 0

已回答
Error using function: Too many input arguments.
"net" is not configured for as many inputs as you are providing. You will either need to reduce your number of inputs or edit th...

1 year 前 | 0

已回答
If part of While loop not executing any functions
You're never entering the loop. You will only ever enter that loop if PF = 0 because isempty(PF) will always yield 0 if a value ...

1 year 前 | 0

已回答
Generating PDF or DOC Report from MATLAB App's Textbox Data and Graph
This is a fairly straightforward app that could just be implemented as a Live Script instead. From there it's as simple as expor...

1 year 前 | 0

已回答
Issue with MATLAB App Designer and Undefined Function Error
It is generally advised to keep all necessary code contained within the app when possible. I would recommend implementing your f...

1 year 前 | 0

| 已接受

已回答
Plot graph not shown
I would recommend tiledlayout instead. stackedplot seems to be dynamically resizing your plots, tiledlayout does not do this. Of...

1 year 前 | 0

已回答
How to reduce the execution time of the given piece of code?
The Profiler is the perfect tool for this. You will be able to see a thorough breakdown of the runtime of your code, and identif...

1 year 前 | 1

已回答
R2023b Silent Install Fails on Windows
https://www.mathworks.com/support/contact_us.html

1 year 前 | 0

| 已接受

已回答
Slow uiaxes interactions with app designer
Most of the delay you're seeing is due to the uifigure, not uiaxes. Using figure with uiaxes instead of uifigure should speed th...

1 year 前 | 0

已回答
how to close all apps simultaneously?
Generally, you can just use "delete" myHandle = myApp; delete(myHandle) I would recommend baking this into the "UIFigureClose...

2 years 前 | 0

已回答
How to select a specific cell in UITable?
[rows, ~] = find(value == UITable.Data) UITable.Data(r,:)

2 years 前 | 0

| 已接受

已回答
How to save parameter function in app designer?
If by "save the data" you just mean you want to store it for use within your current MATLAB session (within the App or outside),...

2 years 前 | 0

已回答
Help: How to use 'for' loop to plot multiple different values when using while loop for function?
If you're trying to avoid plotting on the same figure, you could move your "figure(1)" command into the "if" statement and place...

2 years 前 | 0

已回答
Adding Contour Lines to a 2D Surf Plot
Replace surf(A,B,C) with s = surf(A,B,C); From there you can use dot notation to access the properties of the surface objec...

2 years 前 | 0

已回答
How to modift gplotmatrix legend marker size?
https://www.mathworks.com/help/stats/gplotmatrix.html?s_tid=doc_ta#mw_f131a46d-17ee-4a14-a3b8-45d0317f69bc https://www.mathwork...

2 years 前 | 1

| 已接受

已回答
Several Y axis in the same plot
From the Discussions on File Exchange, it looks like you might jus thave to replace all the occurences of "colorord" with "Color...

2 years 前 | 0

已回答
How do I plot a direction field for x'=y and y'=-sinx?
% Define the range of x and y values x = linspace(-pi, pi, 20); y = linspace(-2, 2, 20); % Create a grid of x and y values ...

2 years 前 | 0

| 已接受

已回答
Storing data of the whole uitable into a variable
You can use public properties to access variables from an app outside of an app.

2 years 前 | 0

| 已接受

已回答
EEG data from Emotiv
First you need to construct a vector representing the time values associated with your data: t = (1:3200)/128; Then you can ...

2 years 前 | 0

已回答
edfwrite can not export my signal properly
You're on the right track thinking about the PhysicalMin, PhysicalMax, DigitalMin, and DigitalMax values. You need to specify th...

2 years 前 | 0

| 已接受

加载更多