Problem

Area of a disk

Find the area of a disk or circle. x= radius of the disk.

10 years ago | 2 | 339 solvers

Solved

Find the Nth Root of a Given Number

Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

10 years ago

Problem

Find the Nth Root of a Given Number

Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

10 years ago | 1 | 298 solvers

Answered

How can i put my output numbers in for loop to an array

I guess you may go for index mapping. I just give you Idea try this once for m=1:4 for n=1:4 X(m,n)=x(4*(m-1)+n); e...

How can i put my output numbers in for loop to an array

I guess you may go for index mapping. I just give you Idea try this once for m=1:4 for n=1:4 X(m,n)=x(4*(m-1)+n); e...

10 years ago | 0

Question

How to use Matlab generated c code for High Level Synthesis ?

I wrote an algorithm for Fast Fourier Transform (FFT),then generated executable c code for it. The settings done by me are ...

10 years ago | 3 answers | 0

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

10 years ago

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10 years ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

10 years ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

10 years ago

Solved

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

10 years ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

10 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10 years ago

Solved

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

10 years ago

Solved

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

10 years ago

Question

How to Sum a product between 0 to N-1 points.

How to achieve Multiply and Addition of N discrete points from (0 to N-1) using Matlab. For Example FFT,FIR,IIR Filters,MAC uni...

10 years ago | 1 answer | 0