photo

Clay Swackhamer


UC Davis

Last seen: 5개월 전 2017년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Personal Best Downloads Level 1
  • Thankful Level 3
  • First Review
  • First Submission
  • Knowledgeable Level 2
  • First Answer

배지 보기

Feeds

보기 기준

답변 있음
I want to calculate the exact surface area of an irregular 3d molecule/cluster using xyz coordinates. Is there a way?
This is a really interesting question. Here are my thoughts: We need the edge points. I'm assuming that what you have (the x,y,...

대략 1년 전 | 0

답변 있음
For loop that executes data from an excel file, your mission should you choose to accept it
Here is some code that reads a simple excel table (attached) and calculates a new variable based on the function "ECEF_function"...

대략 1년 전 | 1

| 수락됨

답변 있음
What should go in a next-generation MATLAB X?
My wish list: A real, beautiful dark theme Improving the appearance of figures. Reduce padding around subplots, set default ax...

대략 1년 전 | 0

답변 있음
how to use if else statement
Hope this helps. It uses an example built in dataset (carbig) to demonstrate some basics of working with data in tables. As with...

1년 초과 전 | 1

| 수락됨

답변 있음
Create a column vector with elements counting down from 200 to 0 in increments of 5
Try transposing your output to flip it from a row vector (list of numbers going horizontally) to a column (list of numbers going...

2년 초과 전 | 0

답변 있음
Plotting end points from different arrays
Hi AJ, I'm not entirely sure about your question, since you ask to "plot the end points of these variables (a, e, de, da) again...

2년 초과 전 | 0

| 수락됨

답변 있음
Help with table variables calculation
% Define the table T = table; T.rank = [1,3,2,4,2,5,1,3,2,4]'; T.rank = categorical(T.rank); % Create another column to st...

2년 초과 전 | 1

| 수락됨

답변 있음
How to plot this function with the interval of [-2,2]?
% Define x x = linspace(-2,2,1000); % Define function y = x + 1-2*sin(pi*x); % Estimate roots as values less than a tole...

2년 초과 전 | 0

질문


Features that will help me detect this object?
I would like to detect an object in digital images (photos attached). It is a small nut. Sometimes I can successfully detect it...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


fitnlm either runs perfectly or crashes with nearly identical data
I am using fitnlm to do a simple curve fit. Most of the time it runs perfectly, but every now and then nearly identical data wil...

대략 4년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to use nlinfit for a function with a nested infinite sum?
Hi Ishan and Chris, I attached an example. If you figured this out already I would be very grateful to see how you did it, sinc...

대략 4년 전 | 0

제출됨


Image trace
Lets you trace an image

4년 초과 전 | 다운로드 수: 1 |

Thumbnail

질문


Change yticks using a stacked plot
Hello, I am using the stackedplot function to display multiple series of data that share the same x axis. I would like to chang...

대략 5년 전 | 답변 수: 2 | 0

2

답변

답변 있음
How can i shift plot?
p=[1/6 1/6 1/6 1/6 1/6 1/6]; q= conv(p,p); r=conv(q,p); rr=conv(r,p); rrr=conv(rr,p); rrrr=conv(rrr,p); subplot(2,2,1)...

5년 초과 전 | 0

| 수락됨

답변 있음
Write a MATLAB®
Hi Pamela, See https://www.mathworks.com/help/matlab/ref/plot.html and also https://www.mathworks.com/help/matlab/ref/fplot....

5년 초과 전 | 0

답변 있음
Simple moving average code for forecasting stock prices
Hi Megawaty, Check out https://www.mathworks.com/help/matlab/ref/movmean.html Here is an idea: time = 1:1:100' %100 trading...

5년 초과 전 | 1

| 수락됨

답변 있음
How to make an image straightener like that of cam scanner app?
Hi GMD, Check out https://www.mathworks.com/help/images/ref/imrotate.html Here is a bit of code where I implemented this type ...

5년 초과 전 | 0

답변 있음
fitting a parabola giving unreasonable answer
Two things: I changed your independent values (r) to something that is not so small. Second, I made your equation more simple. I...

5년 초과 전 | 0

| 수락됨

답변 있음
How to save animated plots
%% Make some data t = 1:0.1:2*pi y = sin(t) %% Initialize video myVideo = VideoWriter('myVideoFile'); %open video file my...

5년 초과 전 | 18

| 수락됨

답변 있음
How to plot a complex power spectrum using MATLAB?
This might have what you are looking for https://www.mathworks.com/help/matlab/ref/fft.html You could transform the data from...

5년 초과 전 | 0

| 수락됨

답변 있음
need help in matlab graph
SINR = rand(15,30) %15 x 30 matrix of random numbers Pt = linspace(-30, 30, 15) %create a vector from -30 to 30 with 15 entries...

5년 초과 전 | 0

답변 있음
problem with determining the area of an object in a binary image
You could try running the same code, except instead of using bwarea you could try summing all the pixels in the image. Since in ...

5년 초과 전 | 0

답변 있음
Where can I find the interactive signal processing tutorial?
This one is the official introduction to the toolbox https://www.mathworks.com/products/signal.html And here is an option from...

5년 초과 전 | 0

질문


Simple compression of cylinder- results of finite element model don't make sense
I am trying to simulate the steady state compression of a cylinder using finite element analysis. The model that I have runs, bu...

5년 초과 전 | 답변 수: 1 | 0

1

답변

제출됨


getUCDavisColors
Returns official colors for the University of California, Davis

거의 6년 전 | 다운로드 수: 1 |

Thumbnail

제출됨


imageGrid
Adds a grid to an image

대략 6년 전 | 다운로드 수: 2 |

Thumbnail

질문


Perimeter used by regionprops
Hi all, I am using the output of bwconncomp as an input to regionprops to calculate some values for blobs in a binary image. ...

대략 7년 전 | 답변 수: 2 | 1

2

답변

질문


Modify line style with insertShape
Hi all, I wrote a function to make a grid on an image. I can either draw the grid on top of the image or burn/insert it into ...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Vectorize loop for image manipulation
I have a black and white image (Ibw), and I want to take a circular region from it, and place it on a white background. I made...

7년 초과 전 | 답변 수: 1 | 0

1

답변