Answered
Fill the graph with legend
hello patch or fill can be used for the job here an example with fill % dummy data x = 0:50; y = exp(-x/10) ; inter = 1;...

3 months ago | 0

Answered
I am trying to do bilinear curve fitting of capacity curve using FEMA-356 procedure. I am providing the data in excel format of the curve.
hello @Mark Cuanan and welcome back so this is it - still there could be some improvement in the code like putting the big po...

3 months ago | 0

| accepted

Answered
error size regarding contour plot
hello I believe this is what you wanted to do I don't see why you needed the reshape action unzip('Simulation.zip'); fi...

3 months ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 months ago | 1

Submitted


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

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

4 months ago | 0

Load more