Community Profile

photo

Kevin Carty


Last seen: 11 months ago Active since 2020

Statistics

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

answers

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

answer

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

answer

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

answer

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

answer

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

1

answer

Question


Unit Converter: Miles to Feet. Having trouble outputting an array.
I am trying to write a script that converts miles to feet. The output can be a single number or an array of numbers. When I ru...

2 years ago | 0 answers | 0

0

answers