photo

A Poyser


Last seen: 21 jours il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 4

Afficher les badges

Feeds

Afficher par

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

3 mois il y a | 2 réponses | 0

2

réponses

Question


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

4 mois il y a | 1 réponse | 0

1

réponse

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

5 mois il y a | 2 réponses | 0

2

réponses

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

5 mois il y a | 2 réponses | 0

2

réponses

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

11 mois il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 1

1

réponse

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

presque 2 ans il y a | 2 réponses | 0

2

réponses

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

presque 2 ans il y a | 1 réponse | 0

1

réponse

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

presque 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse