摘要:
A first block may be received. The first block may represent part of at least a portion of a block diagram model. A Jacobian of the first block may be determined. The Jacobian of the first block may be stored as a first graph.
摘要:
A method, performed by a computer device, includes obtaining an in-memory representation of computer code from a block step method of an executable model in a modeling application, wherein the computer code in-memory representation includes one or more variables. The method also includes identifying, from the one or more variables, a subset of persistent variables and determining if any of the one or more variables in the subset of persistent variables are state variables. When none of the subset of persistent variables are state variables, a block output method is generated based on the computer code in-memory representation and the one or more variables. When the subset of persistent variables includes a state variable, both the block output method and a block update method are generated based on the computer code in-memory representation and the one or more variables.
摘要:
A method, performed by a computer device, may include selecting one or more input and output points in an executable graphical model in a modeling application and simulating the executable graphical model over a plurality of time points. The method may further include generating a time domain response plot for the executable graphical model based on the simulating; obtaining matrices of partial derivatives based no the selected one or more input and output points at particular time points of the plurality of time points; generating a frequency domain response plot for the executable graphical model based on the obtained matrices of partial derivatives; and generating a bidomain simulator user interface, the bidomain simulator user interface including the generated time domain response plot and the generated frequency domain response plot.
摘要:
In an illustrative embodiment, an apparatus, computer-readable media, or method may be configured to suggest determine relationships. Interaction with a block diagram model may include receiving a first portion of a block diagram model. The block diagram model may include a plurality of blocks. Each of the plurality of blocks may represent a set of dynamic equations. The interacting may be performed using the computer. Relationships between a plurality of a synthesized input, a synthesized output, a synthesized state, or a synthesized derivative, may be determined. A determination may be performed for the first portion of the block diagram model. The determining may include determining a block Jacobian pattern of relationships between two or more of an input, an output, a state, or a derivative of a first block of the plurality of blocks in the graphical model.
摘要:
In an illustrative embodiment, an apparatus, computer-readable media, or method may be configured to suggest determine relationships. Interaction with a block diagram model may include receiving a first portion of a block diagram model. The block diagram model may include a plurality of blocks. Each of the plurality of blocks may represent a set of dynamic equations. The interacting may be performed using the computer. Relationships between a plurality of a synthesized input, a synthesized output, a synthesized state, or a synthesized derivative, may be determined. A determination may be performed for the first portion of the block diagram model. The determining may include determining a block Jacobian pattern of relationships between two or more of an input, an output, a state, or a derivative of a first block of the plurality of blocks in the graphical model.
摘要:
A method, performed by a computer device, may include interacting with one or more plots associated with a simulation of an executable graphical model, receiving a selection of one or more target output points associated with the one or more plots; receiving a selection identifying one or more parameters, associated with the one or more plots, of one or more system parameters, associated with the executable graphical model; and generating an inverse parameter Jacobian matrix. The inverse parameter Jacobian matrix may correspond to an inverse of a parameter Jacobian matrix that relates one or more partial derivatives of the one or more system parameters to one or more system equations. The method may further include determining one or more tuning values for the selected one or more parameters based on the generated inverse parameter Jacobian matrix and based on the selected one or more target output points.
摘要:
A method, performed by a computer device, may include receiving a request to automatically select a solver for a simulation of an executable graphical model, determining a Jacobian matrix for the executable graphical model, calculating a stiffness of the executable graphical model based on the determined Jacobian matrix, and determining whether the calculated stiffness is greater than a stiffness threshold. The method may further include automatically selecting an implicit solver as the solver for the simulation, in response to determining that the calculated stiffness is greater than the stiffness threshold, automatically selecting an explicit solver as the solver for the simulation, in response to determining that the calculated stiffness is not greater than the stiffness threshold, and performing the simulation using the selected solver.
摘要:
A method, system and apparatus for managing data in a buffer reduces the data density of the buffer by downsampling input buffer data. The buffer holds a plurality of input data points associated with an index. The buffer may have a capacity and a data density that represents a logical distance between indices of adjacent input data points. When the buffer is at or near the capacity, a rule may be applied to the data buffer. The rule may downsample the input data and reduces the data density of the buffer. The rule may include, for example, removing every kth input data point, or removing the least-used data points. Removed data points may be retrieved by deriving the removed data points from data points that remain in the buffer.
摘要:
The present invention relates to a scanning device with a positioning senor and a processing method to obtain images, comprising a casing, linear contact image sensor (CIS), further comprising a system processor P3 for controlling the work of said CIS by timing signal, the optical coordinate sensors and the displacement processor P1 and P2 for estimating the coordinate increment (8001) and the coordinate increment (8002) of the real-time displacement, an A/D circuit and data buffer; said system processor P3 packets original scanning data with positioning information (8004), and then transfers to the upper machine. An image processing module in the upper machine de-packets said original scanning date (8004); Converts out the coordinate of the terminal pixel of said linear contact image sensor (CIS), and configures the image line in the object image configuring area; and calculates and rectifies the relative offset of the positioning coordinate of the two scanning bands making using of the statistical characteristic of part of pixel data in the overlapped area of the two scanning bands.
摘要:
A two-dimensional barcode includes a plurality of macro modules arranged in a two-dimensional array in a spiral sequence, each of macro modules includes a predetermined number of data unit modules for storing data codewords of a predetermined binary stream of bits, a predetermined number of cluster unit modules for storing a predetermined cluster number representing a location of the macro module, and a predetermined number of rim unit modules which possess a predetermined color to form a rim of the macro module. The rim unit modules of two adjacent macro modules are contrasting with each other to enhance identification of the respective macro module.