Community Profile

photo

Kevin Holly

MathWorks

Last seen: Today Active since 2021

.

Spoken Languages:
English

Statistics

All
  • MATLAB Mini Hack Participant
  • 3 Month Streak
  • Knowledgeable Level 3
  • Revival Level 1
  • Treasure Hunt Participant
  • Creator
  • Promoter
  • Introduction to MATLAB Master
  • MATLAB Central Treasure Hunt Finisher
  • Solver
  • First Answer

View badges

Content Feed

View by

Answered
How to register and average images together from a mat file
Here is some informaiton on image registration: https://www.mathworks.com/discovery/image-registration.html https://www.ma...

2 dagen ago | 2

Answered
Matlab plot not lining up correctly with x-axis
You need to change the number of ticks along the x axis. %Plotting% Months_x={'Jan'; 'Feb'; 'Mar'; 'Apr'; 'May'; 'Jun'; 'Jul';...

2 dagen ago | 1

| accepted

Answered
How do I rotate the view of a cylinder created using surf plot?
Here is another method, if you want to rotate the surf plot. figure [x,y,z] = cylinder(2,20); obj = surf(x,y,80*z); xlim([-1...

7 dagen ago | 0

Answered
Each data point plots as individual points not as one set of many points
obj = VideoReader('VidName.avi') %same name as file you create in step 1 video = read(obj); for i=1:150 %number of frames of t...

7 dagen ago | 1

| accepted

Answered
Create an array containing numeric and symbolic variables
syms t1 t2 d; DH = {0 0.4 0 t1 %i = 1 0 0.1 -90 t2 %i = 2 0 d 90 0} %i = 3 isnumeric(DH{1,1}) isnumeri...

7 dagen ago | 0

| accepted

Answered
Matlab code wont run. Matrix dimensions must agree error
I did not come across that issue when I defined omega as omega = (pi*beta/T)*cos((2*t - T)*pi/(2*T)); before running that line. ...

7 dagen ago | 0

Answered
i want to delete cells that contain 0's
Assuming the values in cell array are numeric: cellarray = {34 , 23, 4, 123, 0 ,423, 4312;34 , 23, 4, 123, 5 ,423, 4312;34 , 0,...

7 dagen ago | 0

| accepted

Answered
How can I plot scatterplot in the UIAxes of App Designer
App Designer uses uifigure. I found a way to move the scatterplot from the scatterplot figure to the uifigure. handle = uifigur...

20 dagen ago | 0

Answered
Combine data from 3 tables based on common datetime?
Use innerjoin

21 dagen ago | 0

Answered
For Loop and if statement
m = [9 6 7 1 7 8 6 2 9 1 2 1 5 7 8 3 8 5 1 2]; a=[]; ...

21 dagen ago | 0

Answered
How to create a colored, with three equally spaced rows of colors horizontally with a dimension of 6x5x3
If you want the image above to be horizontal: yellow = [1,1,0]; orange = [0.8500,0.3250,0.0980]; pink = [1, 0.5, 0.8]; tci =...

21 dagen ago | 0

Answered
Can we use DocumentPart in Report Generation?
It looks like it can from the example from the documentation. https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.document...

22 dagen ago | 0

Answered
how can I delete from a string a couple of lines I have indexed
Are you looking for something like this? str = ["line 1";"line 2";"line 3";"line 4";"line 5"] var = [2 3]; str(var)=[]

23 dagen ago | 0

Answered
find numbers that exceed the 50
There is probably a better way to do the indexing, but here is my approach. var = [ 40 30 23 90 89 53 23 123 32 50 21 32 4 65 1...

23 dagen ago | 0

| accepted

Answered
Why my colour image cannot display when using imread and imshow?
Try this: [I,cmap]=imread('pineapple.png'); imshow(I,'colormap',cmap)

23 dagen ago | 0

| accepted

Answered
Finding Peaks after Event (in a time frame)
% Importing_and_Plotting_EEG_Example close all; clear all; clc; format long; % Importing csv data T=readtable('Try 4.csv'); ...

ongeveer een maand ago | 1

| accepted

Answered
How do I get the brush tool to ignore points?
figure scatter(rand(20,1),rand(20,1),'g') hold on scatter(rand(20,1),rand(20,1),'b') Right Click and select "Export Brushe...

ongeveer een maand ago | 0

Answered
How do I identify unique rows based on multiple columns and calculate the average of the rest of the columns?
A = [1 4 3 8; 4 5 6 9; 1 6 3 6; 2 6 9 3; 1 5 3 7] I am going to assume that any row that columns 1 and 3 are identical, irregar...

ongeveer een maand ago | 0

| accepted

Answered
how to calculate the average?
Lilya, You do not need to create a for loop (see vectorization) I would also suggest using the mean function instead. temp ...

ongeveer een maand ago | 0

| accepted

Answered
How to calculate sum area of a particular coordinate?
@mohd akmal masud Sorry for the late reply. I was going through old comments and discovered that I wasn't following this questio...

ongeveer een maand ago | 0

Answered
Create a specific colormap for a contour plot
Type "colorbar" in the command window to view the colorbar. You can then see the limits of the colormap. You can change the limi...

ongeveer een maand ago | 0

Answered
How to I make data evenly spaced when displaying on a plot?
Have you tried using strips?

ongeveer 2 maanden ago | 0

Answered
How to draw a linear regression plot?
You can use fitlm.

ongeveer 2 maanden ago | 0

| accepted

Answered
Merging Tables from 3 other tables
You can use join S12 = join(S1,S2); Sall= join(S12,S3) You can also use Join Tables in the live editor. If you don't want ...

ongeveer 2 maanden ago | 0

Answered
How to know the value of my point on the colorbar?
x = 0.1:0.01:0.19; y = 0.1:0.01:0.19; z = 0.1:0.01:0.19; [X, Y, Z] = meshgrid(x, y, z); f = X.*exp(X.^2 + Y.^2 + Z.^2); f...

ongeveer 2 maanden ago | 0

| accepted

Answered
How to plot four dimensional data?
This was just answered here: https://www.mathworks.com/matlabcentral/answers/1563276-how-plot-4d-data?s_tid=srchtitle

ongeveer 2 maanden ago | 0

| accepted

Answered
Borghi Diagram in MATLAB
This is how I would do it. First plot the lines and change the scales to log. %Plot lines plot([10 1 .1 10^4],[.1 1 10 10^2....

ongeveer 2 maanden ago | 1

| accepted

Answered
Comparing ones in a table
Here is one way of doing it. t = table; t.column1 = randi([0 1],[7 1]); t.column2 = randi([0 1],[7 1]); t.column3 = [0 1 1 ...

ongeveer 2 maanden ago | 0

Answered
How to store function values generated by a for loop?
I added outputs to your functions called z. clc;clear x = [-2,-1,0,1,2,3]; y = [1,4,11,16,13,-4]; d0 = difdiv(x,y); d = d0(...

ongeveer 2 maanden ago | 0

| accepted

Answered
Whenever I try to use my function f(x,y) I get an error message that says that I need to define f.
I do not have the error when I run it. f = @(x,y) x+y; f(6,7) Are you defining f as a variable afterwards as such? f = @(x,y...

ongeveer 2 maanden ago | 0

Load more