Community Profile

photo

Kevin Holly

MathWorks

Last seen: Today Active since 2021

.

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:

Statistics

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • 12 Month Streak
  • Thankful Level 2
  • Creator
  • Promoter
  • 5-Star Galaxy Level 1
  • First Submission
  • Knowledgeable Level 5
  • Pro
  • GitHub Submissions Level 1
  • Revival Level 1

View badges

Content Feed

View by

Answered
How do you remove non-integer values from a colorbar?
Let's say this is an image with a colorbar with non-integer values: Img = randi(255,25); imagesc(Img) h=colorbar; h.Ticks = ...

9 días ago | 1

Answered
How to work with the current point feature in app designer?
Please see the app attached with the script for the callback function. Let me know if this addresses your problem. Note, I also...

10 días ago | 0

Answered
How to show data in a textField on app designer?
It should be app.TextArea.Value = "testing";

11 días ago | 0

| accepted

Answered
3D shape for rabbit
That is the Stanford Bunny. Available for download here: http://graphics.stanford.edu/data/3Dscanrep/

11 días ago | 1

Answered
Trying to Customize a heatmap color bar and thresholds
m=30*rand(30)-15; surf(m,'FaceColor','interp') cmap = [1 0 0; 1 1 1;1 1 1; 1 1 1; 1 1 1; 0 0 1]; colorbar caxis([-15 15]) ...

17 días ago | 0

| accepted

Answered
How to change folders in MATLAB App Designer ?
pwd gives the present working directory. The code saves it as aux_dir. aux_dir = pwd The line below appends aux_dir with the s...

17 días ago | 0

Answered
Axes box incompletely copied to clipboard
Have you tried getframe? h = getframe(hax) Image = h.CData; You can save the Image to PowerPoint as shown below (Note, you wi...

22 días ago | 1

Answered
How to match colorbar with colormap ranges in surf?
io_V1_mat=linspace(1000,100000,10); RL_mat=linspace(1000,1000000,10); VL=[2000*rand(10,4) 5000*rand(10,6)]; surf(io_V1_ma...

22 días ago | 0

| accepted

Answered
Export images and PDF in App Designer
If you have the image displayed on an axes, you can do the following: h=getframe(app.UIAxes) h.cdata If you want to make a re...

22 días ago | 0

Answered
Passing arguments between 2 standalone apps
Please see the links below: Create Multiwindow Apps in App Designer Share Data in Multiwindow Apps For an example, see one of...

23 días ago | 0

Answered
How to get the current Axes.View after using rotate3d interaction in MATLAB appdesigner?
Please see the attached app and scripts. I created a .m file for each callback function. Let me know if you have any questions. ...

23 días ago | 0

Answered
how can I plot the following graph
z = linspace(1,3500,100); n = 3000*rand(100,5); date = {'05-Mar';'12-Mar';'19-Mar';'26-Mar';'02-Apr'}; f=figure; axes("YDi...

alrededor de 1 mes ago | 0

Answered
Add data tips to figure using code
figure img = rand(800,1000); h = imagesc(img); d = datatip(h); d.DataIndex=353*800+355; d.Location = "northwest"; d2 = d...

alrededor de 1 mes ago | 0

| accepted

Answered
How to scatter plot when the values are i.e 1,1 and 1,10 grid
What do you want on your y and x axes? sparams.frequency_GHz = 10*rand(41,16); delta = rand(41,16); This one separates the ...

alrededor de 1 mes ago | 0

| accepted

Answered
How to export data and plot from app designer to excel?
Please see the app attached. You can use writetable to save your data to an Excel file. You can use xlswritefig found on the Fil...

alrededor de 1 mes ago | 0

| accepted

Answered
Preview in MATLAB GUI
Please see Previewing Data in Custom GUIs. You can use the command: preview(vid, hImage); where hImage is the handle to the i...

alrededor de 1 mes ago | 0

Answered
Previous legend replaces the new one in a plot, why?
Were you changing the location of the legend as shown below? I made a quick app (attached) using the approach below. plot(rand(...

alrededor de 1 mes ago | 0

Answered
Matching the two columns of two different tables and to combine the common values in second table.
You can use innerjoin or join. See Join Tables.

alrededor de 1 mes ago | 0

| accepted

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 1 mes 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 1 mes 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 1 mes 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 1 mes 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 1 mes 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 1 mes 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 1 mes 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 1 mes 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 1 mes ago | 0

| accepted

Load more