I am trying to make my control algorithm more efficient since my matrices are sparse. Currently, I am doing conventional matrix-vector multiplications in Simulink/xPC for a real-time application. I can not find a way to convert the matrix to a sparse one and perform that type of multiplication where it is compatible with xPC. Does anyone have an idea on how to do this?
Is sparse matrix-vector multiplication available in Simulink/xPC?
854 Views Asked by tmar89 At
1
There are 1 best solutions below
Related Questions in MATLAB
- How to open and read video stream in Matlab
- Interpolation and replace zeroes
- How can I fix my code to do line by line conditional statements in Matlab
- matlab crash during acquisition of pointgrey images
- Calling text file
- Apply gaussian filter on text
- re-plotting of data on same GUI axes in matlab
- Issue with nume1 in MATLAB
- Multiply two variables in Matlab with vpa - high precision
- ODE - Solving Parameter Dependent on Variable [Matlab]
- Need help in detecting multiple blobs
- How does TIC TOC in matlab work?
- Image based steganography that survives resizing?
- lowering computaional cost in finding the location of minimum distance
- FFT Filtering of signal
Related Questions in SPARSE-MATRIX
- Fastest Way to access and put values in matrix
- Sparse Random Matrix with Eigen
- Elementwise addition of sparse scipy matrix vector with broadcasting
- Accessing a large number of unsorted array elements in Python
- Argmax of each row or column in scipy sparse matrix
- sparse representation for image prediction
- minimum degree ordering using boost graph library
- complexity of generating a sparse matrix
- Computing time complexity of the sparse matrix (2)
- Sparse matrix from list in R
- Lots of cache miss, Sparse matrix multiplication
- How to store sparse matrix?
- Latent Dirichlet Allocation on Sparse Matrix (
- scipy sparse matrix -- accessing multiple elements of a path
- Clustering a large, very sparse, binary matrix in R
Related Questions in SIMULINK
- Using Simulink Coder - atomic change of multidimensional parameters (matrix, vector)
- More blocks in Simulink
- level 2 c-mex function input return wrong value
- function matlab: array initialization for more entity
- Simulink: Controlling model from external process
- Sending vector data in the bus
- How to index an array value in a MATLAB-Function in Simulink?
- Matlab simulink Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler
- Simulink - Algebraic Loops errors
- Link to external m file from Simulink
- How to get parameter name of "Target hardware"-Field in "Run on target hardware" in Matlab Simulink?
- How to remove samples not fulfilling a certain predicate in Simulink / DSP Matlab?
- Tuning parameters in simulink
- How to access variables in the properties block of a Matlab System Object?
- PID working with sine wave as reference in simulink
Related Questions in XPC-TARGET
- Simulink's Real Time Windows Target Serial communication
- Renaming xPC Target data files after stopping model
- how to force an application to run in one core and no other applications run in that core on windows?
- Updating Simulink Block on the fly?
- Receive Matlab/simulink UDP blocks in other software
- Should I use a MATLAB Function block or normal Simulink blocks?
- call c# function in XPC target of simulink
- How do I change Simulink xPC target serial comm speed on the fly
- Running a Simulink xPC block at a faster rate than the continuous rate
- Matlab, Simulink, Making connection between multiple simulink models via Lan
- Is sparse matrix-vector multiplication available in Simulink/xPC?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It appears, at least as of earlier this year, that it is impossible to do sparse matrices in Simulink: see this Q&A on MathWorks' site. As the answerer is a Simulink software engineer, it seems authoritative. :)