Community Profile

photo

Kevin Holly

MathWorks

Last seen: Today Aktiv seit 2021

.

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:

Statistics

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Thankful Level 3
  • 12 Month Streak
  • Quiz Master
  • Creator
  • Personal Best Downloads Level 1
  • 5-Star Galaxy Level 1
  • Knowledgeable Level 5
  • Pro
  • First Submission
  • GitHub Submissions Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
How to use a edit box on a GUI
Add a callback to the ninth_button that reads the value in the 'eighth_button' edit field and places it as an input to the walk ...

etwa eine Stunde vor | 0

Beantwortet
Defining the Parent location of a UIAxes plot
remove ax = gca; %This creates a new axis when there isn't an axis in a figure window. Edit: This line isn't needed in for l...

etwa eine Stunde vor | 0

Beantwortet
Empty plot returning when I try to graph
%sigmayy along theta = 0 degrees for ii = 1:10; for jj = 1:10; x = ii/1000; y = (jj-500)/1000; xtip = x - ...

etwa 2 Stunden vor | 0

Beantwortet
How do you apply an image threshold and track a centroid in a video?
You can use VideoReader. Here is an Example reading a video file. Edit: As for calculating the velocity, you can make your Ce...

3 Tage vor | 0

Beantwortet
why do i get this error as no enough input arguments
I just ran the code without getting an error. x = 10*rand(4,2) [J,distinct_d] = jd(x,1) function [J,distinct_d]=jd(X,p) ...

16 Tage vor | 0

Beantwortet
how to create zero column matric and row in beginning of the matrix
m = rand(6) new = [zeros(8,2) [zeros(2,6);m]]

16 Tage vor | 1

Beantwortet
replace nan in a matrix with specific values
Can you give clarity to what you want? To me, it sounds like you want something like this: f = [1 2 3 2; 4 5 6 1; 7 8 9 2]; f(...

16 Tage vor | 0

Beantwortet
Calculating mean and variance , iris dataset
Is there a reason why you aren't using the mean and var function? load fisheriris a=meas(1:50,1:end); means = mean(a) totalv...

25 Tage vor | 0

| akzeptiert

Beantwortet
Could anyone help me out in finding frequency of data using excel file and later finding the row having maximum frequency?
t = readtable('frequency.xlsx') t.Sum = sum(table2array(t(:,2:end)),2) [maxvalue, Index] = max(t.Sum) t(Index,[1 end])

25 Tage vor | 0

| akzeptiert

Beantwortet
Finding sum of intensity in each frame of tif stack image
[filename, folder] = uigetfile('*.tif*'); Image_info = imfinfo(fullfile(folder,filename)); num_images = numel(Image_info);%...

25 Tage vor | 1

| akzeptiert

Beantwortet
How to write a for loop to add to a label
t = array2table(rand(3,3)); t.Properties.VariableNames = {'arm','leg','foot'} for ii = 1:length(t.Properties.VariableNames) ...

25 Tage vor | 0

Beantwortet
Matlab app designer header icon/favicon problem
You can change it in App Designer by highlighting the uifigure (this case called app.UIFigure) under the component browser. Then...

25 Tage vor | 1

| akzeptiert

Beantwortet
How to include labels to a plot?
force = 30; displacement = [10 20 30 40]; cases = ["This is case 1" "This is case 2" "This is case 3" "This is case 4"]; p...

25 Tage vor | 1

| akzeptiert

Beantwortet
Which units does viscircle use
I believe it is based on the coordinates of your axes. If you have an image, it would be pixels.

26 Tage vor | 0

| akzeptiert

Beantwortet
plot with for loop
Here is how to do a for loop: main_folder = pwd;%uigetdir; subfolder = 'foldername'; % Making up values so I can show previ...

26 Tage vor | 1

| akzeptiert

Beantwortet
Zoom in on a logarithmic axes
You can add Listeners as shown below. %% Parameters n_timepnts = 500 ; % Number of time points n_freqs...

26 Tage vor | 0

| akzeptiert

Beantwortet
How to change image size from 224 x 224 x 1 to 224 x 224 x 3
Img = rand(224,224,1); imshow(Img) new(:,:,1) = Img; new(:,:,2) = Img; new(:,:,3) = Img; imshow(new) size(Img) size(new)

27 Tage vor | 0

| akzeptiert

Beantwortet
Is it possible to change the type of a component in App Designer?
You could copy&paste the callback function of the edit field to that of the new spinner. You could rename the new spinner within...

27 Tage vor | 0

| akzeptiert

Beantwortet
How to add constant values above and below of each columns of a matrix?
VP = rand(100,106); extra50 = rand(50,106); NewVP = [extra50;VP;extra50]; size(VP) size(NewVP)

27 Tage vor | 0

| akzeptiert

Beantwortet
Change app designer default launch image
When you compile the app, you can select a custom splash screen. See more info here.

27 Tage vor | 0

| akzeptiert

Beantwortet
Can we add a vertical slider to trace points in a linked axis plot?
You could use stackedplot.

27 Tage vor | 1

| akzeptiert

Beantwortet
How do I plot lines/points on top of a heatmap?
1. The left and bottom variables in this code represents the coordinates of the bottom left portion of the heatmap graphic. To a...

28 Tage vor | 1

Beantwortet
How to import a .xlsx file specified as filename and save it a .mat
You can use uigetfile function. If you want to load multifiles, you can use the input 'MultiSelect' and set it to 'on'. You can ...

28 Tage vor | 0

Beantwortet
Calculating a new 3D point to align ocular implants in patient after orbital resection using facial landmarks
Here is a start. I found the euclidean distance between the new point and the other four points. I'm not sure what ratio constr...

28 Tage vor | 0

Beantwortet
How to show a polar plot (Azimuth Pattern - Antenna) in MATLAB App Designer?
You can create a Panel and place the entire polaraxes in there with the following: h = gca; h.Parent =...

28 Tage vor | 0

| akzeptiert

Beantwortet
How to specify a parent UIplot for the plots that the bayesopt() funtion provides
I can think of a way of placing data into the app's UI once the bayeopt function has run. You could then immediately close of th...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
how can i plot stft in app designer
Below is a workaround to get the stft plot into your UIAxes. Please see app attached. freq= 30; [y,Fs]...

etwa ein Monat vor | 0

Beantwortet
Export part of Matlab app as Image
You can try Img = getframe(app.UIFigure) Img = Img.cdata imwrite(Img,'filename.png') or Img = getframe(app.UIAxes) Img = I...

etwa ein Monat vor | 1

| akzeptiert

Beantwortet
UIAxes Data Tip interaction
You could change line 450 in datacursormode from setptr(gcf,'datacursor') to setptr(gcf,'circle') or just comment out the l...

etwa ein Monat vor | 0

| akzeptiert

Beantwortet
Maximum value of matrix
% Generate random matrix N = 34; M = 23; A = rand(N,M); % Sort from highest to lowest values = sort(abs(A(:)), 'desce...

etwa ein Monat vor | 0

| akzeptiert

Mehr laden