- What is your use case and the workflow you are following?
- “.mat” and “.m” files you are using to accomplish the above task.
I am using a function 'eye' but i don't need this diagonal to be maximum value
1 view (last 30 days)
Show older comments
prsource=abs((Pm1.').*inv((Asource').*Asource+eps_source0*eye(length(x)).*cross_source));
this script gives me a good result but the diagonal of the matrix has maximum value ( which is not appropriate )
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1186068/image.png)
2 Comments
Suvansh Arora
on 11 Nov 2022
In order to understand this further, can you please let me know the following details:
Jan
on 11 Nov 2022
Summary: You use a formula and find the result not appropriate. How can we help you based on this lean information?
Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!