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 2022 Participant
  • MATLAB Mini Hack 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
How to load the images using the code approach
1. properties folder filename end % Call back for pushbutton to load image [app.filename, app.folder] = uigetf...

2 days ago | 1

| accepted

Answered
Hi, I am coding something in the app designer. I have tried it a test script and it worked fine but when coding into the app, there seems to be an error . Please Help !
You were not defining your property variables unless the editfields were changed. I added a startup function that pulls the valu...

2 days ago | 0

| accepted

Answered
How to use tree function from App designer to trigger a map/plot on and off
Have you tried cla? You can obtain this information from the axes handle. See below. Notice handle is saved as variable h. Us...

8 days ago | 0

Answered
I have a problem with solve command
The format you are using is no longer supported. Please see documentation for solve. syms x syms y syms z [x,y]=solve(3.*x-...

8 days ago | 0

| accepted

Answered
the code for a button to dilate and erode the browsed image
tala, Please see the app attached. Let me know if this example answers your question.

9 days ago | 0

Answered
App Designer: Multiwindow Apps Issue
Instead of deleting an app, I just make the uifigure invisible, so that I can keep each app's property variables. You can downl...

12 days ago | 0

Answered
Help with Simplifying repetitive code
If you have your variables as columns in a table, you could do something like this: t=table; t.RIC = rand(14,1); t.RLT = rand...

12 days ago | 0

Answered
How to create two-dimensional boxplots
x = rand(1,30); y = rand(1,30); tiledlayout(1,2) nexttile scatter(x,y,'filled','r'); nexttile boxchart(median(y)*ones(size...

16 days ago | 0

| accepted

Answered
Matrix processing problem; creating new matrix
matrix = [0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0]; if matrix(1,1) output1 =...

16 days ago | 0

| accepted

Answered
How can i transfer data from Matlab to Excel?
If you have data in a UITable and want to save it to a spreadsheet, you could create a callback function for a pushbutton to sav...

17 days ago | 0

Answered
Why the result does change when ı add other rows in Matrix?
It is giving the correct result. It is just rounded. I changed format to long below. l_1=600; A= 48.6; K = [12, 6*(l_1), -1...

19 days ago | 1

| accepted

Answered
so in appdesigner im building a list box to turn the image to (red ,blue ,green) this is my code for it bout it wont run
Based on the red squiggly line under Methods in your screenshot, you may have an extra "end" in your code.

19 days ago | 0

Answered
how can I plot an increase and decrease in tempearture as x-axes (i.e. from 25 to 700, 700 to 500 all on x-axes), agains different y-axes
Did you want something like this? load A yyaxis left plot(A.T_bred,A.O2); yyaxis right plot(A.T_bred,A.CO2);

19 days ago | 0

Answered
How to generate the hsv cone graph using Matlab?
Here is a starting point. I made some modifications from this code: https://stackoverflow.com/questions/3339692/modeling-hsv-co...

19 days ago | 1

Answered
Hue in HSV Color Space
The max angle is 360 degrees. So, divide your angles by the maxium value to obtain a fraction of 1. [0, 90, 180, 270]/360

19 days ago | 0

| accepted

Answered
Why I can't add a new property?
You can add a property by clicking "Property" on the toolstrip under the Editor tab within App Designer.

19 days ago | 1

| accepted

Answered
I need help with this app designer code
Place an end after your switch case.

20 days ago | 0

Answered
Please help, I don't understand the error. How I can make it correct?
The line here need to be fixed: ndataSIR=20*[0 randn(0,width,[1,numpts]); 0 randn(0,width,[1,numpts]); 0 randn(0,width,[1,nump...

21 days ago | 0

Answered
How to perform inverse between a page of a 3D matrix and a column vector without loops?
load H.mat load A1.mat size(H) size(A1) answer = H.\A1; size(answer)

21 days ago | 0

Answered
CSV or XLSX to write data
CSV would be faster.

21 days ago | 0

Answered
how can I add noise to an image using the Slider
See app attached. Let me know if you have any questions.

21 days ago | 0

| accepted

Answered
Determine what UI Object Called a Context Menu
Could you create a property variable that stores the handle of the last clicked listbox? something such as: properties ...

23 days ago | 0

Answered
I have an satellite image and I want to extract the information from ROI of image?
Note, I used Computer Vision Toolbox below. Capture_img = imread('Capture.jpg'); Picture1_img = imread('Picture1.png'); imsho...

23 days ago | 0

| accepted

Answered
How to remove rows with specific number and column in table?
t=table; t.Num = round(4*rand(814,1)); sum(t.Num==0) randhalf = (t.Num==0).*rand(size(t.Num)) randhalf = randhalf>.5 % chang...

23 days ago | 0

| accepted

Answered
How to let the user input an excel file (i.e .csv file) and array in MATLP APP Designer
Attached are two examples of apps opening Excel files.

26 days ago | 0

| accepted

Answered
How to count pixels/measure area in binary image?
img = imread("sample.png"); img = im2bw(img); imshow(img) se = strel('sphere',15);; circles=imopen(~img,se); imshow(circles...

26 days ago | 0

| accepted

Answered
How to extract character and number only from this image to .txt?
You could use the optical character recognition (ocr) function that comes with the image processing and computer vision toolbox ...

26 days ago | 0

Answered
How to avoid overwrite in excel in apps designer
You can change the write mode as such: writecell(tab,fullfile(selectPath,filename),'WriteMode','append');

27 days ago | 0

| accepted

Answered
How to detect if passed handle is a handle to an App Designer Application
metaclass(app).Description Should return 'Properties that correspond to app components' if it is an app. where the input "app"...

28 days ago | 0

Load more