Domanda


How do I pass a variable into a function containing a cell array?
I'm attempting to pass a variable into the following function; function Test_Message_Body_Builder(BLength) f = figure('N...

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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)...

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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 = { ...

circa 11 anni fa | 1 risposta | 2

1

risposta

Domanda


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...

circa 11 anni fa | 1 risposta | 0

1

risposta

Risposto
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...

circa 11 anni fa | 2

| accettato

Domanda


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...

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 11 anni fa | 2 risposte | 2

2

risposte

Domanda


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...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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 ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
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 ...

oltre 11 anni fa | 0

| accettato

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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 ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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) ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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....

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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 =...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Carica altro