photo

Srh Fwl


Last seen: alrededor de 2 meses hace Con actividad desde 2020

Followers: 0   Following: 0

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


How can I access the value of a string variable? I need to construct a file path from a string variable, but keep getting the variable name and not the string.
I want to construct a file path, "f" that I will use many times in a Matlab m file. From advice in an answer to someone else's ...

7 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


How to add a cumulative constant to all values on each row of a matrix, starting from the bottom row and ending at the top row?
I have a matrix that is very large. A small example is: 1 2 3 1 2 3 1 2 3 I need to add a constant to each row, star...

8 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


I have two tables. How can I compare the values in the first column of each table, then do a calculation if the values are equal?
I imported data from two separate files. The data are stored in two separate tables. Each table contains columns of data. The...

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Contour plot: distorted contours and blank spaces in plots.
I would be grateful if someone would please help me understand how to use "contour." The plot below shows what I have so far...

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

2

respuestas

Pregunta


Fill area inside a single curve with color without an outline?
https://uk.mathworks.com/matlabcentral/answers/522591-fill-inside-a-polygon-with-a-color The data below form an almost-closed c...

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

1

respuesta

Pregunta


Interpolation based on three arrays. Problem: entering values for two parameters to get a third gives me the nearest input data values (no interpolation).
I have measured temperature, pressure, and volume of something and now have a file where there are three columns: T, P, and V. ...

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

1

respuesta

Pregunta


Is it possible to use Matlab to get expressions for the coefficients in polynomial regression? (I.e., not just constant coefficients)
I'm trying to modify one section of an old code so that it uses my new data for one of its parameters. The code expresses an eq...

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

2

respuestas

Pregunta


How can I fill in the area between two curves? The curves are not the same length and also don't form a closed shape.
The plot at the top is an example of what I have. There are two data series. The top series (filled squares) represe...

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

1

respuesta

Pregunta


How can I identify only the first or first two local minima from "islocalmin" and then display it in a table on a plot?
I have plots that look like the example below. There are several curves that look like horizontal waves. For each one, there i...

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

1

respuesta

Pregunta


Plot design resources?
I'm not sure if this is an appropriate question for the forum. If it isn't, please let me know. I routinely make Matlab line...

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

1

respuesta

Pregunta


How can I find the Y value on an X–Y plot that corresponds to the tangent of the flattest part of a curve?
I have plots like the one attached. At Y >0, the curve plateaus (flattens) before it increases sharply. I need to find the ...

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

2

respuestas

Pregunta


Is there a simple way to omit legend entries?
I have plotted figures where there are numerous diagonal reference lines. I only need one line to appear in the legend. Howe...

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

1

respuesta

Respondida
How can I plot a reference line of slope 1 on a loglog plot?
Figured it out. xref = 10.^(-1:.1:3); yref = xref plot(xref,yref)

más de 3 años hace | 0

| aceptada

Pregunta


How can I plot a reference line of slope 1 on a loglog plot?
I am not an experienced Matlab user and would appreciate advice on adding diagonal reference lines to loglog plots. I.e., the l...

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

1

respuesta

Pregunta


Problem plotting 1D array versus table column: I want a single curve/series but am instead getting a separate series for every array element.
I have used Matlab's "Import Data" facility to import a single column of data from a file. I can plot it by doing this: plot(m...

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

1

respuesta

Pregunta


Is it possible to manipulate a plot axis; i.e., divide values by 1000 so that the x axis range is 0 to 300 instead of 0 to 300000 and also get rid of exponential notation?
I am making X–Y plots of results from very long simulations. Right now, my plots are unsightly because: The X axis goes from 1...

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Grid a plot with diagonal lines
I would like to plot a diagonal grid where there are three or four lines of positive slope=1 like in the figure attached. I don...

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


In a matrix column/array, how can I turn all numbers higher than a certain value into nans?
I have a 1 D array (column) of measured data (that I ultimately append to a matrix). I want to plot the data. There are numb...

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

1

respuesta

Pregunta


How to take an average of row elements in a two-column matrix when both elements do not contain a NaN, but use only the non-NaN value when there is a NaN?
I have a matrix with two columns of data. The data are measurements collected at the same times from different sensors, TT1 and...

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

1

respuesta

Pregunta


How can I concatenate a "datetime" column to a matrix of numbers?
I have imported a table from an external file via textscan. For example: A = rawCellColumns2(:, 1); B = cell2ma...

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

1

respuesta

Pregunta


For elements in two arrays/columns of numbers, how can I find the average only if both elements are non-zero?
I have many external files. Each file contains two long columns of numbers, like this: 1 2 11 12 6 48 9...

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

1

respuesta