Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Displaying the FIR filter coefficent...

조회 수: 2 (최근 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