Beantwortet
Change colour on grid
hello Andrew one solution is to overlay two mesh plots and ask for the second to have a single bright color (here red) eithe...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Simulink Repeating Sequence giving unexpected Results
hello this is probably due to your choice of solver - what are your options ? I opted for a fixed (discrete) sampling with sa...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Spatial Frequency (FFT) estimation from image intensity profiles
hello and welcome back let's try it with fft (have a doubt you will get a more accurate result though) the results are in ac...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Improve STFT Plot Clarity
hello @Abo and welcome back ! fist idea with STFT is to maximize the overlap , but anyway the STFT has not the best performan...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Fringe spacing and frequency from image
hello this is maybe a bit oversimplified but I assumed that I would not make a big error by considering that the fringes are p...

mehr als ein Jahr vor | 2

| akzeptiert

Beantwortet
Comment afficher une valeur en fraction?
Bonjour @KINGANGA voici une possibilité : % Given decimal number decimalNumber = 0.33333333333; % Find the closest intege...

mehr als ein Jahr vor | 0

Beantwortet
How do I find the corner points of an mask
hello let's try with detectHarrisFeatures : not really super efficient I admit , I will propose alternatives ... im = imrea...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Problems encountered when using sph2cart
hello I could not find any quiver issue (tried to reproduce it my way) , but at the end I suspected maybe you need to invert t...

mehr als ein Jahr vor | 0

Beantwortet
How to specify the color of each face independently? Either using plot3 or waterfall plot
let's try something %Data x = [3 4 5 6 7 8]; y = 1:10; z = [0.557668282000000 0.338441078000000 0.234647830000000 0.1715715...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
how to print a table with hearders all aligned to the center of each column
see attached a nice formatting piece of code for this job example code : data = 1e2.*rand(5,4); fmt = {'%.3g'}; col_header...

mehr als ein Jahr vor | 0

Beantwortet
How to shift lines to their correction positions (I need to correct figure)
so finally and hopefully I found somehow a path to the solution first problem was to find the best position and slopes for the...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Bivariate colorscale for color plot
hello maybe this ? I simply assumed for the demo that f and g would be describing a circle in a 2D space the second plot is...

mehr als ein Jahr vor | 1

Beantwortet
3d plot with +Y up and +Z left
well if nothing works as expected I would probably end up doing a small function that plots my own referential as big X,Y,Z arr...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Writing a loop to compute Indices
hello see basic demo below select which option you want overlap = 0*buffer_size; % overlap expressed in samples (a. For th...

mehr als ein Jahr vor | 0

Beantwortet
Spider Plot with Standard Deviation as shaded region
hello again I just created a quick and dirty slightly modified function (sorry for messing it ! ) , so I could suggest this - ...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
SDOF time history analysis
if you need a code to perform some spectral analysis and integration (to get velocity and displacement) you can try this : ...

mehr als ein Jahr vor | 0

Beantwortet
Correct way to calculate the dominant frequency of time series signal?
hello I was happy at the beginning to share this code , but your signal is so short (in terms of how many cycles are in the wh...

mehr als ein Jahr vor | 0

Beantwortet
how to plot all zeros on xaxis?
hello this could be one solution, but it's very basic (for the moment) as all x points are displayed with the same spacing , w...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to get the values of x axis only visible at the bottom subplots?
hello maybe this ? (all credits to this answer , adapted to your question : Plot - Remove axis ticks but keep grid lines - MA...

mehr als ein Jahr vor | 0

Beantwortet
Help with code to fit a BlackBody to data to find temperature
hello seems to me this was a minor issue in the way you code BB, do not use at the same time T as an array and a variable in t...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
An update about my Code
hello Danny that looks quite similar to another answer of mine : Read values from fvtool graph - MATLAB Answers - MATLAB Cen...

mehr als ein Jahr vor | 0

Beantwortet
How to use pwm with lqr controller?
hello again I am not sure what it brings here to convert your linear outputs to pwm , but a simple demo below if you want to t...

mehr als ein Jahr vor | 0

Beantwortet
How can I replicate this plot using the supplied equations?
hello do you mean the last plot ? here a simple code that replicate it : (there is still a bit of work if you want all the...

mehr als ein Jahr vor | 0

Beantwortet
Enter multiple values for a single variable
hello and welcome back after all this time In my eyes you are not solving an equation you just computing the numerical output ...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Data must be a single matrix Y or a list of pairs X,Y
hello maybe this ? I prefer to avoid using i and j as loop indexes as those letters usually are reserved as the iamginary un...

mehr als ein Jahr vor | 0

Beantwortet
Overfitting of computational model in experimental data
hello fminsearch can be quite sensitive to IC, so even a slightly sub optimal IC value can lead to lack of performance / robus...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Read values from fvtool graph
hello I am not sure you can retrieve the data (mag,phase) from fvtool object , but you can use freqz instead now both code b...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
islocalmax2: problems understanding 'MinProminence'
hello just fyi I tried with this fex submission (and no smoothing ) peaks2 - find peaks in 2D data without additional toolbox...

mehr als ein Jahr vor | 0

Beantwortet
How to make a curve fill the whole plotspace
hello try this : have log spaced x vector (with power of 10 limits) should do the job (fastest fix) and 500 to 1000 points ...

mehr als ein Jahr vor | 0

Beantwortet
extract data from a 3D matrix using a window
hello there is one Q array per startInd value so either you use Q in a for loop without indexing (if you can tolerate to overw...

mehr als ein Jahr vor | 0

Mehr laden