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

View badges

Content Feed

View by

Answered
trouble plotting curved line
I'm not sure what you are trying to graph. I don't know what the T and S variable are suppose to be. Here is a guess of what I t...

ungefär 6 timmar ago | 0

Answered
i got a question regarding showing the after picrute on app designer
I answered this here: https://www.mathworks.com/matlabcentral/answers/1869472-hi-guys-how-should-i-fix-i-this-code-error-its-su...

ungefär 10 timmar ago | 0

Answered
hi guys how should i fix i=this code error its supposed to be changing an image to gray scale mind u this is in app designer
Have you tried using im2gray instead of rgb2gray?

ungefär 14 timmar ago | 0

Answered
can someone write the line code that checks if the image is rgb and convert it to gfrayscale
If you want a quick fix you can do the following: try rgb2gray(Image) catch disp("Error using rgb2gray") end or yo...

ungefär 14 timmar ago | 1

Answered
How to do math using datetime objects including years
date_obs = '22:179:18:42:44.610'; j2000date = '2000:001:12:00:00.000'; formatOut = 'uu:DDD:HH:mm:ss.SSS'; % ...

ungefär 14 timmar ago | 0

| accepted

Answered
I want to use the two buttons and have the text field change once a folder is selected. Then have the figures and the jpg's save to those respective folders.
Add property variables properties JPEGSaveLocation MATLABFigureSaveLocation end add Callback to "JPEG Save Location...

ungefär 15 timmar ago | 0

| accepted

Answered
I want to put multiple plots on a graph but be able to turn on and off the visibility for a few plots
Create a property variable properties p end Define that property value (do so in startup function or in callback functio...

ungefär 15 timmar ago | 0

Answered
Using mouse button to get lat long coordinates
the inputm function does not work with geoaxes. Try using ginput instead. [lat, long] = ginput(1);

ungefär 15 timmar ago | 0

| accepted

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

en dag ago | 0

| accepted

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

en dag ago | 0

| accepted

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

en dag ago | 0

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

4 dagar ago | 0

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

17 dagar ago | 0

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

17 dagar ago | 1

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

17 dagar ago | 0

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

26 dagar ago | 0

| accepted

Answered
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])

27 dagar ago | 0

| accepted

Answered
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);%...

27 dagar ago | 1

| accepted

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

27 dagar ago | 0

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

27 dagar ago | 1

| accepted

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

27 dagar ago | 1

| accepted

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

28 dagar ago | 0

| accepted

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

28 dagar ago | 1

| accepted

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

28 dagar ago | 0

| accepted

Answered
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)

28 dagar ago | 0

| accepted

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

29 dagar ago | 0

| accepted

Answered
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)

29 dagar ago | 0

| accepted

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

29 dagar ago | 0

| accepted

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

29 dagar ago | 1

| accepted

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

29 dagar ago | 1

Load more