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

etwa 2 Jahre vor | 0

| akzeptiert

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

etwa 2 Jahre vor | 1

| akzeptiert

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

etwa 2 Jahre vor | 1

Gesendet


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

mehr als 2 Jahre vor | 4 Downloads |

0.0 / 5
Thumbnail

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 2

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

Beantwortet
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) = []; ...

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 1

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 2

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 1

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 1

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

Beantwortet
Combine figures with subplots in new figure with subplots
hello Paul like this ? % Create first figure hf_sub(1) = figure(1); hp(1) = uipanel('Parent',hf_sub(1),'Position',[0 0 1 ...

mehr als 2 Jahre vor | 0

| akzeptiert

Mehr laden