Answered
Why do I get "Array indices must be positive integers or logical values" when I am trying to plot my functions?
hello 1/ matlab is a language where indexing is 1 based and not zero based 2/ next correction is that y must be computed once...

2 months ago | 1

| accepted

Answered
Narrow band to third octave band conversion
hello I think I already answered a very similar question in the past anyhow , this is one liitle function I wrote long time ...

2 months ago | 0

Answered
Inquiry of file name as string format for Lua
hello you can do a horizontal concatenation of char or string using strcat Concaténer les chaînes de caractères horizontaleme...

2 months ago | 0

| accepted

Answered
Cycle by Cycle Average of switching signal in SIMULINK
hello I would suggest that any well designed low pass filter after the PWM signal should give you the original waveform here ...

2 months ago | 0

| accepted

Answered
MATLAB's boundary function does not return the boundaries of the polygon
with the Fex submission i mentionned above Boundary extraction (identification and tracing) from point cloud data - File Exchan...

2 months ago | 0

| accepted

Answered
How to make distubance like this?
looks like a square wave modulated by an decaying exponential envelope fine tune the parameters to your own needs : tau = 0.1...

2 months ago | 0

| accepted

Answered
rmoutliers and graph of the cleaned data
hello @Giuseppe Zumbo for the time being I have not used any fancy outlier removal technique , it's simply field engineer's bra...

2 months ago | 1

Answered
create image from timeseries data
hum , maybe it's because image processing is not my everyday activity but unless I have misunderstood the project you want to cr...

2 months ago | 1

| accepted

Answered
Extract the relative amplitude from various signals to a matrix for a powerspectrum plot
hello Anika this is a starter... I modified a bit your code so I could easily make it work on my side . Simply comment the lin...

2 months ago | 0

Answered
Indexing into a loop
hello I did quite a few modifications / simplifications there are several variables that seem to never be used , so I comment...

2 months ago | 1

| accepted

Answered
Limited band white noise block simulink
hello as the doc says , the Band-Limited White Noise block produces output at a specific sample rate, which is related to the ...

2 months ago | 0

Answered
How to project a N*N matrix on a circular shape without loosing any data?
hello maybe this ? % your temperature data N = 60; temp_data = 50+10*peaks(N); % Generate basic cylinder t = (0:2*pi:2...

2 months ago | 0

Answered
Edit colormap based on value
hello map the C as in the example below : [X,Y,Z] = peaks(100); Z = 0.5+0.25*abs(Z); % modify here the magnification factor...

2 months ago | 0

Answered
Why the resolution of the plot is bad when I plot longer data?
Hello your line is probably too thick so change this parameter in this line plot(tj2,zl,'b-','linewidth',1);%,'markersize'...

2 months ago | 0

Answered
Improving the interpolation of nodes arranged in a circle on a plane
hello Alberto try this - I think it's easier once you work in polar coordinates. I am not sure to understand by "is it possi...

2 months ago | 2

Answered
Fitting an ellipse based 3D PointCloud on 3D space
hello this is what I can offer you today you need to download this Fex submission for the last part of my code (or simply us...

2 months ago | 1

Answered
Obtaining max value from cyclic data
hello I don't understand your logic ... why do we need to make comparisons with anotehr result ( With this code, I am only get...

2 months ago | 0

Answered
Problem with fitting a loglog plot
hello I knew even before opening your data that there would be a zero somewhere ... bingo ! so it works better once you have ...

2 months ago | 0

| accepted

Answered
Piece-wise non-linear fitting with fminsearch - issue with quadratic function
as announced above in the teaser , please find now the full code with fminsearch for the fine tuning I tooked a while to make ...

2 months ago | 1

| accepted

Answered
How do i dynamically scale the power colors in a spectrogram to only mark the top 50% of values?
hello according to the doc you can also use [p,f] = pspectrum(___) then the max value (at any time and frequency) is given...

2 months ago | 0

| accepted

Answered
xline - draw a partial line
hello I am not aware that a special version of xline exist , but you can do your own special xline like that (a very crude and...

3 months ago | 0

Answered
Shaker Testting data - Plot sweep sinusoid in frequency domain
hello again see demo below for a time domain approach % dummy data n = 1000; t = (0:n-1)/n; y = (1+ sin(pi*t/max(t))).*si...

3 months ago | 1

| accepted

Answered
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 ?

3 months ago | 1

| accepted

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

3 months ago | 0

| accepted

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

3 months ago | 1

| accepted

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

3 months ago | 1

Submitted


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

3 months ago | 2 downloads |

Thumbnail

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

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 1

| accepted

Load more