Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is in kotlin, very easy to translate to java | |
val ats = org.eclipse.swt.internal.cocoa.NSDictionary.dictionaryWithObject( | |
org.eclipse.swt.internal.cocoa.NSNumber.numberWithBool(true), | |
org.eclipse.swt.internal.cocoa.NSString.stringWith("NSAllowsArbitraryLoads")) | |
org.eclipse.swt.internal.cocoa.NSBundle.mainBundle().infoDictionary().setValue( | |
ats, org.eclipse.swt.internal.cocoa.NSString.stringWith("NSAppTransportSecurity")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function X = cztw(y,x0,dx,f0,df,M) | |
% calculates CZT == FFT without sampling restrictions | |
% computes czt for each *row* in y! | |
% wolfgang.loeffler@gmail.com | |
% Based on routine from J. Selva | |
%(http://www.dsprelated.com/showcode/229.php) | |
% y: signal at x0,x0+dx,... | |
% for output fourier field: |