Respondida
Why does the rate limiter's output change slower than the specified limit?
hmm I wonder if this is caused by having a variable step size what if you force to fixed step size ?

más de 2 años hace | 1

| aceptada

Respondida
How to plot spatial map of wind vectors according to a reference magnitude?
hello @ANKAN SARKAR I usually avoid doing this, but I ended up modifying slightly the original quiversc function (renamed here ...

más de 2 años hace | 0

| aceptada

Respondida
How to plot dynamic amount of contour plots within one figure
@Frederic von Altrock I modified a bit your combine function (see attachment) I am not sure I generated the best scenario here...

más de 2 años hace | 1

| aceptada

Respondida
How to plot dynamic amount of contour plots within one figure
here's a small demo code for you adapt to your data (horizontal or vertical concatenation depending if your data is row or col...

más de 2 años hace | 1

Enviada


Simple parameters fit for rotated 2D gaussian plot
A small demo to fit 2D gaussian data - No Toolbox required

más de 2 años hace | 4 descargas |

0.0 / 5
Thumbnail

Respondida
The commonly used chirp signal in papers is a complex signal. What formula is used to generate the real signal for the chirp() function in Matlab?
hello yes this is the general scientific definition of a chirp signal In signal processing applications, most of the time yo...

más de 2 años hace | 0

Respondida
Two figures in to two plots. I need to plot (the density Vs pressure) and ( the density vs. Temperature) for the data itself and using Peng Robinson model.
hello I finally plotted 3 figures as it was not clear to me is you wanted to use P or pPR as the pressure value . Anyway, I wa...

más de 2 años hace | 0

| aceptada

Respondida
Griddata - extrapolation beyond the Delaunay triangulation
hello to have access to extrapolation , use scatteredInterpolant instead of griddata A = [1114.74,419.09,139.578; 1102.49,44...

más de 2 años hace | 2

| aceptada

Respondida
How to write a double variable to a structure array
hello Alexandra (and welcome back ! ) I am unfortunately no xpert at all in gait so I am not sure to be able to answer the seco...

más de 2 años hace | 0

| aceptada

Respondida
Given a matrix of LATITUTDE, LONGITUDE, and ELEVATION data for a planet, how can I make a 3d mesh out of it?
hello I used this (excellent) Fex submission to plot your data : Surface Fitting using gridfit - File Exchange - MATLAB Centra...

más de 2 años hace | 0

Respondida
Use variable to find column in table
hello maybe this ? here we want to reset the B column m = 10, n = 3; t = array2table(rand(m,n),'VariableNames',{'A' 'B' 'C'...

más de 2 años hace | 0

Respondida
how to get one shape out of multiple shapes
hello try this x = double(X(:)); y = double(Y(:)); % remove nan id = isnan(x) & isnan(y); x(id) = []; y(id) = []; ...

más de 2 años hace | 1

Respondida
Heatmap log-ColorScaling and ColorLimits error
I don't know , maybe this ?? % Create log values and generate heatmap dim = 9; % just so the data labels show up x = logspac...

más de 2 años hace | 0

| aceptada

Respondida
Is it possible to Peakfit a matrix?
hello @Lindsey you should normally be able use one or several of the outputs (but I don't know what you want) FitResults,GOF...

más de 2 años hace | 0

| aceptada

Respondida
Create 30 minute bins by reading time stamps
hello this is certainly not the best and most modern way to solve your problem , but as I have not really started digging wit...

más de 2 años hace | 0

Respondida
How to find the similarities between two waveforms and point of deviation ?
hello according to my code , this time is : t_sep = 2.4913 NB that when you plot the data and decide to take the time inde...

más de 2 años hace | 0

Respondida
Find line containing word in a mixed format txt file
hello you could do this out = readcell('Doc1.txt'); eof = size(out,1); ind1 = find(contains(out,'output')); % extract v...

más de 2 años hace | 0

Respondida
To generate constant arc points on Archimedean Spiral
hello try this also I prefer to have R = 20; %outer radius a = 0; %inner radius instead of R = 0; %outer radius a ...

más de 2 años hace | 1

| aceptada

Respondida
How to plot contour of an xy plot with a constant value?
hello why not simply use xlim and ylim to plot the required area ? xy = readtable('xy_data.xlsx'); x1 = xy.x40; y1 = xy....

más de 2 años hace | 0

| aceptada

Respondida
Help with iterations over large file.
hello try this I choosed to store each Y array into a cell D=readlines('data.txt'); % read as string array [eof] = s...

más de 2 años hace | 0

Respondida
Smooth 2D colormap based on non-evenly distributed data
hello why not simply this ? see Fex submission : RegularizeData3D - File Exchange - MATLAB Central (mathworks.com) da...

más de 2 años hace | 1

Respondida
How to make an FRF with my accelerometer Data and FFT?
hello I got the correct result if I assume that your data is in g and not volts (so your analyser has already used the senso...

más de 2 años hace | 2

| aceptada

Respondida
How to draw a 3D surface with all the given discrete points?
hello of course I tried the standard solutions (surfir, griddata etc...) but as your shape is very specific , therefore also a...

más de 2 años hace | 0

| aceptada

Respondida
Dual axis plot for the same data, left = linear -1 0 +1, right side= linear in dB -0db inf +0db
hello something like that ? % dual plot (linear scale left , dB scale right) yleft_ticks = (-1:0.1:1); yleft_ticks_labels ...

más de 2 años hace | 0

| aceptada

Respondida
I want to Fourier transform the 'y' function using Euler's formulas.
here you are my friend : clc x = [-pi:pi/10:pi]; sum=0; y1=0; for k=1:100 y1=(((cos(k*pi)-1).*cos(k*x))./(-pi*(k^2)))...

más de 2 años hace | 1

| aceptada

Respondida
How can I merge different .nc files related to different time steps?
hello @bhakti here you have your u and v velcocity data stored in 4D arrays u_out and v_out as requested I tried my code with...

más de 2 años hace | 0

| aceptada

Respondida
How to get data points from graph
hello the main code is very simple (use the attached function - credits to his creator !) https://www.mathworks.com/matlabcen...

más de 2 años hace | 0

Respondida
Finding neutral axis for arbitrary 2d shape - aerofoil
hello @Selina the equations are still valid , see below how we can use them : result code : u = readmatrix('upper.txt...

más de 2 años hace | 1

| aceptada

Respondida
how can I smooth the graph for a set of varying data points??
hello maybe this ? (I optd for a exponential fit of your lattice data) data1 = readmatrix('lattice vs time plot.xlsx'); x1...

más de 2 años hace | 0

| aceptada

Respondida
Line of Best Fit for a time series plot
hello I am not working that much with timeseries , but IMHO, you could do the polyfit first on the raw data , otherwise you ca...

más de 2 años hace | 0

Cargar más