i have a vector 1*512 size, i want to take the first value every 8 elements and put these elements at the end of the vector,how to do this on matlab ?
Dear Mai adel Mohamed ,
Welcome!
You can follow the instructions in the link:https://www.mathworks.com/matlabcentral/answers/247874-how-to-select-specific-elements-in-a-matrix
You can select the the data in the position you intend and then after that you can append the selected array to the original one!
Best wishes
You may try the following
for I = 1: 8:512
x(end +1) = x(I)
end
but in this case the vector will not be of fixed size. It keeps updating.
Hopefully this will help you.
Regards
Saleh Albashrawi
thanks for your reply, but i need it to be fixed 512 , can you help me
Abdelhalim abdelnaby Zekry
Thanks Dr for your reply . i mean i need to do like this example
if v= [ 1 2 3 4 5 6 7 8 9 10] and lets say i will move every 2 bits so i need to have this at the end
x= [ 2 4 6 810 1 3 5 7 9]
I have selected brain tumor images ...but now found that already lots of research done n this topic.
03 March 2021 5,774 3 View
Is it possible to induce site-directed substitution mutation by quick-change method on linear dsDNA? or it has to be cloned in some vector? If yes, should it be treated with the Dpn1 enzyme...
03 March 2021 401 4 View
i am try to classify the x-ray images. During classification , can i block unwanted images (except x-ray image).
03 March 2021 7,100 1 View
Need to image mesoporous silica nanoparticles using the TEM. Also, need high resolution TEM images to see the mesoporous structure. Kindly suggest what kind of grids to use. Thanks, Shatadru
02 March 2021 1,787 2 View
I have an input video, of skin (from a microscope that means it is magnified such that blood capillaries are visible). The idea is to extract 15 sec of continuous frames from a video of 1 min,...
02 March 2021 2,735 2 View
Dear Colleagues, After running Western blot on PVDF membrane and detection using ECL, I would like to stain my PVDF with colloidal gold to be able to allign the ECL image with total proteins on...
02 March 2021 7,829 3 View
I would like to research on MR images (0.5T and 3T). Can you please suggest some websites that I can download dataset including both 0.5T and 3T MR images? Thank you.
02 March 2021 7,735 3 View
I need a procedure to extract the ciprofloxacin hydrochloride from aqueous solution by using dichloromethane in detail,. I thank you very much.
01 March 2021 4,306 1 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
Hello, I have classified 10 S3 OLCI images from the same area (althouth not the same size and/or quadrant) and I would like to do a final image using the mode of the pixel of these 10 images. I...
01 March 2021 9,874 3 View