![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25475799_1643728270284_DEF.jpg)
Eric Brown
Followers: 0 Following: 0
Feeds
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 3 | 0
3
답변질문
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년 초과 전 | 답변 수: 3 | 0