for example i have this as an input
1 2 3 4 5 6 7 8 8 9 10 10
i want
1 2 3 4 5 6 7 8 9 10 as output
how can i do that ????
Hello,
if "r" is a vector or a matrix, you can use UNIQUE:
UNIQUE Set unique.
UNIQUE(A) for the array A returns the same values as in A but
with no repetitions. A will also be sorted. A can be a cell
array of strings.
UNIQUE(A,'rows') for the matrix A returns the unique rows of A.
[B,I,J] = UNIQUE(...) also returns index vectors I and J such
that B = A(I) and A = B(J) (or B = A(I,:) and A = B(J,:)).
See also UNION, INTERSECT, SETDIFF, SETXOR, ISMEMBER.
I want to analyse the pressure changes due to dimples in flat plate when subjected to heating along with constant heat flux at bottom of the plate and air flow on the top
02 March 2016 6,513 0 View
I have a job waiting so i need to complete my PHD fast
01 February 2016 6,587 0 View
i am providing a constant heat flux at the the bottom of aluminuim plate and want to know the time dependent temperature distribution of the top surface i also want to extract the contour of top...
31 December 2015 1,653 6 View
I want to explore the long-term effects of incarceration on a youth's developing brain. I also want to explore research that looks critically at incarceration and punitive measures as the primary...
12 August 2024 862 0 View
I need to model an anisotropic material in which the Poisson's ratio ν_12 ≠ ν_21 and so on. Therefore, the elastic compliance matrix wouldn't be a symmetric one. In ANSYS APDL, for TB,ANEL...
09 August 2024 5,048 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,242 2 View
One can try to generalize the Vandermonde determinant in the following direction: Let $A$ be any symmetric $n$-order square matrix. Consider its powers' diagonal elements $(A^k)_{ii}$ and...
08 August 2024 6,690 1 View
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons: 1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to...
07 August 2024 7,013 4 View
I would like to understand potential safety concerns while handling SEB in the lab. Especially while working in animal house facility. Would like to know precautions for handling. Sigma MSDS...
07 August 2024 6,034 3 View
During low-temperature testing, new diffraction peaks that appear could be indicative of several phenomena. In one of our tests, we observed notable new peaks around 40° and 45° in a specific...
06 August 2024 726 3 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
Do experiments on behalf of Our Business: Laboratory animal rearing Animal modeling Experimental animal behavior detection, image ultrasonic detection, electrophysiology platform Organoid...
05 August 2024 5,829 1 View
Have you ever seen a LC-MS/MS method uses both internal standards and external standards (in matrix matching purpose) but the concentrations of internal standards are outside the calibration curve...
05 August 2024 3,084 6 View