photo

HDT


HCMc University of Technology

Last seen: 7 months ago Active since 2023

Followers: 0   Following: 0

Message

Programming Languages:
C
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
  • Solver

View badges

Feeds

View by

Question


Can I define a cell class data using data dictionary in Simulink?
Dear All, In Matlab environment, I see that we can define a cell class as below AAAA_param = cell (1,4); AAAA_param{1} = uint...

1 year ago | 1 answer | 0

1

answer

Solved


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

1 year ago

Solved


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

1 year ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

1 year ago

Solved


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

1 year ago

Solved


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

1 year ago

Solved


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

1 year ago

Solved


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

1 year ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

1 year ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

1 year ago

Solved


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

1 year ago

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

1 year ago

Question


How can I set this model properties ( Enable model access to base workspace ) by API such as set_param command?
Dear All, I want to use Simulink API (set_param) to configure "Enable model access to base workspace" parameter, but I don't kn...

1 year ago | 1 answer | 0

1

answer