微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > need help on Matlab code

need help on Matlab code

时间:03-31 整理:3721RD 点击:
Hello.
Can anyone help me in producing a Matlab code that will read a sparse matrix and then calculate the eigenvalues of it, show the sparsity pattern of it etc. I have the the sparse matrix data in compressed sparse row (CSR), compressed sparse column (CSC) formats and also in Co-ordinate format. But as co-ordinate format takes large storage I would prefer CSR or CSC format. I usually use Fortran but Matlab has some readily available mathematical functions and therefore I need this matlab code. Any support on Matlab code is highly appreciated. Thank you

In MATLAB, type 'help eigs' This will show you how to use the function eigs to compute the eigenvalues. Visualizing it may be more difficult depending on the size of the matrix. If it is small enough, the imagesc command will work well. If it is very large, I'd have to give it more thought.

-tip

上一篇:hfss current distribution
下一篇:最后一页

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top