Info

This question is closed. Reopen it to edit or answer.

Hello, I'm trying to make some calculation with vectors and matrix, with functions as sin, cos and operators, but comparing with excell...it gives me differences of 0,0004...I have tried with vpa, but..someone can help me please?

1 view (last 30 days)
teta_transmis(1,1)=teta+beta(1);%calculul primei orientari if teta_transmis(1,1) > 400 teta_transmis(1,1)=teta_transmis(1,1)-400; end n=length(beta); for i=2:n teta_transmis(i,1)=vpa(teta_transmis(i-1,1)+200+beta(i),50); if teta_transmis(i,1)>400 teta_transmis(i,1)=vpa(teta_transmis(i,1)-400,50); end; end; I have made the differences and it gives me the 0.0004 value...it remains constant... I don't know how to explain why...

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!