Error using fprintf Unable to convert 'sym' value to 'double'.
Show older comments
fprintf(nru,'{ %.3f uta1 + %.2f uta2 = -%.2f\n',[UI1,SG13,SG12]);
fprintf(nru,'{ %.3f uta1 + %.2f uta2 = -%.2f\n\n',[SG13,UI2,SG23]);
fprintf(nru,'uta 1 = %.4g\n\n',xSoa);
fprintf(nru,'uta 2 = %.4g\n\n',ySob);
fprintf(nru,'V3 = 1/(pierwiastek(1 + %.4s^2 + %.4s^2)) = %.4s\n\n',[xSoa,ySob,V31]);
fprintf(nru,'V1 = %.4g * %.4g = %.4g\n\n',[xSoa,V31,V11]);
fprintf(nru,'V2 = %.4g* %.4g = %.4g\n\n',[ySob,V31,V21]);
fprintf(nru,'VL1= [ %.4g ; %.4g ; %.4g ]',VL1);
When i use '%s'
In my txt, i dont have any numbers.
"Error using fprintf
Unable to convert 'sym' value to 'double'.
Error in WXY4 (line 281)
fprintf(nru,'uta 1 = %.4g\n\n',xSoa);"
Please help.
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics 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!