Problème


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

plus de 11 ans il y a | 2 | 373 solveurs

A résolu


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

plus de 11 ans il y a

Problème


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

plus de 11 ans il y a | 1 | 356 solveurs

Réponse apporté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...

plus de 11 ans il y a | 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 ...

plus de 11 ans il y a | 3 réponses | 0

3

réponses

A résolu


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

plus de 11 ans il y a

A résolu


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.

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

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

environ 12 ans il y a | 1 réponse | 0

1

réponse