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

casi 6 años hace | 1

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

casi 6 años hace | 0

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 1

Enviada


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

casi 6 años hace | 546 descargas |

5.0 / 5
Thumbnail

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 1

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 1

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 3

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 1

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

Cargar más