12-01-2010
Triangular window
I want to code a triangular window in an array. The array size is an odd number and indices start from 1.
For example Having the number of elements N = 13
The middle position 7, the value will be 1.0 Then things decrease to zero using a rectangular variation.
Having problem how to code it.
10 More Discussions You Might Find Interesting
1. Programming
Please, recommend anyone books about programming for X-window. (0 Replies)
Discussion started by: serge
0 Replies
2. Windows & DOS: Issues & Discussions
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies
3. UNIX for Dummies Questions & Answers
i am attempting to install video drivers... but the program tells me that i cant install them from terminal... stating that i must close out of the xWindow System... how can i get the plain old command line?
Red Hat 9 (2 Replies)
Discussion started by: HMSS013
2 Replies
4. UNIX for Dummies Questions & Answers
I unloaded the KDM/KDE package and was starting it per instructions by first running a "xstart".
My screen is blank and I don't know how to recover.
Thanks. Tom (4 Replies)
Discussion started by: TJSexton
4 Replies
5. Red Hat
Hi everyone!
I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies
6. Shell Programming and Scripting
Hi,
I have to reshape some ascii files. I have many ascii files that have collapsed the lower triangular of my matrix into row. I simply want to convert them back to the proper matrix form. So, my current data looks like this:
11 21 22 31 32
33 41 42 43 44
...
This is five columns of... (2 Replies)
Discussion started by: Viko Haestner
2 Replies
7. HP-UX
hi,
here is a HP workstation C9000 with HP-UX system in my office. couple days ago we shutdown the system. when trying to turn the it on, the system failed to start X window.
my boss ask me fix it, but i am new of unix world.
please be kindly to teach me how to get error message and fix... (19 Replies)
Discussion started by: ethandaddy
19 Replies
8. Shell Programming and Scripting
Hi,
I was wondering if there is a way of using awk to extract the lower or upper triangular matrix from a symmetric matrix. Say I have this matrix:
$ cat data:
1 0 9 6 7 9
0 8 2 8 9 0
9 2 6 9 4 3
6 8 9 6 9 4
7 9 4 9 9 7
9 0 3 4 7 9
I am trying to do two things.
Result 1:
0 9 2 6 8... (4 Replies)
Discussion started by: iconig
4 Replies
9. Shell Programming and Scripting
I have a string like below. Now i want to split this string like below and put the value in the array using awk. I am able to do it using bash but getting no clue for doing it in awk
O/P
A=0
A=01
A=014
A=0143
A=01438
A=014387
A=0143876
A=01438765
A=014387650
... (7 Replies)
Discussion started by: siramitsharma
7 Replies
10. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
LEARN ABOUT OPENSOLARIS
mlib_signalgenkaiser_f32
mlib_SignalGenKaiser_F32(3MLIB) mediaLib Library Functions mlib_SignalGenKaiser_F32(3MLIB)
NAME
mlib_SignalGenKaiser_F32 - Kaiser window generation
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalGenKaiser_F32(mlib_f32 *window, mlib_f32 beta,
mlib_s32 n);
DESCRIPTION
The mlib_SignalGenKaiser_F32() function generates the normalized coefficients of the Kaiser window.
PARAMETERS
The function takes the following arguments:
window Generated window coefficient array. The window coefficients are in Q15 format.
beta Kaiser window parameter.
n Length of window array.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
SunOS 5.11 2 Mar 2007 mlib_SignalGenKaiser_F32(3MLIB)