Thanks for the answer, its working for this particular vector. But here the condition is bit different. I mentioned from a parti...
Answered 2 years ago
I want to delete the element from a particular position in the vector as I have repetitive elements in that vector.
Asked 2 years ago
I have a vector which is having repetitive elements, and I want to delete the element from a particular position. A=[ 1 2 3 2 5...
2 years ago
I have two loops
for i = 1:m
for j = 1:n
hh = call_some_function
and hh is a structu...
Asked 24 days ago
I have a reference vector and I want to find a fixed k nearest neighbors from a matrix ?
How can I do it? Is there any direct w...
Asked 1 month ago
Hi I am using [idx,C] = kmeans(X,k), but sometimes it shows the error empty cluster at iteration 2. What is the possible cause o...
Asked 23 days ago
I have an abc.exe file which uses 3 input text files say p.txt q.txt and r.txt and generate z.txt as an output file.
This is ...
Asked 1 year ago
for i = 1:N
A= [a11 a12 a13 ...] % size is variable
% I want it should write in the file in this format
Join the conversation