Community Profile # A Poyser

Last seen: Today Actif depuis 2022

#### Statistiques

• #### Content Feed

Afficher par

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

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

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

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

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

environ un mois 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...

environ un mois 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 = ...

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

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

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

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

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

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

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

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

réponse