해결됨

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

3달 전

해결됨

MATLAB Basic: rounding IV

Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

3달 전

해결됨

MATLAB Basic: rounding III

Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

3달 전

해결됨

MATLAB Basic: rounding II

Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

3달 전

해결됨

Given a square and a circle, please decide whether the square covers more area.

You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

3달 전

해결됨

Approximation of Pi

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

3달 전

해결됨

Pi Estimate 1

Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

3달 전

해결됨

Calculate area of sector

A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

3달 전

해결됨

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

3달 전

해결됨

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

3달 전

해결됨

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

3달 전

해결됨

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

3달 전

해결됨

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

3달 전

해결됨

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3달 전

해결됨

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3달 전

해결됨

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3달 전

답변 있음

add audio to a static image

Hey, The problem with your code seems to be that you’re not setting the frames per second parameter. If you don’t set it, the...

add audio to a static image

Hey, The problem with your code seems to be that you’re not setting the frames per second parameter. If you don’t set it, the...

1년 이상 전 | 0

| 수락됨

답변 있음

How to detect vehicles passing a virtual line in a video

Hey, It is my understanding that you want to build a vehicle detection model, which can count the number of vehicles crossing...

How to detect vehicles passing a virtual line in a video

Hey, It is my understanding that you want to build a vehicle detection model, which can count the number of vehicles crossing...

1년 이상 전 | 0

| 수락됨

답변 있음

Comparing two excel files!

Hey, Here’s the code that compares 2 different excel files and stores the occurrence/index of any difference. [~,~,raw1] =...

Comparing two excel files!

Hey, Here’s the code that compares 2 different excel files and stores the occurrence/index of any difference. [~,~,raw1] =...

1년 이상 전 | 0

답변 있음

Motion Detector by frame substraction

Hey, It seems, you need help with the Motion detection model in which detection is done using frame by frame subtraction. ...

Motion Detector by frame substraction

Hey, It seems, you need help with the Motion detection model in which detection is done using frame by frame subtraction. ...

1년 이상 전 | 0