Community Profile

Kevin Carty

Last seen: 11 months ago Active since 2020

Content Feed

View by

Question

How to find the middle element of a square array
function middleElement = FindMiddle(squareArray) % FindMiddle: Return the element in the center of squareArray % Inputs: sq...

2 years ago | 4 answers | 0

4

Question

Left Riemman Sum: How do I approach this problem?
Hi everyone. I am stuck on how to approach this problem. Here is the problem statement. Create a function called “leftRiem...

2 years ago | 1 answer | 0

1

Question

Graph animation: How do I keep points on graph?
Hi everyone I want to write some code that will animate a the points on a graph. The problem I am having is that I want the po...

2 years ago | 1 answer | 0

1

Question

I want to double numbers that are less than the given parameter. What do I need to change
function dataSamples = AdjustMinValue(numberSamples, userSamples, minValue) % numberSamples: Number of data samples in array da...

2 years ago | 1 answer | 0

1

Question

What am I doing wrong? Matrix operators
function surfaceArea = surfaceBalloon(Volume,M) % Your code goes here % radius = ((3*Volume)./((2+M)*pi))^1/3; ...

2 years ago | 1 answer | 0

1

Question

1D Element Wise Arithmetic Operators: Mismatched delimiters?
function surfaceArea = surfaceBalloon(Volume,M) radius = sqrt((3*Volume)/((pi)(2+M))); % We are given a volume and we must ...

2 years ago | 1 answer | 0