The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 getting maximum of the output of 'fft1' function

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
gyuck Posted - 10/09/2012 : 08:42:17 AM
origin ver. and service release (select help-->about origin): 8.1
operating system: winxp 32-bit

hello! i'm labtalk beginner.
i'm trying to get maximum value of output of 'fft1' function, especially for the output called 'db'.
i'm looking for how to do it on the 'help', but the are too few explanation.
could any body let me know?

thank you!
2   L A T E S T    R E P L I E S    (Newest First)
gyuck Posted - 10/10/2012 : 05:44:33 AM
Hi, Penn

It's very helpful. Thanks a lot.
I'll try it.

Hanbyeol
Penn Posted - 10/10/2012 : 04:58:13 AM
Hi,

After using fft1, the output report data sheet can be gotten by fft1.rd. And the db is output to the column named "dB", so you can try the following script after using fft1 function.

string strOutput$ = fft1.rd$;  // get the string of the output report data
string strSheet$ = strOutput.getToken(1, '!')$;  // get the book and sheet part
string strColumnDB$ = %(strSheet$)!col(dB);  // concatenate book, sheet, column (column dB)
range rDB = %(strColumnDB$);  // define a range with the concatenated string
max(rDB) = ;  // get the maximum value


Penn

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000