MATLAB: When i write the code contfrac for computing continued fraction for example contfrac(pi,3) it appear this note “Undefined function or variable ‘contfrac'” why
contfrac
problen in contfrac
Best Answer
contfrac is a MuPAD function. Did you install the required toolbox?
Raviteja, the above command does store your values as you want. The problem is not with the values, but with how the values are displayed in MATLAB. You cannot make MATLAB display the values in just any way you want. The closest you can get is:
format bank
Ar = round(A*100)/100
Ab = abs(A) %This looks like what you want, but the full value is there.
Best Answer