# Richard Wood

**Statistics**

**MATLAB Answers**

**33** Questions

**0** Answers

RANK**30,625**

of 265,244

REPUTATION**1**

CONTRIBUTIONS

**33** Questions

**0** Answers

ANSWER ACCEPTANCE **
69.7%
**

VOTES RECEIVED**1**

RANK

of 18,125

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116,410

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

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

7 months ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 3 answers | 0

### 3

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 3 answers | 0

### 3

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 1

### 0

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 0