Problema


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

quasi 10 anni fa | 2 | 338 risolutori

Risolto


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

quasi 10 anni fa

Problema


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

quasi 10 anni fa | 1 | 295 risolutori

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

quasi 10 anni fa | 0

Domanda


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

quasi 10 anni fa | 3 risposte | 0

3

risposte

Risolto


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

quasi 10 anni fa

Risolto


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.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta