Community Profile

# Kevin Holly

### MathWorks

Last seen: Today Active since 2021

.

Spoken Languages:
English

All

#### Content Feed

View by

Find rising and falling point
Do you need to know how to find those points given the raw data in a single vector array? If so, see approach below. Find the...

4 Tage ago | 0

| accepted

how can I plot a graph over an image in Matlab?
Load Example Image exampleimage = imread('peppers.png'); Flip the image vertically (y-axis direction will be flipped verticall...

4 Tage ago | 0

| accepted

App designer tab groups insert a fig
Please see that attached app. Also see the example here. Let me know if these answer your questions.

10 Tage ago | 0

How to use the same directory for all functions in app designer?
You could have the app load the directory files into a dropdown box after selecting a particular file as shown in the example at...

10 Tage ago | 0

Remove excess delaunay triangulation

12 Tage ago | 0

Refine delaunay triangulation mesh
I was able to increase the density using the subtri() function upload by Kevin Moerman to the File Exchange. ImgClosed = imread...

12 Tage ago | 0

Convert table to array and back to table
A = randi([1 10],5,3) T = array2table(A,'VariableNames',{'Feet','Inches','Centimeters'}) Header = T.Properties.VariableNames...

13 Tage ago | 0

| accepted

Saving data in excel from the plot using Appdesigner
Sushmita, Please see the app attached. Note, you can create a save button and then create a callback that calls the menu's sa...

13 Tage ago | 0

| accepted

Checking if columns of matrix are equal to some array
T=5 data = randi([0 1],8,T) template = [0 0 1 0 0 0 1 0] data(:,4) = [0 0 1 0 0 0 1 0]; for t = 1:T test_column = dat...

13 Tage ago | 1

Reading in excel file with multiple sheets into a cell array using readtable
You need to use curly brackets. Please see below. n=5; %no. of excel sheets excel_data=cell(n,1) %initialising the cell array ...

13 Tage ago | 0

| accepted

app designer does not allow web app share

18 Tage ago | 0

Plot data based on selection in list in appdesigner
Roman, Please see the app attached. I believe this should help. Let me know if you have any questions about the app.

18 Tage ago | 0

3d object rotation
Keep you axes limits consistent. That should help when viewing. figure erad = 6000; prad = 6000; npanels = 180; hold on; a...

18 Tage ago | 0

| accepted

Use table row as input for a new table
Are you starting off with vector arrays or tables? Note, below would also work if you used numeric values instead of strings. ...

18 Tage ago | 1

| accepted

find the point of intersection of one curve with itselfs
x = [2 0 0 2 2 -1]; y = [4 4 0 0 2 2]; points = [x;y]; h=fnplt(cscvn(points)); plot(h(1,:),h(2,:));hold on, plot(points(...

18 Tage ago | 0

| accepted

Save plotted lines in an matrix
You can save the plot and extract the XData and YData from it's subfields as shown below. [B,L,N,A] = bwboundaries(ImgClosed); ...

20 Tage ago | 0

| accepted

Is it possible to plot patternCostums in appDesigner?
pattenCustom does not work with uiaxes. Try this workaround below. First create the diagram on an axes within a figure. Then...

21 Tage ago | 0

| accepted

Outerjoin does not merge the keys
I joined the two tables, I got 2695 rows after eliminating PIBstatsinstitute from the keys. There are too many unique combinatio...

24 Tage ago | 1

| accepted

How to extract specific data from data files?
data = [111 135 134 111 143 176 111 124 187 222 ...

24 Tage ago | 0

Identifying a line in multiple plots
I made the app attached with App Designer. You could make a similar app to help you identify the selected lines. You can change ...

24 Tage ago | 0

| accepted

How to draw a complicated graph
Z=1:100; Y=Z.^2; K=2; figure plot3(zeros(size(Z)),Z,Y,'k') hold on plot3(K*(ones(size(Z))),Z,Y,'r') line([0 K],[Z(1) Z(...

24 Tage ago | 0

How can the major axis of a 3d object be determined?
You can figure out the orientation with regionprops3 assuming you have a 3D matrix of the model. Example: sample = zeros(100...

25 Tage ago | 0

What is the difference between valuechangedfcn and valuechangingfcn?
Let's say it is a slider. "valuechangedfcn" would occur after you finished dragging the slider and let go on a new value. "value...

27 Tage ago | 1

| accepted

I want to convert a single column of data from a .txt file as shown then operate on it by the script shown but I get error "left is 1x1 right is 1x243003"
I imported the data with the function attached and did not recieve an error. Fs = 100; t0 = 1/Fs; omega = importdata('testi...

27 Tage ago | 0

| accepted

How to plot an square ?
If it is 4 intersecting square waves, you could do this: x = -10:0.001:10; pi plot(x,(pi/2)*square(x)) hold on plot(x,-(p...

etwa ein Monat ago | 0

How to plot a best fit curve to my data points?
If you have the Curve Fitting Toolbox, you can use the Curve Fitting app after you import your data into the workspace. Within t...

etwa ein Monat ago | 0

App Designer | hold on does not work as expected
I believe you need to specify the axes of your hold on. Please let me know if this works. hold(app.fullaxes,'on'); colormap(ap...

etwa 2 Monate ago | 0

| accepted

Point to Images in App Folder

etwa 2 Monate ago | 0

| accepted

How to clear a plot in app designer to plot it again with new results?
It seems like you are creating new uiaxes on top of the previous ones. You can go through your code to make sure you aren't crea...

etwa 2 Monate ago | 0

| accepted