Community Profile

photo

Eric Brown


Last seen: 2 years ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Find the average of each row, ignore the first column
This is pretty straight foward, probaly something small I'm missing but as the title says, mean of each row starting at element ...

2 years ago | 1 answer | 0

1

answer

Question


Division by repeated subtraction with remainder
The code I'm trying to build needs to compute the division of two non-zero numbers and return the quotient and remainder. When I...

2 years ago | 2 answers | 0

2

answers

Question


A for loop that counts the negatives of a 1D array
My function is to recieve a 1D array of numbers as the input and uses a for loop to find the location of all negatives in the ar...

2 years ago | 1 answer | 0

1

answer

Question


Function not giving an output
The code I have is to find the cost of a parking bill. I want the code to return an error message if the inputs are not within m...

2 years ago | 2 answers | 0

2

answers

Question


a function that has two inputs: a number and a row vector
The code i am tryin to make requires that there be only two inputs, the first a number and the second as a row vector. How do I ...

2 years ago | 2 answers | 0

2

answers

Question


Normalized Sinc using matrix inputs
My code is to use the formula sinc(x) = sin(x*pi)/(x*pi) to return a matrix of the same size as the input, and when dealing with...

2 years ago | 1 answer | 0

1

answer

Question


Not enough input arguments from a row vector
My code is to find the roots of a quadratic using a row vector as the input. The function is called using myquad([3 4 5]) and I ...

2 years ago | 2 answers | 0

2

answers

Question


A function that replaces any negatives with zeros
function y = NoNegatives(x) if x(x<0) y = (x == 0); else y = x; end I am to create a function that takes a vecto...

2 years ago | 3 answers | 0

3

answers

Question


Nth term of a Leibniz Series
I'm trying to create a function that will take a signle input (N) and output the Nth term in the Leibniz Series but for some rea...

2 years ago | 3 answers | 0

3

answers