MATLAB: How can you convert a scientific number to decimal convert numbersscientific I have an equation in matlab that gave me this result: 4.1084e+001 -9.6671e+002i how can I convert it to a decimal number? Best Answer a=4.1084e+001-9.6671e+002iout=sprintf('%.2f+%.2fi',real(a),imag(a));out=strrep(out,'+-','-') Related SolutionsMATLAB: How can i convert a scientific number to a decimal normal number Give the commandformat fand redisplay the information. MATLAB: Scientific notation to decimal >> sav=1.0418e+06;With cents displayed...>> disp(num2str(sav,'%.2f'))1041800.00Whole dollars...>> disp(num2str(sav,'%.0f'))1041800Also seedoc fprintf % and friends Related QuestionScientific notationHow to round the decimal
Best Answer