Top 1% contributor
Embedded coder for TI C2000 is supported. I am using the same with Matlab2011b.
Answered 2 years ago
2 years ago
Me too trying to save the generated code into the flash memory. I am working with
Delfino experimenter kit - TMS320F28335;
I am working on PIL (Processor in Loop),
but could not find the coder...
Asked 3 years ago
I too faced similar problem
Finally I just uninstalled all the C++2010, C++2008 and C++2005.
Then Installed the 7.1 SDK , by...
Answered 3 years ago
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
1 year ago
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.
Calculate the nth Fibonacci number.
Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ...
Fast Fourier Transformation from vector [2,1])
Define the vector _dVec_:
(Logarithmically spaced numbers between 1 and 10)
Calculate the output c as the percentage of a on b for given a and b.
Find the eigenvalues y for a given matrix x.
a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4];
then the result is
1 3 2 4
1 3 2...
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
There will always be at least one prime in the matrix.
Input in = [ 8 3
5 9 ]
Output out is 4...
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...
This is a sub problem related to this problem:
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row.
This also applies...
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle.
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y?
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
If an equilateral triangle has area A, then what is the length of each of its sides, x?
Rotate a Matrix by 90 degrees
If the input is:
1 2 3
4 5 6
7 8 9
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input vector, output true or false whether it is a colu...
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
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.
x = [1 2 4; 3 4 5; 5 6 7]
then y should be the sum of the diagonals of the matrix
y = 1 + 4 + 7 = 12
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries