Info
This question is closed. Reopen it to edit or answer.
Displaying the FIR filter coefficent...
1 view (last 30 days)
Show older comments
Hi
Here is calculated FIR filter coefficent "-1.5422e-05" in the uitable.
I need the answer is shown like this "-0.000015422" without "e"
The command "format long g" is not working.. the 'e' still is shown.
So..how can i do this?
I have to copy the filter coeffient and paste to other application.
0 Comments
Answers (1)
Walter Roberson
on 23 Dec 2011
The only way to do it is to make the entry a string and format the value as a string before writing it to the table. (Make sure to convert it back from a string before using it.)
The only alternative numeric format for uitable is "bank".
The "format" command does not affect uitable at all (only disp() and display())
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!