# A Poyser

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**24** Questions

**0** Answers

RANK**214,052**

of 294,599

REPUTATION**0**

CONTRIBUTIONS

**24** Questions

**0** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**1**

RANK

of 20,131

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 152,091

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

**Feeds**

Question

I have some code that keeps failing to open and read two csv files out of four. Can someone explain what is wrong with either the code or the csv files

I have a piece of code that plots force extension, stress strain and then the average stress strain of four csv files. I have us...

2 months ago | 2 answers | 0

### 2

answersQuestion

I want to add two histograms with error bars to a piece of code I already have that is generating two plots

I have a piece of code that is currently calculating stress/strain and force/extension. It groups them into catagories based on...

2 months ago | 1 answer | 0

### 1

answerQuestion

how to specify numbers in an array with varying steps

I want to specify the a group of numbers in an array but they do not appear in even steps. I want to capture N1 (1 and 12), N2...

4 months ago | 2 answers | 0

### 2

answersQuestion

I have a function that adds a legend I want to make the legend group certain plots together yet so that instead of a legend with 14 entries there is a legend with 5 entries

I have managed to make a code that automates the plotting of data but I would like the code to group the plots into disticnt gro...

4 months ago | 2 answers | 0

### 2

answersQuestion

setting axes to a specific colour

I am trying to make a graph where all of the axes are black however the right y axes keeps being an uncontrolled colour % % ...

9 months ago | 1 answer | 0

### 1

answerQuestion

Badly conditioned equations - how can I centre and scale properly

After writing my own best fit line. I can see that the results are pretty great, however the equation is apparantly badly scaled...

11 months ago | 1 answer | 0

### 1

answerQuestion

How can I better control bestfit lines

I have a piece of code that generates a best fit line alongside error bars. As well as a best fit for a scatter graph. I am try...

11 months ago | 1 answer | 0

### 1

answerQuestion

How to replicate a graph from some data collected using webplot digitiser

I have two .csv files I made from webplot digitiser and I want to replicate this graph the csv files are called 'Strength_Mpa' ...

11 months ago | 1 answer | 0

### 1

answerQuestion

converting matlab into python using an official matlab add on

I have a bunch of code I want to to turn from matlab to python, while at the same time refactoring. Are there official add-ons ...

1 year ago | 1 answer | 0

### 1

answerQuestion

I have a code that I would like to modify to plot multiple items all together

I have this code % Matrix properties (Al2O3) Em = 380E3; % Young's modulus num = 0.22; % Poisson's ratio Vv_vals = [0.01, 0....

1 year ago | 1 answer | 0

### 1

answerQuestion

Silly question about 2 column matrix

It is my understanding that a = [1 3 5; 2 4 6; 7 8 10] yet AL01-SIGMA09 = [1183.885678 512.1; 568.8329716 ...

1 year ago | 2 answers | 0

### 2

answersQuestion

how do I turn a piece of code into a parametric optimisation

I have a piece of code that I would like to turn into a parametric optimisation clear close all % % Matrix properties (8552 ...

1 year ago | 1 answer | 0

### 1

answerQuestion

trying to multiply and divide different size matices

I am trying to make sense of this line cdp = cdp_initial + cdp_increment * (sigma_range / KIc) * N_cycles; However, the matri...

1 year ago | 1 answer | 0

### 1

answerQuestion

I am having issues concatenating arrays

I have a piece of code that I am trying to concatinate some arrays. I am being told that they are not consistent, and that vertc...

1 year ago | 1 answer | 0

### 1

answerQuestion

Plotting funtion scalar, or character error

I have a piece of code that labels a graph using the function below. ylabel('$\Gamma_I, \; R_{IC}$ (MJ/m^3)','FontSize',32,'Int...

1 year ago | 1 answer | 0

### 1

answerQuestion

recording a plot as a video & including a suitable legend

I have a plot that is drawing itself as it is being calculated. I would like to record it as the speed it is being calculated. I...

1 year ago | 2 answers | 0

### 2

answersQuestion

forcing the final column in a matrix to be zero

I want to make the final column to go to zero once I go past a certain flag number k = 10 a = zeros(1:k) if b < 1 a = ...

1 year ago | 1 answer | 0

### 1

answerQuestion

I want to create an if loop inside multiple if loops that are already present

I want to stop a piece of code once a certain variable goes past a certain number. I am not sure exactly where to put it but es...

1 year ago | 1 answer | 0

### 1

answerQuestion

finding the lines of code that are being printed to command line

I have a repository of code that works very well, but I am in the process of refactoring it. One of the problems is that it is ...

1 year ago | 1 answer | 1

### 1

answerQuestion

Preallocating an array or a vector in matlab before a for loop

I have several variables that I want to preallocate in my code before my for loop. I was hoping someone could show me the correc...

1 year ago | 2 answers | 0

### 2

answersQuestion

I have multiple spread sheets with multiple sheets that I want to write an indexing data import function for

I am trying to plot graphs from three spreadsheets. Each spreadsheet is made up of multiple sheets of varying length, all that a...

2 years ago | 1 answer | 0

### 1

answerQuestion

I would like to use matlab to add information from a .dat file to existing MatLab variables

I have a simulation that outputs a report in the .dat file format. I would like a piece of code that can use two line near the t...

2 years ago | 1 answer | 0

### 1

answerQuestion

generate 3d periodic geometry matlab

I would like to generate three dimensional periodoc images for academic pappers. One such image would be randomoly placed elipse...

2 years ago | 1 answer | 0

### 1

answerQuestion

Index exceeds the number of array elements. Index must not exceed 1.

This line of code is giving me the above error message T = k^2 * Em(k) * (((k^2 - mean_nu) * E(k) + mean_nu *crack_aspect_ratio...

2 years ago | 1 answer | 0