Quantcast
Channel: MATLAB Central Newsreader - tag:"find"
Browsing all 55 articles
Browse latest View live

Loop through cells stops at empty matrix error

Looping for finding the first index satisfying the statement through cells, when the results of "find" is an empty matrix, the loop stops with the error "Improper assignment with rectangular empty...

View Article



Re: Loop through cells stops at empty matrix error

"Engineer" wrote in message <m3ddtu$cvp$1@newscl01ah.mathworks.com>...> Looping for finding the first index satisfying the statement through cells, when the results of "find" is an empty...

View Article

Re: Loop through cells stops at empty matrix error

It works, many thanks for your time!

View Article

How to Obtain a Portion of an n-dimensioned Matrix

I have a 6 dimensional matrix with dimensions 16x20x22x6x3x13. I identified specific elements of that matrix with the following: y = find(spec_neg(:,:,:,:,:,1) ~= 0); Since y is now the indices of the...

View Article

Re: How to Obtain a Portion of an n-dimensioned Matrix

On 11/20/2014 9:44 AM, Jim wrote:> I have a 6 dimensional matrix with dimensions 16x20x22x6x3x13. I> identified specific elements of that matrix with the following:> y =...

View Article


Finding row number from matrix

Okay so I have a large data set, specifically from a weather balloon, which rises in height and then falls. I'm writing a script to use only the riseing data so I want to use the data up to the row...

View Article

Re: Finding row number from matrix

The MAX command    [C,I]=max(data(:,8)); will return the max value in C and the index (row number) in I. The way you have it written, the MAX command returns the maximum value (a scalar). When you then...

View Article

Use find in range of indices

I often need to do searches in various portions of a vector but I don't want the indices based on the portion but on the whole vector. Is there a more formal way than doing this: find(y(5:10))+5-1

View Article


Re: Use find in range of indices

On 02/03/2015 11:54 AM, Neuron wrote:> I often need to do searches in various portions of a vector but I don't> want the indices based on the portion but on the whole vector. Is there> a more...

View Article


Re: Use find in range of indices

that's right thanks

View Article

Finding Position in Matrix/Array

I need help identifying where certain parts of an array are. So for example, I have an array of letters example = OOOOOOOOOOO               OOOOOOOOOOO               OOOOOOPOOOO...

View Article

Re: Finding Position in Matrix/Array

help FIND Bruno

View Article

Re: find and replace string in a text file

Hi, Am new here. I tried the above comments. **************************** Input file was: Hello 9912 1345l; 890 12 #Now go on What? Ok... ******************************* Afetr replaceing ''Hello'' with...

View Article


Re: find and replace string in a text file

Hi, Am new here. I tried the above comments. **************************** Input file was: Hello 9912 1345l; 890 12 #Now go on What? Ok... ******************************* Afetr replaceing ''Hello'' with...

View Article

How to get fractional values from a vector

I am using glpk solver for getting the LP variable values of a minimization problem in xmin. xmin is a vector containing 0, 1 and some fractional values. then I want to get the fractional values among...

View Article


Find two elements which give a fixed sum

I tried to solve this problem: find the value of both x1 and x2 in the following expression c1= a1*x1+a2*x2 where: c1 is a given value a1 and a2 are constants x1 is bounded between 1400 and 1650 x2 is...

View Article

Re: Find two elements which give a fixed sum

"Edoardo" wrote in message <mpb39b$1kb$1@newscl01ah.mathworks.com>...> I tried to solve this problem:> > find the value of both x1 and x2 in the following expression> > c1=...

View Article


Re: Find two elements which give a fixed sum

"someone" wrote in message <mpdc5s$air$1@newscl01ah.mathworks.com>...> "Edoardo" wrote in message <mpb39b$1kb$1@newscl01ah.mathworks.com>...> > I tried to solve this problem:>...

View Article

Re: Find two elements which give a fixed sum

"Edoardo" wrote in message <mpb39b$1kb$1@newscl01ah.mathworks.com>...> I tried to solve this problem:> > find the value of both x1 and x2 in the following expression> > c1=...

View Article

find function does not work?R2015a

Hi, I took this example from Matlab help "Elements Equal to Specific Values To find a specific integer value, use the == operator. For instance, find the element equal to 13 in a 1-by-10 vector of odd...

View Article
Browsing all 55 articles
Browse latest View live




Latest Images