Answered
How do I hold a value in Simulink for the rest of the simulation time?
hello this would be my suggestion , using only a delay (or memory ) block associated with a conditionnal block when t>= you...

3 months ago | 0

| accepted

Answered
box plot from timetable data
hello Giulia you can do a box plot directly with timetable data example : % Create a sample timetable time = datetime({'...

3 months ago | 0

| accepted

Answered
Group multiple lines to one "object" and be able to "toggle" on or off
hello To group multiple lines into a single "object" in MATLAB, you can use a hggroup or hgtransform object. here your code...

3 months ago | 0

| accepted

Answered
How to interpolate 10 csv files with different x,y,z into a common grid and average them in MATLAB?
hello again this would be my suggestion : once we have loaded all the data , we can see the shape looks pretty much like a p...

3 months ago | 1

| accepted

Answered
How to generate a torus structure in MATLAB similar to Minecraft builds?
hello Sarah maybe this ? to create the initail mesh I used this fex submission : Mesh/Voxel spheres, ellipsoids, toroids, an...

3 months ago | 0

Answered
Finding peaks and valleys, and associated indexes, of time-shifted noisy sinosidal waves
Following my first comment above , this could be another approach extract blocks of data (you need to find the start and stop ...

3 months ago | 1

Answered
Selecting smaller grid from a grid to create a video
hello Andrew see this code demo to read the video , extratct each frame then crop the unwanted borders and save back to a vide...

3 months ago | 0

| accepted

Answered
How to populate tiles using the next tile command with a variable number of data and a variable number of plots
hello seems to me the question is more about how to prepare / concatenate your individual data - either something very simpl...

3 months ago | 0

| accepted

Answered
Subtract a gain value in dB from rfplot
see last section of this help : retrieve the appropriate value to the gain output. In MATLAB, the rfplot function is used to ...

3 months ago | 0

Answered
how to control the transparency of quiver
hello either you use your own alternative to plot arrows with transparency control (see the Fex) or just simply put your qui...

4 months ago | 0

Answered
Signal separation of displacement multimodal superposition in structural dynamics
hello you could do that : clc; clear; L = 10; v = 1; A1 = 1; A2 = 0.1; x...

5 months ago | 1

Answered
Why is the smoothing effect of【 pcolor() shading interp 】worse on 2025a than the old version 2023b
hello maybe a temporary work around could be here to resample the data on a finer grid seems to me the interpolated data pco...

5 months ago | 1

Answered
Trying to determine locations of markers in image
hello maybe this ? not perfect but you may refine it and get as much dots as we / you can % Read the grayscale image img =...

5 months ago | 0

| accepted

Answered
data values are changing when I try to put markers, line width etc.
hello instead of calling semilogy inside the for loop simply use the regular plot and after the for loop ask for log Y scalin...

5 months ago | 0

| accepted

Answered
Extracting spot coordinates from an given line in an image for an almost regular hex pattern of spots but when there is a slight tilt on Y coordinate values.
hello again maybe you could implement this method : %% create some dummy pattern of centroids % center of image (central s...

5 months ago | 0

| accepted

Answered
Transforming graphs horizontally and vertically to properly compare
hello so I decided to do some x shift on your data based on the 3 major peaks x locs you can use the regular findpeaks but I...

5 months ago | 1

| accepted

Answered
Real Time System Identification Problem
hello again well this is only a first rapid trial... without big success unfortunetaly (and I wished you had also posted you...

5 months ago | 0

Answered
How can I calculate the power spectral density of a gaussian pulse?
Gaussian Pulse - FFT & PSD in Matlab & Python - GaussianWaves

6 months ago | 1

Answered
How to have a same size of the image with out distortion in a subplot along with the graph?
hello there is a very detailled example here how to manage subplots dimensions (if you want to master it) How do you match t...

6 months ago | 1

| accepted

Answered
How to create a concave signal step/ramp in Simulink?
hello again attached a small demo simulink file in blue I highlighted the first order system based on a simple recursive equ...

6 months ago | 0

| accepted

Answered
Plotting level sets of a function on a triangulated surface.
hello this is maybe not yet the perfect solution, but ....you can get your curves as 3D points , isolated in separate clusters...

6 months ago | 0

| accepted

Answered
Annotation text box appears fuzzy
hello according to the doc TextBox - Text box appearance and behavior - MATLAB you can tweak the properties of the box , f...

6 months ago | 0

Answered
How do you match the width of figures in a tiledlayout when using axis equal?
hello well using axis equal will give you different tile widths according to your data range, so for me, there is a conflict be...

6 months ago | 2

Answered
imfindcircles doesn't work
hello let's try with your image AA = imread('circle.png'); AA = rgb2gray(AA); BW = imbinarize(AA); [B,L,N] = bwboundarie...

6 months ago | 0

| accepted

Answered
Low frequency results using poctave
hello right, poctave does not go below 3 Hz in the best case and that's already low enough for acoustics (normally) unless y...

6 months ago | 0

Answered
How can I plot an impulse (sech(x)) consisting of 2002 points, where last 1001 point are zeros?
hello if you have a recent release (Since R2023b) you can use paddata : here we pad the four first non zero values (your first...

6 months ago | 1

| accepted

Answered
Avoiding zeros doesnt wrok while plotiing from a data file.
hello one method is to use interpolation to fill the voids (NaN) % Example data with NaN values x = 1:10; y = sin([1, 2, N...

6 months ago | 0

| accepted

Answered
Waterfall diagram and fft for a vibration of an electric motor
hello again this is a demo based on your previously posted data (could not load the one in this post) spectrogram + time plo...

6 months ago | 0

| accepted

Answered
How can I extract the crack from the noise and human drawn grid lines?
the crack detection topic is not a new subject... maybe you should try one of these solutions (quick search) : Crack detection...

6 months ago | 1

Answered
How can I make the surface plot (surf) look less shifty between plotted distributions?
hello It took me some time to understand what causes these "slides" what was a bit annoying me is that your X data (dia matr...

6 months ago | 0

| accepted

Load more