Miguel Cardoso
Followers: 0 Following: 0
Feeds
提问
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 0-by-1.
There is a lot of questions here on the community but no one answer porperly my question. Here is the code: load('data.mat') ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Import data from text file
Hi! I am trying to import some data automatically from a text file. filename = 'textfile.dat'; delimiterIn = ''; headerlines...
4 years 前 | 1 个回答 | 0
1
个回答提问
Birch–Murnaghan equation of state
I adapted a function from https://gist.github.com/tboland1/f02c68f2f2d064fdff16e63ed8ad6e86 to perform the Birch–Murnaghan equat...
4 years 前 | 0 个回答 | 0
0
个回答提问
Find a row in a matrix
Hi! I have a generic matrix with random numbers (-1 and +1). M=[ 1 -1 1 -1 1 1 1 -1 -1 1 -1 1 % <----- this row...
4 years 前 | 1 个回答 | 0
1
个回答提问
"Or" statement and "not equal to" signal
Good night! I have a matrix (I will give as an example M) with three columns and N rows, where M(:,1) and M(:,2) varies between...
4 years 前 | 1 个回答 | 0
1
个回答提问
Writing 2 vectors within matrix
Hi! I have 2 vectores I where are written the indexes of a matrix M and J which are the values that I want to write on matrix M...
5 years 前 | 1 个回答 | 0
1
个回答提问
Save arrow vector which changes its length during a loop
Hey! I'm trying to save on my workspace an arrow variable (I & J) which shanges its length during the loop. Hope you can help...
5 years 前 | 0 个回答 | 0
0
个回答提问
Find minimum value out of a 3D contour plot
Hi! I plotted a contour graph and I want to find its minimum value i.e. without using a thinner mesh. However, I do not know wh...
5 years 前 | 1 个回答 | 0
1
个回答提问
load .mat files into a loop
Good morning! I have extracted CoTiVGa0.mat, CoTiVGa01.mat, CoTiVGa02.mat ... etc arrays from a previous excel document, and I ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Fortran code to MatLab converter (f2matlab)
Hey! I'm trying to convert a Fortran code to MatLab that I found at the appendix of this article (https://quark.phy.bnl.gov/~c...
5 years 前 | 0 个回答 | 0
0
个回答提问
Find all possible combinations of 2 vectores (spin) of a system with N atoms with pondered distance
Hello! I wanna take a tridimensional system of atoms, calculate the distance between them and all possible combinations of spin...
5 years 前 | 1 个回答 | 0
1
个回答提问
Find the desirable string and read data below them
I just started working in my master thesis with SPR-KKR and I need to get the XC-coupling constants J_ij [eV]. I would like to c...
5 years 前 | 1 个回答 | 0