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

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

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

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

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

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

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

casi 4 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 4 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 4 años hace | 1 respuesta | 1

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

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

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

1

respuesta

Pregunta


How to deal properly with a fitting to a non-linear curve nested in a for loop
Hello everyone, I am dealing with the following situation. I have the following arrays in my workspace: data_set_elastic (300...

alrededor de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Two-dimensional colormap
Hello everyone, I have the following arrays: spatial_grid(30001x1 elements), physical_time_elastic (2431x1 elements), and dat...

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

1

respuesta

Pregunta


Redistribution of elements of various arrays into a single multidimensional one
Hello everyone, I am trying to figure it out how to associate each element of a one-dimensional array (let's call it array1), l...

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

1

respuesta

Pregunta


How to deal with a large amount of data in MatLab and create individual data sets each 30000 elements
Hi everyone, I have a huge data set in .dat format, of about 5 GB. Of course, my computer takes a lot of time to deal with this...

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

1

respuesta