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

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

5 years 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, ...

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

5 years 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 ]};...

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

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

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

5 years 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{:}))

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

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

5 years ago | 1

Submitted


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

5 years ago | 2 downloads |

5.0 / 5
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....

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

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

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

6 years ago | 1

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

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

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

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

6 years ago | 3

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

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

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

6 years ago | 0

Answered
Tiledlayout issues: colorbar title and spacing
"At first, it seemed like a good solution to some of the difficulties with subplot, but I'm finding it comes with it's own diffi...

6 years ago | 1

| accepted

Answered
Scatterhist function not allowing for boxplot on the y-axis to stay
It looks like you're trying to add a boxplot to the y-historgram axes. Recall that the y-histogram in scatterhist is reversed. ...

6 years ago | 0

Answered
How to put a boxplot on a scatterplot/histogram?
scatterhistogram() is its own class and does not provide access to its axes. Instead, use the older scatterhist(). It's output...

6 years ago | 0

Answered
Data points in regression with different colors and shapes
Since you collapsed M into a column vector using M(:) and Y apparently has the same size and shape, then your linear model has 1...

6 years ago | 0

| accepted

Answered
How to display data on plot without overlapping displayed data.
You could rotate the text to 45 degrees (or any angle) using text(___, 'rotation',45)

6 years ago | 1

| accepted

Answered
Avoiding loops in bootstrap
Bootstrapping is an iterative process. Even if you use a method that doesn't require you to write a loop, the functions you're ...

6 years ago | 0

Answered
How to remove the sec from the time when Timetable writing to .txt file?
Convert timetable to table using T = timetable2table(TT) Convert the duration column using S = seconds(X) Write that table usi...

6 years ago | 0

| accepted

Load more