Community Profile

photo

Miguel Cardoso


Last seen: ungefär 3 år ago Active since 2019

Statistics

  • Thankful Level 3
  • First Answer
  • Revival Level 1

View badges

Content Feed

View by

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


Import data from text file
Hi! I am trying to import some data automatically from a text file. filename = 'textfile.dat'; delimiterIn = ''; headerlines...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Birch–Murnaghan equation of state
I adapted a function from https://gist.github.com/tboland1/f02c68f2f2d064fdff16e63ed8ad6e86 to perform the Birch–Murnaghan equat...

nästan 4 år ago | 0 answers | 0

0

answers

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

mer än 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 5 år ago | 0 answers | 0

0

answers

Question


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

ungefär 5 år ago | 1 answer | 0

1

answer

Question


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

ungefär 5 år ago | 1 answer | 0

1

answer