Question


How do I get MATLAB to extract a specific value in an array?
I’ve got a 6 x 2 double that looks like this; AA = 1.5 1269.52132592592 ...

10 years ago | 1 answer | 0

1

answer

Question


Can REGEXP or TEXTSCAN be used to split 2 distinct data sets from a single text file?
I’ve got several text files containing data blocks that look like this; MSN_JET (0:31) Observation #1 Rx'd at: (58560.000)...

10 years ago | 2 answers | 0

2

answers

Question


Can using cell arrays produce unexpected matrix dimension errors?
I'm attempting to write default data values to a text file using the following code; Default_Cam_Data = { ...

10 years ago | 1 answer | 2

1

answer

Question


Can MATLAB’s ColorSpec predefined colors be changed/customized?
I’m working on a plot where, at times, 8 sets of data are being plotted using the gscatter function. I’m using MATLAB’s 8 predef...

10 years ago | 1 answer | 0

1

answer

Answered
How do I dynamically add markerfacecolors to gscatter plots?
Thanks nkjt. The gscatter function does contain the ability to add colors (it's in the part you have as '' before the marker...

10 years ago | 2

| accepted

Question


How do I horizontally concatenate the following 2 numerical arrays?
I have 2 separate arrays that I'm trying to concatenate. ND is a 2x6 double array as follows; ND = 58560 NaN 58561 -1100...

10 years ago | 2 answers | 0

2

answers

Question


How, if possible, do I limit the number of times REGEXP searches for a specific pattern?
I’m using a regular expression to search blocks of text that look like the following; MSN_BER (0:31) Observation #1 Rx'd at...

10 years ago | 2 answers | 2

2

answers

Question


How do I use REGEXP to match multi-digit values?
I've been reviewing the MATLAB Programmer's Guide in hopes of finding a solution to a current problem: How do I use REGEXP to ma...

10 years ago | 2 answers | 0

2

answers

Question


How do I dynamically add markerfacecolors to gscatter plots?
I've been asked to build an M-file to help automate some plotting activities which utilize the gscatter command. I've discovered...

10 years ago | 1 answer | 0

1

answer

Question


How do I get MATLAB to automatically build a column of cell array data based on an array of varying numerical values?
I've been asked to build an M-file to help automate some plotting activities which utilize the gscatter command. Specifically, u...

10 years ago | 1 answer | 0

1

answer

Question


Is there a way to disconnect lines between data points while utilizing the plot function?
Let's say I have the following lines of code; x = [1;2;3;4;5;6;7;8;6]; y = [10;20;30;40;50;60;70;80;30]; plot(x,y,'-o...

10 years ago | 2 answers | 0

2

answers

Question


How do I get MATLAB to automatically create a vector of unique values based on a known vector of values?
Let's say I have a vector of known values: A = [10;20;30;100;200;10;20;30;40;50]; I'm looking for a way to get MATLAB to a...

10 years ago | 2 answers | 0

2

answers

Question


Can MATLAB create a column of words based on integer values in another column?
I’m parsing out columns of data from several text files. One of the columns of data pertains to sub-assembly IDs with a possible...

10 years ago | 3 answers | 0

3

answers

Question


How do I associate specific values to specific verbiage?
I've got 2 arrays: A = [1; 2; 3; 1; 2; 3]; and B = [ ]; I need array B to contain [Lost; Found; Unk; Lost; Found; Unk] based...

10 years ago | 1 answer | 0

1

answer

Question


Can I display 2 legends while using the plotyy function?
I've been asked to add a 2nd legend to an existing M-file where the objective is to display altitude and SV IDs using the plotyy...

10 years ago | 2 answers | 0

2

answers

Question


How do I assign the updated values in a UITable to MATLAB’s base workspace?
So after some research, and advice from Arthur, I’ve decided to take an alternate approach to creating a GUI containing a combin...

10 years ago | 2 answers | 1

2

answers

Question


Is it possible to create a scrolling, programmatic GUI containing static text and editable text boxes?
I asked this question earlier, but failed to include all the details. I’m looking to create a GUI containing a combination of...

10 years ago | 1 answer | 0

1

answer

Question


Does Mathworks publish a compatability listing of their products?
I've been looking for a MathWorks reference that contains detailed information regarding the forward and backwards compatability...

10 years ago | 2 answers | 0

2

answers

Question


Is there a limitation to using the RESHAPE command in a for loop?
I have the following block of code: for BlockId = 1 : NumBlocks if isempty(bufferSplit{BlockId}) continue ...

11 years ago | 1 answer | 0

1

answer

Question


What would be the best approach to solve this data mapping problem?
I’ve got a large text file whose content looks like this; MSN_BER (0:31) Observation #1 Rx'd at: (58570.500) Msg. Time: (58...

11 years ago | 1 answer | 0

1

answer

Question


Is There A Method For Filtering Array Data Based On 2 Values?
I’ve got a < 12 x 2 double > array that looks like this; 58570 1 58571 1 58572 1 58573 2 58574 2 58575 7 58...

11 years ago | 1 answer | 0

1

answer

Answered
Can users pre-determine the legend location when utiliznig the gscatter function?
The current answer is no. Using the same example as above, the gscatter command will not allow the user to pre-position the ...

11 years ago | 0

| accepted

Question


Can users pre-determine the legend location when utiliznig the gscatter function?
I'm putting together an M-file where I include several group scatter plots. For unknown reasons, I'm unable to pre-determine the...

11 years ago | 1 answer | 0

1

answer

Question


Is there a way to get MATLAB to filter out specific rows in arrays?
I’ve been looking for a method to filter out specific rows of data in an array. I’ve got a < 750 x 3 double> array containg car ...

11 years ago | 2 answers | 0

2

answers

Question


Can REGEXP be utilized to ignore specific numerical values in a text file?
I’ve got a text file that contains thousands of lines such as the following: Code: 1 Firm ID: 5 Time Tag: 58000.00000000 ...

11 years ago | 1 answer | 0

1

answer

Question


How Can I Get MATLAB To Parse Data From 2 Arrays?
I’ve got 2 arrays that contain timed tagged data. For example, Array A contains 336 lines of data such as this: NaN 58000.5...

11 years ago | 1 answer | 0

1

answer

Question


How Do I Breakout and Store 2 Time Values In The Same String?
I’ve got a text file that contains hundreds of state times such as these: State Time: 12:00:00.123 (43200.123) ...

11 years ago | 1 answer | 0

1

answer

Question


Can REGEXP map values from different parts of a text file?
I have a text file with the following contents: MSNout_BER (0:31) Observation #100 Rx'd at: (58568.000) Msg. Time: (58568....

11 years ago | 1 answer | 0

1

answer

Question


Does MATLAB require a 2nd REGEXP to match data values obtained from a previous REGEXP?
I've got a set of commands that look like this: str = 'Part ID: 1 or Part ID: 2 or Part ID: 5 or Part ID: 10'; exp =...

11 years ago | 2 answers | 0

2

answers

Question


How do I get regexp to read specific values in a text file?
I have a text file containing numerous blocks of data that look like this: Type: 1 Part ID: 23568 Time Tag: 55012.12345678 ...

11 years ago | 3 answers | 0

3

answers

Load more