
A Poyser
Content Feed
提问
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 ...
2 months 前 | 1 个回答 | 0
1
个回答提问
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....
4 months 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 months 前 | 2 个回答 | 0
2
个回答提问
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 ...
4 months 前 | 1 个回答 | 0
1
个回答提问
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...
4 months 前 | 1 个回答 | 0
1
个回答提问
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...
4 months 前 | 1 个回答 | 0
1
个回答提问
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...
5 months 前 | 1 个回答 | 0
1
个回答提问
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...
5 months 前 | 2 个回答 | 0
2
个回答提问
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 = ...
6 months 前 | 1 个回答 | 0
1
个回答提问
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...
6 months 前 | 1 个回答 | 0
1
个回答提问
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 ...
6 months 前 | 1 个回答 | 1
1
个回答提问
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...
7 months 前 | 2 个回答 | 0
2
个回答提问
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...
10 months 前 | 1 个回答 | 0
1
个回答提问
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...
10 months 前 | 1 个回答 | 0
1
个回答提问
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...
10 months 前 | 1 个回答 | 0
1
个回答提问
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...
11 months 前 | 1 个回答 | 0