Community Profile

Kevin Holly

MathWorks

Last seen: Today Active since 2021

.

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:

All

Content Feed

View by

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

5 days ago | 0

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

5 days ago | 0

| accepted

the code for a button to dilate and erode the browsed image

6 days ago | 0

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

9 days ago | 0

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

9 days ago | 0

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

13 days ago | 0

| accepted

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

13 days ago | 0

| accepted

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

14 days ago | 0

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

16 days ago | 1

| accepted

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.

16 days ago | 0

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

16 days ago | 0

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

16 days ago | 1

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

16 days ago | 0

| accepted

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.

16 days ago | 1

| accepted

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

17 days ago | 0

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

18 days ago | 0

How to perform inverse between a page of a 3D matrix and a column vector without loops?

18 days ago | 0

CSV or XLSX to write data
CSV would be faster.

18 days ago | 0

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

18 days ago | 0

| accepted

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

20 days ago | 0

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

20 days ago | 0

| accepted

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

20 days ago | 0

| accepted

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.

23 days ago | 0

| accepted

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

23 days ago | 0

| accepted

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

23 days ago | 0

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

24 days ago | 0

| accepted

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

25 days ago | 0