Top 10% contributor
Hi I have a structure with one field e.g. select(i).c, where i=1,...,N. I want to find the index i for which select(i).c is none...
Asked 7 days ago
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 1 month 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 3 months 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...
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 ...
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