Statistics
RANK
421
of 300 338
REPUTATION
190
CONTRIBUTIONS
8 Questions
90 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
32
RANK
6 230 of 20 922
REPUTATION
185
AVERAGE RATING
5.00
CONTRIBUTIONS
5 Files
DOWNLOADS
11
ALL TIME DOWNLOADS
978
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How to add subscript in labels in App Designer Matlab
I am not sure what version it was introduced, but R2023b now includes an interpreter property for labels in App Designer. Use...
nästan 2 år ago | 0
the loop is not terminated it keeps on going
It is not clear why you initialize Diff as a vector whos size is equal to x. After you first compute Diff using the norm functio...
mer än 2 år ago | 0
Whats wrong with these two functions in my app?
The application property (error) that you are tyring to use is being created upon the start of the application, but you have fai...
mer än 2 år ago | 0
How can I infer from the data cursor position, the index of the closest datapoint
Julian, What you are asking for sounds very much like what the brush data tool does. However, there are a few extra steps requi...
mer än 2 år ago | 0
| accepted
Problem with 2 plots, one in not showing and second one is showing up empty.
Jana, For both examples you are only plotting a single set of scalar values (e.g. a point) during each interation of the for lo...
mer än 2 år ago | 0
| accepted
Ordering of an array based off conditions
You can perform sorting to a specified order using a categorical array. To do this you will need to restructure your original va...
mer än 2 år ago | 0
Read/Write CSV for Code Generation
There are a number of options for reading CSV files. The following functions are few that I use and differ many in the type of w...
mer än 2 år ago | 0
Multiplication of gigantic matrices
You can use datastores and tall arrays to work with large amounts of data. See references to both. https://www.mathworks.com/he...
mer än 2 år ago | 0
Question
How can I display numbers in scientific notation but in magnitudes of 3 and to 3 significant digits?
I am trying to display rounded values <double> in a uitable and would like do so concisely. Using scientific notation is great f...
mer än 2 år ago | 1 answer | 0
1
answerExpand a figure in a PDF file
Chris, Regular figures have several properties that allow you to control their size when converted to an image, and should work...
ungefär 3 år ago | 0
app-designer, rename variables
I am unable to find which version of MATLAB addressed and added this functionality to AppDesigner, but at least back to R2022a y...
ungefär 3 år ago | 0
App Designer - Plotting from Arrays
If the data type of your x and y variables is a double-array, then you are using the wrong syntax to access the data. Use parent...
ungefär 3 år ago | 0
Passing objects from app designer to the workspace
Though I would recommend using one of @Adam Danz's solutions since they are typically a safer method of passing data, assignin c...
ungefär 3 år ago | 1
| accepted
Matlab doesn't open a .mlapp file created in a different computer
It appears that the application is looking for an image file, possibly assigned to a one or more of your app objects. I have fou...
ungefär 3 år ago | 0
uigetfile called in app designer open the file dialog screen behind the calling .mlapp
@Smith Smith, you might try using uiopen in lieu of uigetfile. Otherwise, I would suggest reinstalling MATLAB.
ungefär 3 år ago | 0
How to use if condition inside for loop without breaking the loop?
@Adnan Barkat, it appears that your for-loop is functioning properly. However, you appear to be overwriting ser1 and ser2 during...
ungefär 3 år ago | 0
create a tab which appear before closing the GUI
@PA, I typically use something similar to the following. qstr = "Do you really want to close the Project without Saving?"; qan...
ungefär 3 år ago | 0
Counting Consecutive Threshold Crossings in a Signal (Counting Oscillations)
You can accomplish a check against a threshold using the following code or a slight variation to meet other needs. % Generating...
ungefär 3 år ago | 0
Change the value of a variable generated by app designer
Tim, Without reassigning the edit boxes to a seperate variable, editBox_# in this case, you can use something similar to update...
mer än 3 år ago | 2
How to formulate the following vector?
r = size(R,2); % Gets the number of rows in the array R % Creates a row vector 1:r and vertically concatenate with the last row...
mer än 3 år ago | 0
Create table in AppDesigner
You cannot define variables within the properties class section. You can only define your app's properties there. If you want to...
mer än 3 år ago | 1
| accepted
How can I resample a data with different frequency over the same period of time?
Their are a number of way to go about resampling. Here is a list of some useful functions to get the job done. resample, decima...
mer än 3 år ago | 0
How to Store a Series of Column Vectors from a for Loop in a Matrix
You can append new column data onto an existing array provided the heights are equal by concatenating the new vector onto the ol...
mer än 3 år ago | 0
homework M/M/1 Queue Problem matlab graph
If you need help with the very basics of MATLAB, please read the getting started documentation. However, their are several metho...
mer än 3 år ago | 0
How to make the postions of each circle random?
Just change your x0 and y0 variables to random value vectors and move them to within your primary for loop. % Set the random nu...
mer än 3 år ago | 0
Legend ItemHitFcn with multiple functionality using left- and right-mouse buttons
Simple detail overlooked in the legend ItemHitFcn callback documentation. 'alt' — Single-click right mouse button, both mouse b...
mer än 3 år ago | 0
| accepted
Question
Legend ItemHitFcn with multiple functionality using left- and right-mouse buttons
I use the legend ItemHitFcn frequently to toggle visiblity of specific lines, but would like to add a context menu to the legend...
mer än 3 år ago | 1 answer | 0
1
answerQuestion
Can the uiconfirm 'Cancel' response be used to directly stop the current callback?
I currently use the questdlg to solicit a user response, paired with an if-statement to stop callback execution. Below is a shor...
mer än 4 år ago | 1 answer | 0
1
answerI have a data set (matrix), having three columns, How can I find if this dataset follows a specific pattern or any relation exists?
Take a look at how to use MATLAB's cross-correlation function, xcorr. Depending on what specifically you are trying to determine...
mer än 4 år ago | 0
Creating an XY Scatter plot with ActX
The below method works similar to calling invoke, but does not expressly call the invoke function. There are also a few addition...
mer än 4 år ago | 3











