Domanda


Localize the third vector position using regexp
Hello everyone, I am analyzing some data files in a loop, which look like this: #---------------------------------------------...

11 mesi fa | 1 risposta | 0

1

risposta

Domanda


Equally spaced figures in tiledlayout environment
Hello everyone I have generated the following image through the tiledlayout environment: which I have generated through the ...

12 mesi fa | 1 risposta | 0

1

risposta

Domanda


Replication of a colorbar in MatLab
Hello everyone I am trying to impement this colorbar: My attempt has been the following: colorA=[192 148 92]./255; colorB=...

12 mesi fa | 1 risposta | 0

1

risposta

Domanda


How to deal with files in which rows have different numbers of columns
Hello everyone I'm trying to deal with the loading and manipulation of a file (with a different extension than .txt and .data),...

12 mesi fa | 3 risposte | 0

3

risposte

Domanda


Manually modifying title position in tiledlayout environment
Hello everyone I was wondering if it is possible to manually modify the overall title position in the tiledlayout environment. ...

12 mesi fa | 1 risposta | 0

1

risposta

Domanda


Smooth 2D colormap based on non-evenly distributed data
Hello eveyone I am trying to find an optimal way to represent, in a smooth 2D colormap, the data that I am attaching in this po...

12 mesi fa | 2 risposte | 0

2

risposte

Domanda


Applying a color for each pair of spherical angles through the hue and lightness parameters
Hello eveyone I have characterized which is the the polar and azimuthal angles of a vector representation in each point of a 2D...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


How to avoid pop-up that overlaps all programs
Hello everyone I'm currently running some long calculations that involve the inpaint function (https://es.mathworks.com/matlabc...

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


Quality/compression problem using VideoWriter
Dear all I have a problem with the sharpness with which my videos are generated by VideoWriter compared to when I individuall...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Non-pixelized image using imagesc (or alternatives)
Hello everyone I have generated an image using imagesc, which looks like this The problem is that you can see the pixe...

oltre un anno fa | 3 risposte | 0

3

risposte

Domanda


About the use of imagesc
Dear all I am using imagesc to generate a figure using MatLab. I have something like this: space_x=linspace(0,40,115); s...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Exact replication of a colorbar
Dear all I have been asked to replicate the exact colorbar scheme that I put in the attached figure. How could I do this? ...

oltre un anno fa | 3 risposte | 0

3

risposte

Domanda


Replicate a colormap in MATLAB
Hello everyone I have been asked to replicate this type of color coding based on the value of angles in spherical coordinates...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


Initial conditions in a fitting
Hello everyone I'm trying to figure out the impact of boundary conditions on a fitting. The file where my fitting is defined ...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 4 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 1

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Carica altro