# HC98

**Statistics**

**MATLAB Answers**

**16** Questions

**0** Answers

RANK**76 314**

of 258 223

REPUTATION**0**

CONTRIBUTIONS

**16** Questions

**0** Answers

ANSWER ACCEPTANCE **
6.25%
**

VOTES RECEIVED**0**

RANK

of 17 799

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110 372

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

How to stop seperate axes plotting over the top of one anotner?

I have some code which plots on the same figure a smaller set of axes to zoom in on a specific area of the plot. This works grea...

15 dagar ago | 1 answer | 0

### 1

answerQuestion

Findpeaks with multiple columns

So I have an array which is sized at 2000 x 100, called bdata. I want to use findpeaks to determine the peaks in every column of...

3 månader ago | 1 answer | 0

### 1

answerQuestion

extracting columns from arrays within a cell

I have a cell consisting of 8 2x1 arrays and I want to extract the second column from them all. Usually, i'd use k = cell2mat(...

6 månader ago | 1 answer | 0

### 1

answerQuestion

For loop to read in sequentially named .txt files

I have a batch of txt files named "0, 2, 4, 6, 8".txt and wondered if there was a way for me to read them all in as one batch us...

6 månader ago | 1 answer | 0

### 1

answerQuestion

How to assign a list of variables to an array efficiently

I have a list of variables: a = 1; b = 4; c = 7; d = 8; e = 9; And want to convert them into an array. It doesn't seem ...

6 månader ago | 1 answer | 0

### 1

answerQuestion

poly1 gives error "insufficient data"

I'm using poly11 to fit some data and keep getting this error Error using fit>iFit (line 269) Insufficient data. You need a...

8 månader ago | 0 answers | 0

### 0

answersQuestion

Using a loop to impose specific values

Let's say I have a range of x going from -200 to + 200 and I want to force a function to take different initial conditions in th...

8 månader ago | 1 answer | 0

### 1

answerQuestion

How to specify a row and column in an array

So I have a 5x80 array and want to write a section of code which subtracts row 1, column 1 from row 2 column 1. How might I do t...

11 månader ago | 1 answer | 0

### 1

answerQuestion

Fitting a plot with interpolation

I need to interpolate some data involving a logarithm using the fit function but I'm not sure how to interpolate in matlab. Gene...

11 månader ago | 1 answer | 0

### 1

answerQuestion

Using Taylor Expansions: how to impose 'large' approximations, i.e., "for large x"?

Say I have a function: and I want to see what happens in the region of large x, i.e., I Taylor expad f(x) in the region of...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

translating commands from python

So I'm trying to translate the following code from Python: def chabrier03individual(m): k = 0.158 * exp(-(-log(0.08))**2/(2 ...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Why does my <= statement not work?

I'm running a simple loop that applies a less than or equal to inequality to a value. Unfortunately, it is overlooking this valu...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Plotting the stellar IMF and setting for loop conditions

Hi all, I'm trying to plot the stellar IMF using MATLAB and want to transfer the following Pyhon code: m = logspace(-2, 2, 400...

mer än 2 år ago | 0 answers | 0

### 0

answersQuestion

My quiver plot seems to go flat when I am plotting a coupled ode.

So the ODE system reads: and my code reads: [x, y]=meshgrid(-2:0.6:4) dx = 3*(x-1)*y; dy = 2-x-y^2; quiver(x, y, dx, dy...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Getting a for loop to save a plot every step

Good evening, I'll keep this brief but I'm looking to see how I can write a for loop which takes a range of constants, appli...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How to generate a for loop which saves a figure at a given interval?

Hello, I'm designing a piece of code which plots a contour of a field I called rho in the code. I am encountering some difficu...

mer än 3 år ago | 1 answer | 0