Hello everyone!
I need some help to understand my problem.
In this piece of code:
LineInf=[Deforma(MinL-1,1) Tensao(MinL-1,1)]
LineSup=[Deforma(MaxL,1) Tensao(MaxL,1)]
MY= (LineInf(1,2)-LineSup(1,2))/(LineInf(1,1)-LineSup(1,1))
The results:
LineInf = 0.0021 119.9498
LineSup = 0.0046 220.1019
the final results should be:
MY=-100.1521/-0.0025 = 4.0061e+04
But instead the matlab gives me MY=3.9845e+04
My suspicion is that internally matlab calculates differently, due to the fact that they are matrix calculations.
My question is: is there any way around this and get the correct value? or even a command that I do not know.
Best regards
Ed
Best Answer