
Kevin Holly
MathWorks
.
MATLAB
Spoken Languages:
English
Statistics
RANK
107
of 275,890
REPUTATION
1,116
CONTRIBUTIONS
0 Questions
408 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
108
RANK
12,915 of 18,580
REPUTATION
20
AVERAGE RATING
5.00
CONTRIBUTIONS
1 File
DOWNLOADS
2
ALL TIME DOWNLOADS
84
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Multiple Row Xlabels in Matlab App Designer UIFigure UIAxes
fig = figure; app.UIAxes = uiaxes(fig); You can place the following line in the startup function of your app. xlabel(app.UIAx...
2 days ago | 1
Why do I get NaNs when I try to enter characters in my UITABLE object?
Here is a quick workaround. Before loading data into the UITable, you can run the command below to make all the columns strings ...
2 days ago | 0
app designer: How can I choose the graphs that I want to be displayed?
Attached is an example using the ListBox approach that Eric mentioned. I also included an app that highlights the selected lines...
2 days ago | 0
app designer: save a point on a graph when you click on it
You could create a listener that tracks the position of your mouse within you axes (app.UIAxes) and then save the x and y coordi...
2 days ago | 0
How do I export an animated figure to some video format for use in a presentation?
Daniel, Please see the files attached and the code below. Saving the video should be faster when the figure's "Visible" prope...
3 days ago | 0
| accepted
How to modify with the mouse a graph generated in an axes of App Designer?
You could use listeners. See app and function attached for a simple example.
4 days ago | 0
I have 2 columns, i want to find the maximum in the second column and then know what value it is next to on the first column
Generate data M = rand(1221,2)*1000; Find max value and it's index in rows 651 to 1221 in the 2nd column of M. [maxvalue, ind...
4 days ago | 0
SOS! PLEASE SAVE MY CODE:
Instead of trying to figure out how you calculated the areas. I used the following approach to find the masks: fig = figure; ...
17 days ago | 0
| accepted
How to stop popping up of plot figures unnecessarily in Matlab app designer?
If it is due to a plot function, you need to define the uiaxes for the plot. such as: plot(app.UIAxes,x,y)
17 days ago | 0
How to superimpose one image on another in UI Axes of Matlab app designer?
Try the following: [~,~,NR_wells] = well_finder(I_final,2); hold(app.UIAxes,'on') for c = 1:NR_wells rectangle...
17 days ago | 0
| accepted
how to use elements from array to sort data
numdata = [1500 1500 500 1500 500 2500; 850 850 200 850 200 1000; 2800 2800 1700 2800 1700 5200; 500 500 300 500 300 3000; 1...
27 days ago | 0
| accepted
trying to make a donut mask to span over images, suggestions?
RGBImage = imread("peppers.png"); imshow(RGBImage) size(RGBImage) width = 300; height = 300; [x,y] = meshgrid(1:width, 1:he...
1 month ago | 3
| accepted
Calculate the duration that variable remains in a specific value
load('tab.mat') logical_array = tab.s==3000; %chose value for speed here bar(tab.t,logical_array) t2 = table; count = 0;...
1 month ago | 0
| accepted
Plot a graph with this code.
% Problem2_28.mat % Find the phase shift between 10-Hz sinusoids found in x and y in files % sines1.mat %Check load('sines1....
1 month ago | 0
| accepted
why do i get the error using alpha too many output arguments, can anyoen help please.
alpha is a function used in plotting to change transparency. Below I change alpha to Alpha and defined it as a variable equal to...
1 month ago | 0
Creating a file from different-sized files.
Did you want something like this? Note, I attached an import function called importTTfile. load('Line_2.mat') TT = importTTfil...
1 month ago | 0
Getting stuck at Confirm User while installing MATLAB
I would recommend contacting Technical support. https://www.mathworks.com/support/contact_us.html
1 month ago | 0
Unable to perform assignment because the left and right sides have a different number of elements.
VelTren(1,9.81,46) You need to change l to l(i). function [v] = VelTren(v0,a,Lt) l=0:0.1:Lt; v=zeros(1,length(l)); v(1)=v...
1 month ago | 1
| accepted
How to change the color of the lamp?
Please see the app attached. Note, you can set limits on your edit fields. I set this one from 1 to 4.
1 month ago | 0
Build array from descriptive data without a loop
Array1 = [10,3,3;1000,178,4]; Array2 = cumsum(Array1,2)
1 month ago | 0
Visualisation of multichannel time series data
Would something like this work? time = 1:.1:50; % 500 data point signal = cos(time); for ii = 1:30 for jj = 1:40 ...
1 month ago | 1
| accepted
error using the matrices to plot a graph
The length of some of your columns didn't match up. Original table had 10 rows. Some of the new variables added to the table had...
1 month ago | 0
how to put date and time (exple 02-17-2023 06:05:34) on the x axis of a 3D plot
m = ["Jan-03-2023 06:25:12" 34 65; "Jan-04-2023 02:45:33" 56 34; "Jan-05-2023 07:05:38" 45 234] t = array2table(m) t.Propertie...
1 month ago | 1
| accepted
how run generated code from apps
You would want to save the code as a .m file. Then you can call the function with this line: createFit(close) Where close is y...
1 month ago | 0
| accepted
In following plots, how can we measure intersect points?
for y=0.1:0.1:0.3 G=[]; B=[]; for a=1:1:100 z=0.3; x=y+sind(a); G=[G x]; b=z+...
1 month ago | 1
| accepted
Can't understand you I'm getting this error when using a for loop to add two arrays
One of you variables (P_Pa, p_Pa, or q_Pa) only has one row. So, when you iterate with the for loop, you get an error when i = 2...
1 month ago | 2
Changing the number of rows in a vector by adding repeated rows
V = rand(76,3); V1 = zeros(1064,3); V1(1:76,:) = V; for ii=1:13 index = randperm(76); V1(76*ii+1:76*ii+76,:)= V...
1 month ago | 0
How to save the edited value inside the excel .xlsx file?
Please see app attached. I added filename as a property variable and then added the following: For the Save callback, I added:...
1 month ago | 0
| accepted
How can I extract a specific time for a "datetime" table?
load('RESULT.mat') result result.HourSeries = datetime(result.HourSeries,"Format","HH:mm") index = hour(result.HourSeries)=...
1 month ago | 1
| accepted