Problem


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

fast 10 Jahre vor | 2 | 338 Lösungsvorschläge

Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 1 | 295 Lösungsvorschläge

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

fast 10 Jahre vor | 0

Frage


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

fast 10 Jahre vor | 3 Antworten | 0

3

Antworten

Gelöst


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

fast 10 Jahre vor

Gelöst


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.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort