Question

Is it possible to automate my login to my Mathworks account using MATLAB?
In reading several posts, it appears that passing a username and password to a secure WEB site is possible. But it also appears...

5 years ago | 1 answer | 0

### 1

Question

How do I sort the rows in one array based on the row order of another array?
I have 2 matrices; C is 7 x 3 double and G is a 9 x 3 double; C = [1 1 0; 1 0 1; 0 1 1; 1 0 0; 0 1 0; 0 0 1; 0 0 0]; ...

5 years ago | 1 answer | 0

### 1

Question

How do I skip every other row of data in an array and write to a text file or another array?
I have an array (10 x 5 double) that looks like this; 2015 1a 1b 1c 1d 2015 2a 2b 2c 2d 2015 3a 3b 3c 3d 2015 4a 4...

5 years ago | 1 answer | 0

### 1

Question

How do I guage plotting speed when using the plot function?
I'm using the plot function to produce an XY plot of altitude versus time. The total number of data points is 21,834. Using the ...

5 years ago | 2 answers | 0

### 2

Question

How do I replace a single word in a text file while maintaining all other text?
I have a text file (Original_Text.txt) containing the following lines; ESPN is on sale Other text ESPN can be found her...

5 years ago | 1 answer | 0

### 1

Question

How do I convert a 3 x3 cell to a 3 x 1 cell?
I have a 3 x 3 cell matrix that looks like this; 1 1 0 1 0 1 0 0 1 I'm searching for a way (if possible) to convert ...

5 years ago | 1 answer | 0

### 1

Can MATLAB legend color order be changed as the legend element order changes?
Mike, you are correct. When changing the order of the strings, the colors didn't change. But when I changed the legend entries v...

6 years ago | 0

Question

Can MATLAB legend color order be changed as the legend element order changes?
Using the following code from the 'Specify Legend Descriptions During Line Creation' example in MATLAB help, I've created the fo...

6 years ago | 3 answers | 0

### 3

Question

Why is MATLAB 2015A placing the text box in the wrong location?
My group just upgraded to MATLAB 2015A. I've been running some previously developed scripts to ensure compatibility. In the proc...

6 years ago | 1 answer | 0

### 1

Question

Can MATLAB pre-format individual cells when writing data to an EXCEL spreadsheet?
I've been researching ways to manipulate data written to EXCEL spreadsheets using MATLAB. I came across the following example co...

6 years ago | 2 answers | 0

### 2

Why does playing an AVI file created in MATLAB not show the title, axes labels, or legend during playback?
Upon further review of the question posed by the MathWorks Support Team; Why does "getframe" capture frames with different sizes...

6 years ago | 0

| accepted

Question

Why does playing an AVI file created in MATLAB not show the title, axes labels, or legend during playback?
This is my first attempt at building up a MATLAB script which utilizes the VideoWriter class. I'm attempting to plot out some a...

6 years ago | 1 answer | 0

### 1

Question

Why does executing the Moving the Camera Through a Scene produce unwanted numerical values?
Hi, I'm experiementing with the camera functions in MATLAB and came across the Moving the Camera Through a Scene example in MATL...

6 years ago | 1 answer | 0

### 1

Is there a MATLAB function that allows users to include non-Greek symbols in legends and text boxes?
Right on, caught a good break with this one!! Thanks Strider!

6 years ago | 0

Question

Is there a MATLAB function that allows users to include non-Greek symbols in legends and text boxes?
Hi, I'm attempting to create a simple legend or textbox that includes non-Greek symbols and text. I'm using the following mod...

6 years ago | 2 answers | 0

### 2

Question

Why am I getting redundant legend (group) icon colors when utilizing the gscatter command?
Hi. I’m attempting to color code the legend (group) entries in a group scatter plot using the following code: % Clear out a...

6 years ago | 1 answer | 0

### 1

Question

Is it possible to get MATLAB to automatically associate legend icon colors with the applicable data?
I’m attempting to hard code colors to data in a 2D plot using the following code; % Clear out all variables from the Worksp...

6 years ago | 1 answer | 1

### 1

Question

Can legend marker symbols be hard coded in MATLAB?
I am creating simple 2-D line plots with diamonds as the marker symbols. When I add the legend to the plot, the result is as fol...

6 years ago | 1 answer | 0

### 1

How do I associate legend icons with the proper data?
Replaced the original legend function parameters with the following; legend([h(1) h(3)],{Source1, Source2}, 'Location', 'Nort...

6 years ago | 0

| accepted

Question

How do I associate legend icons with the proper data?
Iâ€™m generating a plot containing 2 sets of data (data set 1 & data set 2)) using the following code; h = plot(Pre_TALO_Ti...

6 years ago | 1 answer | 0

### 1

Question

Is it possible to connect 2 data sets while using the plot command?
I am using the following code to generate a 2-D line plots. figure('Name','Event Altitude','numbertitle','off'); axes('P...

6 years ago | 1 answer | 0

### 1

Question

How do I get MATLAB to automatically account for missing XTick labels?
I've run into a scenario where MATLAB won't include the final xtick in some plots. For example, if I use the following code; ...

6 years ago | 1 answer | 0

### 1

Question

How do I control the legend contents when the plot functions are within a for loop?
<</matlabcentral/answers/uploaded_files/14050/Elapsed_Time.png>> I'm running into a problem pertaining to legend control in s...

7 years ago | 1 answer | 1

### 1

Question

How do I obtain size data from multi loaded text files?
I'm loading up a pair of text files (from the working directory) containing numerical data with the following code; files =...

7 years ago | 2 answers | 0

### 2

Question

How do I convert a cell array whose dimensions are not equal?
I have a cell array that looks like this: mydata = [10x11 double] [5x11 double] Name Size ...

7 years ago | 1 answer | 0

### 1

Question

How do I extract a row of data from a cell array?
I have a 3 x 4 cell array, (a), that looks like this; 'Due' 55000 1 100 'WFR' 55100 2 200 'Due' 55200 20 300 whe...

7 years ago | 2 answers | 1

### 2

Question

How do I concatenate char and double classes?
I'm attempting to concatenate data of 2 different class types. The first type is of Class char, with the size being 7 x 11. ...

7 years ago | 2 answers | 0

### 2

Question

Can REGEXP be utilized in searching M x N matrix values?
The following text file contains numerous lines of data, including a 9 x 9 state covariance matrix: State Time: 13267.000 ...

7 years ago | 2 answers | 0

### 2

Question

Is there a way to build a defined set of colors which the gscatter command to accept?
Earlier this year I built a MATLAB script which produces group scatter plots for up to 8 data sets. This is a sample of that cod...

7 years ago | 1 answer | 0

### 1

Question

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

7 years ago | 1 answer | 0