Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi there...
I have a matrix as:
a = [1 3 2 6 8 9 6]
can anyone tell how I would be able to get the index of the element(s) for 6. Here the answer should be [4,7]. It should be in matlab.
Thanks in advance. :)
-JML
Hi there,
I would like to impose two condition on a matrix
1. if the value is less than -1, then the value of respective element will be zero
2. if the value is greater than 1, then the value of respective element will be zero
I need to do it by one command (I don't want to use for loop since...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.