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

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

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

6 years ago

Answered
How to plot x y data with y value repeating with a given interval while x continously increasing?
j = 1; for i = 1:n if(j==8194) j = 1; end plot(x(i), y(j)); j = j+1; end

6 years ago | 0

Answered
[Simulink Toolbox C2000] Creating CCS (Code Composer Studio) Project in Linux
Hi Thales, The CCS Project creation feature for C2000 processors in Simulink is supported only on Windows Platform.

7 years ago | 0

Answered
Use of Persistent Variables in Class Methods Producing Incorrect Result.
This is the expected behavior. Persistent variables are the same as global variables expect for the fact that these variables ca...

7 years ago | 1

| accepted

Answered
Import code generated by simulink to CCS v6
As of now, there is no direct way to do this. You can manually create a project in CCS and then manually link/add the source fil...

7 years ago | 0

Answered
Is there a method of converting a Simulink model directly into a CCS project so that the code can be modified in CCS
As of now, there is no direct way to do this. You can manually create a project in CCS and then manually link/add the source fil...

7 years ago | 1

| accepted

Answered
Data Type Names in Generated Code
Hi, For boolean, the replacement data type's BaseType must be either an 8-bit integer or an integer of the size displayed fo...

8 years ago | 0