I mean something strictly mathematical and not an algorithmic routine.
For example
The function f(n) produces
1,2,0,0,0,5,0,1,3,8,9,0,0, ...
I need the function f(n) remove the zeros and produces:
1, 2, 5, 1, 3, 8, 9, ...
f(n) : n belongs to N
In Mathematica,
Select[f, # != 0 &],
where f is a list of numbers.
Victor J. Аdlucky Raed Almomani Dauji Saha
Remark: in the case m=0 (i.e. when all fi=0), the transformed list is empty.
Hi José de Jesús Camacho Medina
Unfortunately I missed your post. Possible implementation in Wolfram Mathematica is shown in the attached picture. Of course, Mathematica's native procedure Select looks much more elegant.
I would like to know how to register the journal Flora Montiberica (ISSN 1138-5952 - eISSN 1988-799X) in Research Gate.
02 March 2021 8,156 2 View
We are preparing some experiments based on irradiating cells under different conditions in order to evaluate the effects in terms of DNA damage, genetic expression, etc. As our project is...
01 March 2021 3,355 3 View
I am trying to set up a cortisol EIA using mouse anti-rabbit IGg as coating and a rabbit cortisol antibody as secondary ab. I am searching for a sensitive and specific cortisol Ab made in rabbit
20 February 2021 3,366 5 View
Good evening everyone. If a questionnaire has 4 factors measuring different constructs as for example CAMI questionnaire measuring attitudes toward the mentally ill that has four factors:...
18 February 2021 3,223 3 View
Hello everyone I would like to improve the buffer capacity of seawater (pH ~8) in order to dissolve as much CO2 as possible without dropping the pH below 7.5 (a range between 7 - 7.5 is...
17 February 2021 2,797 2 View
Hi, everyone Could someone recommend papers about Particle swarm optimization (PSO technique), using MATLAB, please? Thanks in advance
03 February 2021 3,811 6 View
I am conducting a state-of-the-art analysis of these concepts. If you have contributions, please, send me.
17 January 2021 1,123 3 View
Do they accept everything or they still pass them on a sieve?
12 January 2021 3,515 15 View
Hello, everyone: I've been reading some old and new papers on how to compute beta diversity using incidence or abundance data from several assemblages/communities. For my data, I am interested...
03 January 2021 9,293 1 View
Any recommendation to calculate time to dominant design emergence?
01 January 2021 3,809 5 View
Hello, good day! I am trying to simulate similar bimorph piezoelectric harvester with below commands. However, the output power doesn't change with resistor value. Please help to find the reason. ET,10,CIRCU94,0 !SET UP RESISTOR R,1,100000 !RESISTANCE VALUE TYPE,10 !SET ELEMENT TYPE E,1,2 !CREATE RESISTOR BETWEEN NODES 1 AND 2 Thanks in advance Regards,
02 March 2021 0 0 View
How do I do energy minimization in lammps with NVT ensemble ? I am using the following command and it does not seem to work. It stops at extremely high energy and gives me the error zero search...
01 March 2021 2,294 3 View
When explaining substitution models, the substitutions are expressed as Q matrix. Why is the sum of the elements in a row zero?
28 February 2021 3,864 3 View
It is said that fixed point theory has lot of applications not in the field of mathematics only but also in various areas. So I am looking for applications in Chemistry only..
26 February 2021 3,533 1 View
Recently I face some problems with the mathematical ( calculation) on the reference governor and command governor, so I need some help from you all to get which platform or journal can let me...
23 February 2021 7,746 2 View
I am refining my XRD data using in FullProf program. The intensity of the modulated X-ray peaks is almost flat. I tried to adjust the peak intensities but unsuccessful. What is the reason? I guess...
23 February 2021 2,304 4 View
Recently we used single staining to make a compensation matrix. But, for each single staining we saw that 13 to 25 percent of our negative population had been shown below Zero. In this situation...
21 February 2021 9,982 2 View
21 February 2021 5,601 3 View
I have a massive of x, y, z coordinates of 2D surface in 3D space, which builded in Ansys HFSS or AutoCAD. How can I get the analitical aproximation of this surface by formulas?
21 February 2021 3,444 7 View
I have two groups (unpaired) of plant biomass measurements and want to know whether there is a test that can be used to determine statistical significance where assumptions are not violated. The...
18 February 2021 1,258 4 View