Community Profile

photo

Allen


Last seen: 21 dagen ago Active since 2017

Statistics

All
  • Thankful Level 2
  • Revival Level 2
  • Cody Problems in Japanese Master
  • Strings II Master
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 2
  • Knowledgeable Level 4
  • 3 Month Streak
  • Number Manipulation I Master
  • Editor's Pick
  • First Review
  • First Submission

View badges

Content Feed

View by

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

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

ongeveer 2 maanden 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...

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

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

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

5 maanden ago | 0

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

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

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

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

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

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

10 maanden ago | 1

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

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

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

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

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

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

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

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

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

meer dan een jaar 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...

bijna 2 jaar 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...

bijna 2 jaar ago | 2

Answered
Remove unwanted data above the line
This can be accomplished using conditional indexing and reassigning values to the blue-line data. The following example assumes ...

bijna 2 jaar ago | 0

Answered
Findpeak from the graph in specific range
[pks, locs]= findpeaks((x2(90:120)),'Npeaks',1) In your above line of code, you are indexing x2 from elements 90 through 120 an...

bijna 2 jaar ago | 0

Answered
Dot indexing is not supported for variables of this type.
It appears that you are initializing a new variable M_ at the start of your code and by default it is just an empty double-class...

bijna 2 jaar ago | 0

Answered
Scanning a txt file
Mohamad, A solution to your question has been provided in an older thread. See the link below for more details. https://www.ma...

bijna 2 jaar ago | 0

Answered
Getting mean row vector from a cell array of row vectors of the same size
It is not entire clear to me what you are trying to average. However, if I am understanding correctly, the following example att...

bijna 2 jaar ago | 0

Answered
I want to save my figure in another path. Every time I used the command save figure it saved in Desktop how I can change it
If your filename does not indicate the filepath in front of the filename, then MATLAB used your default directory location to sa...

bijna 2 jaar ago | 0

| accepted

Answered
Passing input variables from .txt or .xlsx or .csv into MATLAB Standalone Application
Kevin, One approach would be to create a pushbutton object with a callback to browse and import data. The following callback ex...

bijna 2 jaar ago | 0

| accepted

Load more