Community Profile

# Richard Wood

Last seen: 2 días hace Con actividad desde 2020

Ver insignias

#### Content Feed

Ver por

Pregunta

Upload files with almost the same name in different components of a matrix
Dear all Let's imagine that I have multiple files in my current folder, which are as follows: spins-00000000.data, spins-0000...

2 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Creation of a fitting function with if conditions involved
Hello everyone I am trying to create a fitting function in a separate script from where I'm handling the data (let's call the...

12 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Put arrows on a continuous line plot to show direction of evolution
Hello everybody What I am trying to do is yo show, through, for example, the quiver function, the direction of evolution of my ...

más de 1 año hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Iteratively rename a .txt using writematrix
Hello everybody, I have created the following array: substrates={'MgO' 'SiO2' 'W' 'Al2O3' 'Sapphire'}; What I want to do is, ...

más de 1 año hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Impose a numerical limit on the value of a sum of two vectors
Hello everyone I want to sum two arrays, let's say a1 and a2. However, I seek that the sum, element by element, of these vect...

más de 1 año hace | 3 respuestas | 0

### 3

respuestas

Pregunta

Solve a system of three coupled first-order differential equations
Hello eveyone, I'm trying to solve the system of coupled first-order differential equations that appears in the PDF that I atta...

alrededor de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Construct an array from the position of a certain value in a matrix
Hello everyone Let's assume we have a matrix, which I attach, matrix.dat, which has 220x200 elements (https://we.tl/t-KwSPQEs...

más de 2 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

Obtain a random number from a truncated normal distribution
Hello everyone, I want to obtain a random number from a truncated normalized distribution. Let's say that we have the followi...

más de 2 años hace | 3 respuestas | 0

### 3

respuestas

Pregunta

Load sequential numbered files in MatLab on the same script in different subfolders
Hello everyone, Let's imagine I have my MatLab script at the following address: "C:\Users\890384\Desktop\MatLab". Inside thi...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problems using the curve fitting app
Hello everyone, I'm a bit stuck on how the curve fitting toolbox works. I attach the data with which I am working, where "mx_...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How to change the plot title and file name when saving it to a for loop
Hello everyone I have the following arrays of relevance to the question: substrates=["MgO" "SiO2" "W"]; substrates_title=["...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Creation of a colorbar with quantized solid block-like colors and 180º rotation of the colobar label
Hello everyone, I am dealing with the following type of figure u1=figure(i) imagesc(pulse_duration.*(10^(12)),amplitu...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Storing different values on a matrix depending on the last value of some arrays on concatenated for loops
Hello everyone, I am evaluating a problem that requires the resolution of a second order differential equation, which must b...

más de 2 años hace | 0 respuestas | 1

### 0

respuestas

Pregunta

Solve a second-order differential equation with an array parameter that does not depend explicitly on the independent variable
Hello everyone, I am trying to solve a second-order differential equation, which includes a parameter whose value for each step ...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Resolution of a second-order differential equation for multiple variable parameters
Hello everyone, I am trying to solve a second-order differential equation, given by Eq. (1) in the document attached in this ...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Convert a 1x1 cell to a .dat file
Hello everyone I am trying to do, probably, a very simple task. Actually, I have in my workspace a variable called 'sol', whi...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Resolution of a second-order differential equation for different regions controlled by an external parameter
Hello everyone I am trying to perform a time integration to a second-order differential equation numerically. The objective i...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Curve fitting to a non-linear created equation
Hello everyone I have a doubt concerning a fitting that I am trying to obtain. Suppose my independent variable is called "spa...

casi 3 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

Solve numerically a system of first-order differential equations
Hello everyone, I have the following set of coupled first-order differential equations: a*x'/z+y'=b; x'/z-a*y'=c*sin(2*y); ...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Smoothing of noisy data
Hello everyone, I want to smooth my data, which looks like It is possible to see a trend, more or less. Using smooth(data) ...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Frequency extraction of multiple monochromatic waves from a multidimensional array
Hello everyone, I describe what files I have attached in this question (see them here: https://wetransfer.com/downloads/b1b57...

casi 3 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

Save an array with multiple rows and columns in .txt file
Hello everyone, my question is very simple. I have a big array (30001x2434 elements), and I want to save all the data in .txt...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Creation of a .dat files in a for loop
Hello everyone, I am trying to do the following. Let's imagine that you have the following arrays: mx_inelastic (30001x2434 e...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Phase diagram of a second-order differential equation
Hello everyone I have solved a second-order differential equation, and as a result of it I have obtained the values of an ang...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Damped harmonic oscillator fitting
Hello everyone, I am trying to fit my data to a damped harmonic oscillator with functional form: mx=A*cos(omega*time-phi)*exp...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How to save the value of some variables in a .dat file inside a nested loop in the function environment
Hello everyone, I am trying to create a .dat file on each for loop of a function enviroment file. The code looks like: for...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Concatenation of three-dimensional arrays
Hello everyone, I am trying to concatenate two three-dimensional arrays inside of a double for loop: for i=1:length(Tempe...

casi 3 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

ode45 inside a nested loop
Hello everyone, My situation is the following. I want to solve a second-order differential equation, where the parameters inv...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Solve a second-order differential equation with constant parameters changing through an external parameter
Hello everyone, I know that this a very vague question, but I am quite lost in this aspect, so I am asking for some help to b...

casi 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Create a .avi through VideoWriter
Hello everyone, I am trying to replicate the approach given in this example: https://es.mathworks.com/matlabcentral/answers/7...

casi 3 años hace | 1 respuesta | 0

respuesta