Array Definition and 481 Threads
-
Do ESCs produce a large array of proteins?
'Analyses of global histone modification patterns in ESCs have previously suggested that the ESC genome is subject to generalized histone acetylation and lysine 4 H3 methylation (H3K4me). As these are both transcription-activating modifications, these changes in global genomic architecture and...- TytoAlba95
- Thread
- Array Proteins
- Replies: 2
- Forum: Biology and Medical
-
F
Python Invert a matrix from a 4D array : equivalence or difference with indexes
I have a 4D array of dimension ##100\text{x}100\text{x}3\text{x}3##. I am working with `Python Numpy. This 4D array is used since I want to manipulate 2D array of dimensions ##100\text{x}100## for the following equation (it allows to compute the ##(i,j)## element ##F_{ij}## of Fisher matrix) ...- fab13
- Thread
- 4d Array Covariance matrix Difference Dot product Equivalence Linear algebra Matrix
- Replies: 2
- Forum: Programming and Computer Science
-
Graduate Resolving power of a radio telescope array: Quantum or classical?
My question is: is the resolving power of an array of radio telescopes a quantum or a classical effect? The increase in resolving power of a single telescope, as aperture size increases, is easy to explain in terms of Heisenberg's uncertainty principle. But when we go an array of telescopes are...- Michael Price
- Thread
- Array Classical Power Quantum Quantum and general physics Radio Radio telescope Signal analysis Telescope Uncertainity principle
- Replies: 7
- Forum: Astronomy and Astrophysics
-
How to store ping results into an array or variable using a batch file
I don't know much about batch, but what I want is to execute a command such as ping google.com -n 200 and store all 200 ping latency results to a variable. The default results (avg max min %lost) isn't enough for me to tell if I can do what I need to do. I would like to calculate the average...- BiGyElLoWhAt
- Thread
- Array Batch File Stats Variable
- Replies: 10
- Forum: Programming and Computer Science
-
N
Numpy multidimensional array assigment unknown logic error
I'm confused as to why this bubble sort I'm implementing is setting _all_ items to one of the items (I have no idea which one as array is too big) the data type is of ... [[1128 1026 1192 1023]] [[ 771 195 858 196]] [[ 953 1799 955 1738]]] when I have an array of int, this same algorithm...- NotASmurf
- Thread
- Array Error Logic Multidimensional Numpy
- Replies: 2
- Forum: Programming and Computer Science
-
N
Linear array beam forming and phase response troubleshooting
Hi all I am working on beam forming of high frequency (>400 KHz) linear array for imaging sonar. I have gathered sensor data of 80 channel linear array sub merged halfway in 8 m deep water tank with a transmitting probe 6 m away from it at same depth. I recorded multiple pulses and perform...- nauman
- Thread
- Array Beam Linear
- Replies: 22
- Forum: Electrical Engineering
-
Y
Misc. Brainstorming concept for mobile solar array
Hello! I'm in the early process of brainstorming plans for a roof mounted mobile solar array as a DIY project. The host vehicle will be a 8.5'x20' cargo trailer. On the roof I can fit an array of 6x solar panels that is almost exactly 8.5x20. However, I actually want to create 3 such arrays...- yahastu
- Thread
- Array Concept Mobile Solar
- Replies: 2
- Forum: DIY Projects
-
J
PV system with an array of 1500 watts
Hello all, I am in deep water here based on my very fundamental understanding of physics generally and solar design specifically. I am 83 years, homeless, and have access to land with one building, wood heat, non-potable site water, and nothing else. I want to make a PV system with an array...- James Osbourne
- Thread
- Array Photovoltaic Solar System Watts
- Replies: 11
- Forum: Electrical Engineering
-
Fortran Fortran: Array Syntax Explained
Well, I'm trying to move a bit into modern Fortran, and I am more used to Fortran77 syntax. So, for example, when I wanted to make an array whose two of its components equal another array of another dimension, I used to do something like this: do k=1,N do j=1,N do i=1,N...- Telemachus
- Thread
- Array Fortran
- Replies: 20
- Forum: Programming and Computer Science
-
S
Infinite light polarizers in an array
I was wondering if I placed an infinite number of light polarizers in an array, each rotating an infinitesimal amount from the next, would I be able to get 100% of the photons shun thru them on the other side? -
M
Understanding Inductrack and Halbach Array in Hyperloop Technology
Hi, I am currently completing a Gold CREST Award on the Hyperloop Train, and when researching came across a technolofgy called Inductrack. I kind of understand the general concept behind it, however, there's this one paragraph I'm not too sure on and was wondering if someone could explain it...- mvisc10
- Thread
- Array Electromagnatics Halbach array Magnets Physics
- Replies: 2
- Forum: Electromagnetism
-
Fortran Assign 2D Array with Reals in Fortran - Help Needed
Hi guys, On with my Fortran adventures...I'm trying to accomplish a simple task: assign a 2D array with some reals. Here's an excerpt from the code: subroutine get_energy_and_grad(natoms_,coords,ereal,gradmat) include 'cbka.blk' include 'opt.blk' integer, intent(in) :: natoms_...- davidfur
- Thread
- 2d Array Assignment
- Replies: 4
- Forum: Programming and Computer Science
-
D
Undergrad Explanation for the hyperbolic array of light rays.
Hello, Recently, a solar power tower plant was founded next to where I work. Since it's the tallest object in the area, it's quite hard to miss it. But apart from that, every morning the reflected light is arranged in a hyperbolic- like way, as you can see in the picture. Does anyone have a...- ddddd28
- Thread
- Array Explanation Focus Hyperbola Hyperbolic Light Rays Solar power
- Replies: 1
- Forum: General Math
-
D
Trouble with an array program in C
Homework Statement Write a function that finds if three arrays of integers are identical. The arrays are identical when they have the same values at the same indices. Below are two samples outputs. Homework Equations N/A The Attempt at a Solution I decided to compare the arrays using a...- dect117
- Thread
- Array Program
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
B
Efficient 2D Array Switch Algorithm for Lights Off in n x m Rooms | C++ Function
Homework Statement A house has n x m rooms (n and m natural numbers, n>=2 and m>=2) and is represented as a 2 dimensional Array with n rows(0 to n-1)and m columns(0 to m-1).The room at line i( 0 <= i <= n-1) and column j ( 0 <= j <= m-1 ) is identified by the pair of numbers (i,j).All rooms...- boilhats
- Thread
- Array C++ Computer science
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Y
Fortran How to use Real Array Index in Matrix dimension?
I am developing a FORTRAN code (.f90) which "ll calculate some matrix in some time interval (dt1=0.001) and these matrices have to be integrated in some time steps (dt=0.1). Though I am experience in FORTRAN 77, new to FORTRAN 90. I am unable to make dimension of matrix real (I think that is the...- yuvan
- Thread
- Array Dimension Fortran90 Gfortran Index Matrix Ubuntu
- Replies: 21
- Forum: Programming and Computer Science
-
MATLAB Struct contents reference from a non-struct array object
Hello, i need help with my code please , i have a file named 'bic' which contain only 2 columns . I want to plot this two columns. Data=importdata('bic.dat'); g=Data.data(:,2) r=Data.data(:,1); delta=r-g; plot(r,delta,'b*'); And i have this error struct contents reference from a non-struct...- quasarLie
- Thread
- Array Reference
- Replies: 11
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
F
Reverse the elements in a given array
Homework Statement Write a sequence of statements to REVERSE the elements of array X1. Homework Equations - The Attempt at a Solution Here's my work : Could somebody check my answer please ?- Fatima Hasan
- Thread
- Array Elements Reverse
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
F
Calculate the sum of all high-order bytes in array NUM1
Homework Statement Calculate the sum of all hight-order bytes in array NUM1 and store the sum in a memory location named newH. Define newH as needed. Homework Equations - The Attempt at a Solution INCLUDE Irvine32.inc .data NUM1 sword 1h,2h,3h,4h,5h,6h,7h,8h,9h,10h,11h,12h,13h,14h,15h,16h...- Fatima Hasan
- Thread
- Array bytes Sum
- Replies: 9
- Forum: Engineering and Comp Sci Homework Help
-
E
Python Python NumPy Array Indexing Explained - Learn with an Example
Hello all, I have this piece of code in Python from sklearn.datasets import load_iris data = load_iris() features = data['data'] feature_name = data['feature_names'] target = data['target'] target_names = data['target_names'] labels = target_names[target] print(target.shape)#This outputs...- EngWiPy
- Thread
- Array
- Replies: 1
- Forum: Programming and Computer Science
-
Finding Index for 0Hz on RF Spectrum
Homework Statement Find the index corresponding to 0Hz on my RF spectrum vs frequency garph Homework Equations using np.argmax or np.argmin [/B]The Attempt at a Solution np.argmin just gives the proof that the lowest value in frequency array plotted on x-axis is 0, but now i need to find the...- Erenjaeger
- Thread
- Array Index
- Replies: 10
- Forum: Engineering and Comp Sci Homework Help
-
Co-located pair of Phased Array Antennas
I have been debating with a friend about a thought experiment that evolved out of an entirely unrelated discussion, but which has now become a subject of argument. Consider a "dual" phased array antenna that has every odd-numbered radiating element driven from input port 1 and every...- Swamp Thing
- Thread
- Antennas Array Pair
- Replies: 4
- Forum: Electrical Engineering
-
Allocating a huge boolean array fails
Hello, I'm trying to allocate a bool[3^27] array of bits in a Linux system with 1,2TB swap partition but the system says Segmentation Fault. How could I do this ? Thanx.- jk22
- Thread
- Array
- Replies: 34
- Forum: Programming and Computer Science
-
Net force on a Halbach Array in a uniform magnetic field
I have been unable to determine whether a Halbach Array of permanent magnets would experience a net force in a uniform magnetic field.- Arshavsky
- Thread
- Array Field Force Halbach array Magnetic Magnetic field Net Net force Uniform Uniform magnetic field
- Replies: 3
- Forum: Electromagnetism
-
J
Pointer to data wanted please -- looking for a primer on phased array radar
Fair warning: I can handle basic physics stuff, but probably nothing post-collegiate. :) Specifically, I'm looking for a primer on phased array radar that will tell me two things: 1) what are the practical physical (antenna) requirements for running a PAR system in the 800MHz/5GHz bands, and 2)...- JeffEvarts
- Thread
- Array Data Radar Rf
- Replies: 5
- Forum: Electrical Engineering
-
How to dynamically allocate an array of strings
I was supposed to write a program that has a while loop in which two people, person1 and person2 input a string. The program runs the loop until one of the people inputs "it's over". At that time the program should exit and print out the correspodance between these two people while they were in...- doktorwho
- Thread
- Array C programming Coding Strings
- Replies: 6
- Forum: Programming and Computer Science
-
Comp Sci 5x5 Arrays - Sum & Difference - (Fortran)
Homework Statement Create two 5x5 arrays, A & B, and ask the person to fill them out. Save those numbers in matrix_a.txt & matrix_b.txt respectively. Then, save the sum and difference of those numbers in sum.txt & diff.txt respectively. Basically we need to create two arrays, fill them out...- Const@ntine
- Thread
- Array Arrays Difference Fortran Matrix Sum
- Replies: 13
- Forum: Engineering and Comp Sci Homework Help
-
M
Sizing a Solar Array To Boil Water
Hello, I am having a hard time deciding the size of a solar array to boil water for a school project. Before putting any thought into the subject I simply thought that I would just take the wattage of the panels and add them up since they are added in both series or parallel and then select an... -
Question about limiting inputs in C
I want to write a program that in the twodimensional array stores only capital and noncapital letters of the alphabet and the sign #. Everything else inputted cannot be stored in the array. How am i to do this in the easiest way? I can think of only checking for each input if it exists in some...- doktorwho
- Thread
- Array C programming Input Output
- Replies: 5
- Forum: Programming and Computer Science
-
N
MHB How Can I Generate and Sort 500 Numbers in an Array?
I want to generate 500 numbers in an array but in order? For example I can generate 500 random numbers with this code but how will i be able to put it in order? //code example cout << "Generate 500 random numbers:" << endl; const int nnn = 500; int numberOfArray3[nnn]; for (i = 0; i <...- needOfHelpCMath
- Thread
- Array Numbers
- Replies: 2
- Forum: Programming and Computer Science
-
E
Returning an array of generic type
This is a homework problem, so I have to follow some stipulations, namely: The problem is, I have no idea how to get a method to return a generic-type array. Because of type erasure, I can't create an instance T[] of a generic array, empty or otherwise. The only way I was able to do it was...- Enharmonics
- Thread
- Array Arrays Java Type
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
[C] Use recursive function to get the min value of an array
Homework Statement Using these two prototypes, double minValue( const double a[], unsigned els); double minIndex(const double a[], unsigned els); I am supposed to find the smallest value of an array using the minValue function as well as it's index by using the separate minIndex function and...- bornofflame
- Thread
- Array Function Programming c Recursion Recursive function Value
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
S
Minimum # of ops to even out an array by....
I'm trying to solve https://www.hackerrank.com/challenges/equal which is how to make an array's N elements equal through operations restricted to (1) adding 1 to N-1 elements, (2) adding 2 to N-1 elements or (3) Adding 5 to N-1 elements. I started out by writing some test cases that might be...- SlurrerOfSpeech
- Thread
- Array even Minimum Testing
- Replies: 9
- Forum: Programming and Computer Science
-
A
Comp Sci Make an array with this series (java challenge)
Homework Statement Given n>=0, create an array length n*n with the following pattern, shown here for n=3 : {0, 0, 1, 0, 2, 1, 3, 2, 1} (spaces added to show the 3 groups). Homework EquationsThe Attempt at a Solution public int[] squareUp(int n) { int length = n*n; int[] completeArry...- Arnoldjavs3
- Thread
- Array Challenge Series
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
Help w/ C Programming Homework - Create Array & Print All Inputs
Homework Statement I am fairly new to C programming. I need to write a code that creates an array of max 300 numbers, ask the user to input the numbers and then print that array. Homework Equations 3. The Attempt at a Solution [/B] Here is my code #include <stdio.h> void main() { int...- doktorwho
- Thread
- Array C code C programming Code Coding
- Replies: 9
- Forum: Engineering and Comp Sci Homework Help
-
L
Java What is wrong with my Java array and methods code?
Hello, I am stuck on this java problem. I was wondering if anyone can figure out what I am doing wrong. Thank you! Problem 1. Given an array of ints, return true if there is a 1 in the array with a 2 somewhere later in the array. ex: has12([1, 3, 2]) → true has12([3, 1, 2]) → true...- lypena35
- Thread
- Array Java
- Replies: 13
- Forum: Programming and Computer Science
-
M
Array is printing out weird symbols
Homework Statement Compare two strings which represent test scores for a 20 question exam. If the student scores 15 or higher, they pass. Less than that they fail. Indicate whether a student passes or fails. Display how many answers they got right and wrong. Display which number they got wrong...- MinusTheBear
- Thread
- Array Printing Symbols Weird
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
How can I display string arrays in a JApplet without using integers?
I don't know how to display what the string you see in the array. Do I need to put something in the paint method? It's annoying because my book and everywhere I look only show examples using integers and not strings. This code is in the init method. I can't find out where to display the "dog"...- FritoTaco
- Thread
- Array String
- Replies: 2
- Forum: Programming and Computer Science
-
E
Java Recursively sorting an array of strings w/o aux. parameter
One of my professor's assignments is proving particularly tricky for me. It reads: "Write the method public static void sort(String[] a) that sorts the array a in increasing order. The method must be a short recursive program. Do not use quicksort or merge sort. It should be a lot...- Enharmonics
- Thread
- Array Arrays Java Parameter Recursion Sorting Strings
- Replies: 7
- Forum: Programming and Computer Science
-
P
A Basic program -- missing array index?
If someone can help me with this I'd be grateful. I've asked this question on other forums, gotten lots of views but no answer. It's no big deal but maybe someone has a solution. I've have a program written in BASIC. I did not write the program and I have no way to contact the original...- Prophet
- Thread
- Array Index Program
- Replies: 20
- Forum: Programming and Computer Science
-
S
Java Java Help with displaying an array list while using other classes
This is a class assignment that has been puzzling me for a few hours. I need this to print out the values from the passenger array. My code so far prints the values from my aircraft class perfectly but not from my passenger class. Please see my output below: How do I make the output display...- smilesofmiles
- Thread
- Array Classes Java List
- Replies: 2
- Forum: Programming and Computer Science
-
F
MHB Finding values in a 2 dimensional array
Here's the pseudo code: for i := 1 to n { //i=1 and n=4 for j := i to n { //j=1 B[i][j] := 0 for k := i to j { B[i][j] := B[i][j] + A[k] } } } This is what i understand from the code above - B values are from the sum of a values. I want to know what the values of...- fvnn
- Thread
- Array
- Replies: 1
- Forum: Programming and Computer Science
-
K
Basic phased array radar questions
So, I already understand that the maximum resolution of a radar system is λ R / L, where lambda is the wavelength, R is the range to the target, and L is the diameter of the antenna, and that for a phased array, L would be the maximum distance between antennas (correct me if I'm wrong :) ). But...- KarenRei
- Thread
- Array Radar
- Replies: 17
- Forum: Electrical Engineering
-
A
Algorithm for checking clumps inside an array not working
Homework Statement Say that a "clump" in an array is a series of 2 or more adjacent elements of the same value. Return the number of clumps in the given array. countClumps([1, 2, 2, 3, 4, 4]) → 2 countClumps([1, 1, 2, 1, 1]) → 2 countClumps([1, 1, 1, 1, 1]) → 1 Homework Equations The logic is...- Arnoldjavs3
- Thread
- Algorithm Array
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
Phased array antenna vs single antenna for remote sensing.
My question stems from the Cosmic-1 satellites using single antennas for radio occultation and the cosmic-2 sats that will use a phased array antenna. I've done a fair amount of research in regards to the phased array antenna. Overall it seems to improve the signal to noise ratio when making...- Tone L
- Thread
- Antenna Antenna design Antenna engineering Array Remote sensing
- Replies: 1
- Forum: Electrical Engineering
-
R
Simple 8-bit FFT Processor for 512pt Array at 20MHz
Hello. I'm looking for a "simple" FFT processor able to process an 8 bits input in an array of at least 512 pts with a speed of at least 20 MHz. I've precised "simple" instead of certain TI DSP with up to 196 pins ! I only need FFT nothing else. Does it exist ? Thanks by advance for replies.- Ravaner
- Thread
- Array Fft Processor
- Replies: 5
- Forum: Electrical Engineering
-
P
Creating a 31.4KHz Phase Sweeper for Antenna Array
I am trying to create a phase sweeper at 31.4KHz(and constant 5V) for a small antenna array that consists 2 antennas. If I can create 2 signals with a frequency difference < 1Hz it's okay too(It will be nearly same) as long as I can control that difference because I need to change phase at a...- Pencil123
- Thread
- Antenna Array Phase
- Replies: 14
- Forum: Electrical Engineering
-
A
Java Java: Finding the numbers in an array above the average
I am attempting to find the numbers above the average number of a set of numbers in an array. I am having trouble understanding why my output for the list of numbers above the average is so...weird. I'd appreciate the help! My code: public class Inequality { public static void main(String[]...- Ajmather
- Thread
- Array Average Java Numbers
- Replies: 2
- Forum: Programming and Computer Science
-
How Do I Apply Stolz-Cesaro Theorem to Find the Limit of a Sequence?
Homework Statement hello, i have to find the limit of the next array (xn)=(cos (π/n+1) + cos (π/n+2) + ...+ cos ( π/2n))/n when n goes to infinity. Homework Equations I was told to apply stolz cesaro and that is where i ended up : the limit is : limit of cos ( π/2n+1) + cos (π/2n+2) -cos...- LazuRazvan
- Thread
- Array Limit
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
M
Search the family of an element in a table
Hi evryone, i have started to write an "algorithm" that finds the Family of a given element in a table of 3 columns: Id, Source and Destination. When i say Family i mean each element (i.e. A) from Source that has a relation with another one in Destination and i have to find a family for that new...- mignoncharly
- Thread
- Array Element Search Table
- Replies: 8
- Forum: Programming and Computer Science