how to perform pinv with symbolic values without loosing precision comes from vpa function?
Show older comments
R =
[4157066.11113704969163796320578974731594179835134484
671429.665455965103663684268506862702153063263269903
4774879.36997573773279084890656259223520006856252447]
% R 3x1 112 sym
R=R_new
J=
[ -0.36997573773279084890656259223520006856252447
0.665455965103663684268506862702153063263269903
0.36997573773279084890656259223520006856252447]
R_new=vpa(R- (pinv(J'*J)))
%it gives error because J is a symbolic, how can I perform pinv(J'*J) without loosing precision
%I tried R_new=vpa(R- (pinv(double(J'*J)))) but double conversion loses precision of J'*J
Accepted Answer
More Answers (0)
Categories
Find more on Calculus 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!