Answered
highlighting a section of a plot
Here is another approach using area function. x = linspace(500, 4000); y = sin(x); Note, this is only one point, so I illustr...

alrededor de 1 mes ago | 0

Answered
Algorithm to identify certain peaks at certain loation is a graph
You can get the values and index of the peaks and apply the x and y thresholds as shown below: plot (x,y,t,D); [v,idx]=findpea...

alrededor de 1 mes ago | 1

| accepted

Answered
My App does not plot the data i read, why?
You need to get rid of clear on line 60. This removes the uicomponents from the "app" variable. This prevents you from plotting ...

alrededor de 1 mes ago | 0

| accepted

Answered
How do I Save all the Variables in the Workspace.
save('filename.mat','-mat')

alrededor de 2 meses ago | 0

| accepted

Answered
How to group different values in an array?
t = table; t.intensityofcostcomposition = ["10.0,64.0,NaN"; "15.0,160.0,290.0"; "15.0,160.0,320.0"; ...

alrededor de 2 meses ago | 0

| accepted

Answered
Mouse position events app designer
If you want a blue outline on an uiaxes, you could enter the following in the start up function: set(app.UIFigure, 'WindowButto...

alrededor de 2 meses ago | 0

Answered
Interpolate points between two coordinates
Since you are doing linear interpolation, you can just use the linspace function. A = [1,7]; B = [6,1]; N = 5; % You can chan...

alrededor de 2 meses ago | 1

| accepted

Answered
Start Stop button group not working
The function works for me. pause and play are displayed in the command window. Please see testpauseplay app attached. If you ...

alrededor de 2 meses ago | 0

Answered
Visual 3D coordinate map interactive data Toolbar Settings in APP Design
Zy, Unfortunately, brush is not supported in compiled apps.

alrededor de 2 meses ago | 0

| accepted

Answered
'Exceedes array bounds' In Matlab App
Have you tried debugging the line app.LoadedDataTable.Data = app.DATA(1:15,[1:4,13]); I would check the size of app.DATA I be...

alrededor de 2 meses ago | 0

Answered
Move through slices in 3 D plot matlab?
You could make a slider that changes the variable xslice xslice = 0.5; X = rand(10000,1); Y = rand(10000,1); Z = rand(1000...

alrededor de 2 meses ago | 0

Answered
How to extract year, month, day from character vectors?
var =['1970/01/01' '1970/01/02' '1970/01/03' '1970/01/04' '1970/01/05' '1970/01/06'] % I want to make you aware of Datetim...

alrededor de 2 meses ago | 0

| accepted

Answered
How to hide data in a UITable ?
You could do this workaround: paramD = struct('name',"frequence",'unite',"GHz",'nb',numel(freq),'liste',{freq,0},'scattering',s...

alrededor de 2 meses ago | 0

| accepted

Answered
App Designer: Standalone Desktop App is not enabled. How to activate?
Do you have a MATLAB Compiler license? You will need this to create a Standalone Desktop App or Web App.

alrededor de 2 meses ago | 0

| accepted

Answered
Can we plot horizontal boxchart?
You can add the option 'orientation','horizontal' to your input for boxchart or boxplot. See examples below. load carsmall f...

alrededor de 2 meses ago | 0

Answered
index exceed the number of arrays elements
Collective = rand(1,124); single = rand(1,393); length_collective=length(Collective) %equals to 124 length_single=length(sing...

alrededor de 2 meses ago | 1

| accepted

Answered
Request certification and invoice
Please contact Customer Service at service@mathworks.com or via phone 508-647-7000, option 2.

alrededor de 2 meses ago | 1

Answered
How can I use WindowButtonMotionFcn in an app?
Matt, I cleaned up your code and changed the Get_Mouse_Location callback in line 110 (see attached). I got rid of the global ...

alrededor de 2 meses ago | 0

| accepted

Answered
Cannot Change UIFigure (App) Size Programmatically In 2022a
ILoveMATLAB, I could not replicate your issue. I created an app in R2019b that change the size of UIFigure and then converted...

alrededor de 2 meses ago | 0

| accepted

Answered
How to make this string a = '(0 0 0)' into a double b = [0 0 0]?
a = '(12 2.8 1.22)' a = strrep(a,')',']'); a = strrep(a,'(','['); b = str2num(a)

alrededor de 2 meses ago | 0

| accepted

Answered
Add User Text Input to Next Line in Table via Button Push in App Designer
Please see the app attached and the code below: methods (Access = private) % Code that executes after component ...

alrededor de 2 meses ago | 0

| accepted

Answered
Trigger event callback from another event callback
You can simply write CheckedNodesChangedFcn(app) within the 'ButtonPushedFcn' callback

alrededor de 2 meses ago | 0

| accepted

Answered
Histogram or bar graph with greater than bin?
Below is a workaround. a=260*rand(1,252); p=histcounts(a,"BinWidth",10,"BinLimits",[0,250],"Normalization","pdf"); figure ...

alrededor de 2 meses ago | 0

Answered
how do i put different symbols for 1 matrix in plotting?
av = rand(4,15); plot(1:size(av,2),av(1,:),'rd',1:size(av,2),av(2,:),'cs-',1:size(av,2),av(3,:),'*b:',1:size(av,2),av(4,:),'hg-...

alrededor de 2 meses ago | 0

Answered
problem in creating plot from for loop
for t = 1:10 vs(t) = 3*exp(-t/3)*sin(pi*t); %changed vs to vs(t) so it creates a vector array instead of just replacing ...

alrededor de 2 meses ago | 0

Answered
where is the fault the code is not running?
clc close all lags = 0.6; k1 = 3; k_1 = 1; k2 = 2.5; k3 = 1; k_3 = 1; k4 = 2; k5 = 1; E1 = 1; E2 = 2; K1 = (k_1+k2)/...

alrededor de 2 meses ago | 0

| accepted

Answered
Optimization plot in App Designer
You could get the handle of the axes and transfer the children to the uiaxes in your app. See example code below: fun = @(x)100...

2 meses ago | 0

Submitted


Rodent-Tracker
Rodent Tracker tracks the movement of a rodent in overhead view videos that have a contrasting background.

2 meses ago | 12 downloads |

Thumbnail

Answered
Slider values from an specific column appdesigner
See app attached. You can add the following: app.MPSlider.MajorTickLabels = categorical(app.Data(app.MPSlider.Maj...

2 meses ago | 0

Answered
How to binarize an image using spinner in app designer?
You do not need to define the spinner values like you did here: app.minRedValue = app.MinRed.Value; You can just access the va...

2 meses ago | 0

| accepted

Load more