Community Profile

# Eric Brown

Last seen: quasi 2 anni fa Attivo dal 2022

Followers: 0   Following: 0

#### Feeds

Visto da

Domanda

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 ...

quasi 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

quasi 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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...

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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 ...

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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...

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 ...

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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...

circa 2 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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...

circa 2 anni fa | 3 risposte | 0

risposte