Found 27154 Articles for Server Side Programming

Digital Low Pass Butterworth Filter in Python

Niharika Aitam
Updated on 02-Nov-2023 12:04:35

630 Views

The low pass filter is the electronic filter which passes the frequency of signals lesser than the defined cutoff frequency and the frequency of the signals higher than the cutoff will be attenuated. The High pass Butterworth filter has some specialized features defined as follows. The sampling rate of the given input signal is given as 40 kHz The edge frequency of the pass band is 4 kHz The edge frequency of the stop band is 8 kHz The ripple of the pass band is 0.5 dB The minimum attenuation of the stop band is 40 dB and the ... Read More

Digital High Pass Butterworth Filter in Python

Niharika Aitam
Updated on 02-Nov-2023 12:06:28

478 Views

The high pass filter is the electronic filter which passes the frequency of signals greater than the defined cutoff frequency and the frequency of the signals lower than the cutoff will be attenuated. The attenuation of each frequency is based on the filter design. The High pass Butterworth filter has some specialized features defined as follows. The sampling rate of the given input signal is given as 3.5 kHz The edge frequency of the pass band is 1050 Hz The edge frequency of the stop band is 600 Hz The ripple of the pass band is 1 dB The ... Read More

Digital Band Reject Butterworth Filter in Python

Niharika Aitam
Updated on 02-Nov-2023 12:11:23

163 Views

A Band Reject filter is the filter which rejects or blocks all the frequencies within the range and passes the frequencies outside the range. The Butterworth is the type of a filter designed to filter the frequencies as flat as possible in the pass band. The following are the main features of the digital band reject butter worth filter. The sampling rate of the filter is about 12 kHz. The pass band edge frequencies are in the range of 2100 Hz to 4500 Hz. The stop band edge frequencies are within the range of 2700 Hz to 3900 ... Read More

Digital Band Pass Butterworth Filter in Python

Niharika Aitam
Updated on 31-Oct-2023 16:51:08

673 Views

A Band pass filter is the filter which passes the frequencies within the given range of frequencies and rejects the frequencies which are outside the defined range. The Butterworth band pass filter designed to have the frequency response flat as much as possible to be in the pass band. The following are the specifications of the digital band pass butter worth filter. The sampling rate of the filter is around 40 kHz. The pass band edge frequencies are in the range of 1400 Hz to 2100 Hz. The stop band edge frequencies are within the range of 1050 Hz ... Read More

Differentiate Hermite series and multiply each differentiation by scalar using NumPy in Python

Niharika Aitam
Updated on 31-Oct-2023 16:59:13

39 Views

Hermite_e series is also known as probabilist's Hermite polynomial or the physicist's Hermite polynomial. It is available in mathematics which is used to calculate the sum of weighted hermites polynomials. In some particular cases of the quantum mechanics, the Hermite_e series the weight function is given as e^(−x^2). Calculating Hermite_e series The following is the formula for Hermite_e series. H_n(x) = (−1)^n\:e^(x^2/2)\:d^n/dx^n(e^(−x^2/2)) Where, H_n(x) is the nth Hermite polynomial of degree n x is the independent variable d^n/dx^n denotes the nth derivative with respect to x. In Numpy library we have the function namely, polynomial.hermite.hermder() to ... Read More

Minimize count of alternating subsequences to divide a given Binary String with subsequence number

Thanweera Nourin A V
Updated on 31-Oct-2023 16:17:51

54 Views

The aim of this article is to implement a program Minimize count of alternating subsequences to divide a given binary string with subsequence number. Here, you are provided with a binary string as part of the issue. In order to prevent any subsequence from including adjacent zeros and ones, we must reduce the number of subsequences and output the subsequence number that corresponds to each string element. A subsequence represents a sequence which can be created by taking the supplied sequence and eliminating zero or more members while maintaining the initial position of the elements that remain. Input Let ... Read More

Maximum count of characters that can replace ? by at most A 0s and B 1s with no adjacent duplicates

Thanweera Nourin A V
Updated on 31-Oct-2023 17:54:57

407 Views

The aim of this article is to implement a program maximum count of characters that can replace? by at most A 0s and B 1s with no adjacent duplicates. Given a couple of integers A and B, both of which that represent the number of 0s and 1s that are accessible, and a string Str with only the special characters "*" and "?" The aim is to determine the greatest number of characters that may be used in the '?' position without causing any neighboring characters to be identical. Example 1 Let us give the input string str = ... Read More

Position of the leftmost set bit in a given binary string where all 1s appear at the end

Thanweera Nourin A V
Updated on 31-Oct-2023 15:53:13

132 Views

The aim of this article is to implement a program to Position the leftmost set bit in a given binary string where all 1s appear at the end. A string of bits is known as a binary string. A binary string is utilized for storing non-traditional data, such as images, as opposed to a character string, which typically holds text data. The quantity of bytes in a binary string determines its length. Binary data, or data that is portrayed in a binary (base-2) version instead of a text (base-10) format, is stored in binary string variables in computer programming. ... Read More

largest string formed by choosing words from a given Sentence as per given Pattern

Thanweera Nourin A V
Updated on 31-Oct-2023 15:57:04

101 Views

The aim of this article is to implement a program to obtain the Lexicographically largest string formed by choosing words from a given Sentence as per given pattern. As we know, a string is a group of characters that ends with the null character "\0" in C programming. Characters from the C String are kept in a character array. The main difference between A string and a character array is that a C string differs from a character array in that it ends with the distinctive character "\0." Example 1 Input: S = “slow and steady”, B = “sdfh” ... Read More

Find the count of Alphabetic and Alphanumeric strings from given Array of Strings

Thanweera Nourin A V
Updated on 31-Oct-2023 16:08:30

142 Views

The aim of this article is to implement a program to find the count of alphabetic and alphanumeric strings from a given array of strings. As we know, a string is a group of characters that ends with the null character "\0" in C programming. Characters from the C string are kept in a character array. A C string differs from a character array in that it ends with the distinctive character "\0." Input arr[] = {“snmd”, “nej7dnr”, “snmd”, “dltmdj”, “lbwm2p6”} Output 3 2 “snmd”: 2 “nej7dnr”: 1 “dltmdj”: 1 “lbwn2p6”: 1 Explanation The strings ... Read More

Advertisements