photo

A Poyser


Last seen: 26 days ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


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

27 days ago | 2 answers | 0

2

answers

Question


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

28 days ago | 2 answers | 0

2

answers

Question


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

7 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

12 months ago | 1 answer | 0

1

answer

Question


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

answer

Question


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

answers

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answers

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer