Answered
Problem in plotting to the appdesigner UIAxes and showing error Reference to non-existent field 'UIAxes'.
The first thing the LoadFileandprocessFIDButtonPushed does is delete its inputs (yikes!!). There almost never a reason to use...

1 month ago | 0

| accepted

Answered
convert point from color map / color bar to color vector
Background info scatter & scatter3 use the axes' colormap along with the color axis limit (caxis|ax.CLim) to set the color of t...

1 month ago | 0

| accepted

Answered
trying to pad smaller table to larger table
Padding & horizontally concatenating tables As of r2020b, padarray does not support table inputs. Use outerjoin() to horizonta...

1 month ago | 0

| accepted

Answered
ROI deleted event listener
Use onCleanup to define a function that is evoked when the ROI is deleted. Store the onCleanup handle within the object. Demo: ...

1 month ago | 1

Answered
Screenshot entire window in AppDesigner
Starting in Matlab r2020b, you can take snapshots of an app / uifigure using the functions below. See demos: https://www.mat...

1 month ago | 0

Answered
Saving the application (Appdesigner) together with provided inputs
"I want to provide a button in the program such that it saves the program together with selected options and provided inputs." ...

1 month ago | 0

| accepted

Answered
How to continue for loop if file not found?
First, "file_path" should be filepath to match the pre-defined variable name 3 lines above. Second, if the filepath does not e...

1 month ago | 0

| accepted

Answered
Why cant i see my radiobuttons ?
From the documentation, Setting Property Units Note that if you are setting both the FontSize and the FontUnits properties in...

1 month ago | 0

| accepted

Answered
How can i merge several subplot in one figure
It looks like you might be using a stackedplot which currently doesn't support adding objects to the axes after the plot is crea...

1 month ago | 0

| accepted

Answered
How do I calculate an exponentially weighted moving mean?
"At the moment, is it just adding a weight to all of the elements and then finding the moving mean? " From the documentation, ...

1 month ago | 0

| accepted

Answered
Copy an independant figure to panel in app designer
You have to copy all desired objects from the figure listed in the figure's "children" property. Here's a demo that copies al...

1 month ago | 0

| accepted

Answered
Vector to one cell in excel
As dpb mentioned, you'll have to convert those vectors to strings. C = {[0 1 1 0 0 1], [0 1 1 1], [0 0 0 0], [1], [1 1 1 1 ]};...

1 month ago | 0

Answered
Plot appearing in new figure?
The Slider.ValueChangedFcn function is invoked by the slider and calls createSurfCylinder(). That's where the additional figure...

1 month ago | 0

| accepted

Answered
Trying to Plot cell array data
"What I am trying to do is create a sort of bar graph that has the left most point of the bar start at first value (0.5) in the ...

1 month ago | 0

| accepted

Answered
How to form an array with the input values
The use of input() to collect data from a user is highly unconstrained and gives you, the programmer, very little control over t...

1 month ago | 0

| accepted

Answered
How to display repeated sequence of answer of conversion in a single msgbox?
Demo: msg = {'First line','Second line', 'Third line'}; msgbox(sprintf('%s\n',msg{:}))

1 month ago | 0

Answered
How to insert a Data Cursor on a specif location from command ?
Update: as of r2019b you can use datatip(__) to programmatically place a data tip. Demo: fig = figure(); ax1 = subplot(1,2...

1 month ago | 0

Answered
How to set data cursor to max value programically?
Update: as of r2019b you can use datatip(__) to programmatically place a data tip. Demo: fig = figure(); ax1 = subplot(1,2...

1 month ago | 0

Submitted


getDataTips - Get data tip text and handles
Extract data tip text and handles.

1 month ago | 2 downloads |

Thumbnail

Answered
clusterization of data in 1-D vector
There are lots of alternatives. Input A is a vector of 1s and 0s. n is minimum number of 0s between 1s separate groups of 1s....

1 month ago | 0

| accepted

Answered
Mean of Normal Distribution
"Is there any way to apply the function to all columns?" Yes, use varfun(), assuming the table contains all numeric values. mu...

1 month ago | 1

| accepted

Answered
Topography in a pcolor graph
The types of graphics objects that can be plotted to geographic axes are limited. For wind velocity, quiver arrows would be nic...

1 month ago | 0

| accepted

Answered
Binning/Sorting 3D data sets
Excluding reading-in the data (first line), this entire solution takes about 0.25 seconds which is 845 times faster than the ori...

1 month ago | 0

| accepted

Answered
While loop problems finding lowesst value
"I dont understand whats wrong with my code" Let's go line-by-line. odd = rem(x, 2) ~= 0 Odd numbers are whole numbers. rem...

1 month ago | 0

Answered
How do you store input to a list?
Store responses in a cell array n = 5; %number of questions you're asking response = cell(n,1); ecprompt='Counts of Equati...

1 month ago | 0

Answered
Boxplot with multiple figures
Turn the first input into a vector, boxplot([HAL; one2three],group); % ^ or use a matrix without a grouping variab...

1 month ago | 0

| accepted

Answered
How to get index and color matrix from Data cursor
"Is there a way to get the index and color matrix to the workspace?" Here are 5 methods. Method 1: use getDataTip getDataTip...

1 month ago | 1

| accepted

Answered
Function requires more inputs
"I need MatLab to sum the w values one at a time until it reaches the last and 5th w value" B = cumsum(w) "...as well as multi...

1 month ago | 0

Answered
if it is greater than 75 percent missing data
Here's an approach you can apply to your data, % Create a table of year-month-day-hour-min-second-rain data with some of the h...

1 month ago | 0

Answered
How to created a dashed box around a specific set of data on a plot
Use rectangle('Position',pos) to draw a rectangled within a subplot. The labels in subplot #6 are not appearing because you're...

1 month ago | 0

Load more