フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Displaying the FIR filter coefficent...

1 回表示 (過去 30 日間)
Yunsung Kim
Yunsung Kim 2011 年 12 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 12 月 23 日
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())

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by