**Statistics**

**MATLAB Answers**

**24** Questions

**0** Answers

RANK**80,208**

of 258,307

REPUTATION**0**

CONTRIBUTIONS

**24** Questions

**0** Answers

ANSWER ACCEPTANCE **
83.33%
**

VOTES RECEIVED**0**

RANK

of 17,801

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110,418

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Fitting a straight line to a set of 3-D points

Hi there, please can someone help me fit a straight line to my data? It's in 3-D I have done it in 2-D before but have no idea...

3 years ago | 1 answer | 0

### 1

answerQuestion

Calculating Error and intercept on a log plot

Hi there, this is the code/ data I have. Please note I have already taken the logs so that the data is scaled appropriately. ...

3 years ago | 1 answer | 0

### 1

answerQuestion

export frequency data from a histogram

Hi there, I have a histogram that looks like this: and I would like to extract the frequency data (y-data) so I can make a s...

3 years ago | 1 answer | 0

### 1

answerQuestion

using nchoosek to gather possible combinations of data

Hi there , I am trying to use 'nchoosek' for the data that i have that contains 15 sets of x,y,z coordinates. I want to find al...

3 years ago | 1 answer | 0

### 1

answerQuestion

plot texture map for Turkey

Hi there! I am wanting to plot an image similar to the one below but for Turkey/ Middle East. This is the code I have: h=...

3 years ago | 0 answers | 0

### 0

answersQuestion

compute iterations to calculate pairs of data that do not repeat

Hi there I have 15 sets of x,y,z data points. I want to compute 105 possible combinations of these points using a computational ...

3 years ago | 1 answer | 0

### 1

answerQuestion

Plot data points as points when using 'errorbar'

Hi there, I am trying to plot errorbars around my datapooints. The relevant command I am using is below ( script relies on oth...

3 years ago | 1 answer | 0

### 1

answerQuestion

Getting the correct y-intercept and gradient for a trend line using 'fit'

Hi there, I have this code and I would like to get the correct y-intercept (and gradient) for my slope. You can see from the i...

3 years ago | 1 answer | 0

### 1

answerQuestion

using 'fit' to add a trend line to series of scatter points

Hi there, I am trying to add a trendline to a series of scatter points that represent geographic locations and have an estimat...

3 years ago | 1 answer | 0

### 1

answerQuestion

plotting a series of lines with specified colours

Hi, I am trying to plot a series of lines on a single plot in Matlab2018. I have specified the colours correctly and checked t...

3 years ago | 1 answer | 0

### 1

answerQuestion

Plot frequency along the y-axis without using a histogram

Hi there, I am trying to generate a plot like this (please see image attached) and I have an example of my data/ code below. Ple...

3 years ago | 1 answer | 0

### 1

answerQuestion

Using two colormaps on the same image (no subplots)

Hi there, I have this code as shown below and I am trying to plot a colormap for topography first and then plot some data as a s...

3 years ago | 1 answer | 0

### 1

answerQuestion

Extract all numbers from a matrix that also contains NaN into a single vector

Hi there I have a large matrix that contains numbers (both positive and negative) and NaN. I need to find the median of this mat...

3 years ago | 1 answer | 0

### 1

answerQuestion

Change the aspect ratio of x,y to plot Longitude and Latitude correctly ( I have the conversion needed- need help implementing it)

Hi there, I am wanting to change my x,y axis to reflect true longitude and latitude scales. The conversion is: 1 degree of l...

3 years ago | 1 answer | 0

### 1

answerQuestion

Add les than or equal to inequality to my legend

Hi there, Is there a way to get inequalities to display normally in a plot legend e.g. >= Many Thanks

3 years ago | 1 answer | 0

### 1

answerQuestion

Specify color to plot in using cellfun(@(B) plot(B(:,1), B(:,2)), blocks)

Hi there, i am using this function to plot a series of data. My data is a combination of blocks and it is showing them on the ...

3 years ago | 1 answer | 0

### 1

answerQuestion

How do I read data (from a .dat file) seperated by lines of text into individual vectors

Hi there, I am struggling to read in a .dat file correctly. The file has a bunch of headers starting with #s at the beginning ...

3 years ago | 1 answer | 0

### 1

answerQuestion

Plot ellipsoids with an azimuth angle

Hi there, I have found this code online to plot an ellipse. However, the data I have contains the azimuth of the ellipse. How ...

3 years ago | 1 answer | 0

### 1

answerQuestion

if statement for colour coding data

Hi, I have latitude, longitude and depth data. I am wanting to create a 2D plot of Lat Vs Long and plot the depth shown as a...

3 years ago | 1 answer | 0

### 1

answerQuestion

Fill my plot with a colour

Hi I have made the attached image but want to fill the plot inside with the colour: [1 0.92 0.8]. Does anyone know how to do t...

3 years ago | 1 answer | 0

### 1

answerQuestion

3d plotting of Lat, Long and depth

Hi, I am trying to create a 3D plot - please see attached image. However, i need to flip the scale so that the depth (km) in...

3 years ago | 1 answer | 0

### 1

answerQuestion

Plot .grd file

Hi there, I am relatively new to matlab and am using it for a very important project. I am hoping to use a .grd file to plot a t...

3 years ago | 1 answer | 0

### 1

answerQuestion

Plot markers as a continuous line

Hi there, I am trying to plot lots of points representing a seismic fault over some topography. I am plotting the data in the fo...

3 years ago | 2 answers | 0

### 2

answersQuestion

What is the decimal RGB scale used in Matlab called?

Hi there, I have been trying lots of websites to find colours for my plots. The colours i find on webistes that are RGB are on...

3 years ago | 3 answers | 0