photo

Allen


Last seen: 9 months ago Active since 2017

Followers: 0   Following: 0

Professional Interests:
App Building, Fourier Analysis and Filtering, Signal and Data Processing, Seismology, Mechanical Engineering

Statistics

All
  • Thankful Level 2
  • Revival Level 2
  • Cody Challenge Master
  • Matrix Manipulation I Master
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 2
  • Strings I Master
  • Cody Problems in Japanese Master
  • Knowledgeable Level 4
  • 3 Month Streak
  • Strings II Master
  • Number Manipulation I Master

View badges

Feeds

View by

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

11 months ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year 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...

2 years ago | 1 answer | 0

1

answer

Answered
Expand 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...

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 2

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years 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...

2 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Answered
I 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...

3 years ago | 0

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

3 years ago | 2

Load more